Skip to content

Commit

Permalink
fix(storage): remove unused methods (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Apr 6, 2020
1 parent d804da1 commit 023bdcf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions storage/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ func (s *MemoryStore) InvalidateAuthorizeCodeSession(ctx context.Context, code s
return nil
}

func (s *MemoryStore) DeleteAuthorizeCodeSession(_ context.Context, code string) error {
delete(s.AuthorizeCodes, code)
return nil
}

func (s *MemoryStore) CreatePKCERequestSession(_ context.Context, code string, req fosite.Requester) error {
s.PKCES[code] = req
return nil
Expand Down Expand Up @@ -248,11 +243,6 @@ func (s *MemoryStore) DeleteRefreshTokenSession(_ context.Context, signature str
return nil
}

func (s *MemoryStore) CreateImplicitAccessTokenSession(_ context.Context, code string, req fosite.Requester) error {
s.Implicit[code] = req
return nil
}

func (s *MemoryStore) Authenticate(_ context.Context, name string, secret string) error {
rel, ok := s.Users[name]
if !ok {
Expand Down

0 comments on commit 023bdcf

Please sign in to comment.