Skip to content

Commit

Permalink
Remove Implicit data member from memory store (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 authored May 26, 2020
1 parent 1de4b1d commit db12d12
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
- Hugo Gonzalez Labrador <[email protected]>
- Ilja Neumann <[email protected]>
- Ilja Neumann <[email protected]>
- Ishank Arora <[email protected]>
- Ishank Arora <[email protected]>
- Jörn Friedrich Dreyer <[email protected]>
- LovisaLugnegard <[email protected]>
Expand Down
1 change: 0 additions & 1 deletion internal/http/services/oidcprovider/oidcprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ func getStore(clients map[string]fosite.Client) *storage.MemoryStore {
IDSessions: make(map[string]fosite.Requester),
Clients: clients,
AuthorizeCodes: map[string]storage.StoreAuthorizeCode{},
Implicit: map[string]fosite.Requester{},
AccessTokens: map[string]fosite.Requester{},
RefreshTokens: map[string]fosite.Requester{},
PKCES: map[string]fosite.Requester{},
Expand Down
20 changes: 0 additions & 20 deletions internal/http/services/oidcprovider/sessions.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,26 +106,6 @@ func (s *svc) doSessions(w http.ResponseWriter, r *http.Request) {
return
}
}
// Implicit
_, err = w.Write([]byte(`</ul><p>Implicit</p><ul>`))
if err != nil {
log.Error().Err(err).Msg("Error writing response")
return
}
for id, c := range s.store.Implicit {
c := c
_, err := w.Write([]byte(fmt.Sprintf(`
<li>
%s: %#v
</li>`,

id, c,
)))
if err != nil {
log.Error().Err(err).Msg("Error writing response")
return
}
}
// RefreshTokens
_, err = w.Write([]byte(`</ul><p>RefreshTokens</p><ul>`))
if err != nil {
Expand Down

0 comments on commit db12d12

Please sign in to comment.