Skip to content

Commit

Permalink
oauth2: removed implicit storage as its never used - closes ory#165 (o…
Browse files Browse the repository at this point in the history
…ry#171)

Signed-off-by: Michael Boke <michael.boke@gmail.com>
  • Loading branch information
budougumi0617 committed May 22, 2017
1 parent 4f92dc7 commit ab58468
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 55 deletions.
1 change: 0 additions & 1 deletion generate-mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ mockgen -package internal -destination internal/access_token_storage.go github.c
mockgen -package internal -destination internal/refresh_token_strategy.go github.com/ory/fosite/handler/oauth2 RefreshTokenStorage
mockgen -package internal -destination internal/oauth2_client_storage.go github.com/ory/fosite/handler/oauth2 ClientCredentialsGrantStorage
mockgen -package internal -destination internal/oauth2_explicit_storage.go github.com/ory/fosite/handler/oauth2 AuthorizeCodeGrantStorage
mockgen -package internal -destination internal/oauth2_implicit_storage.go github.com/ory/fosite/handler/oauth2 ImplicitGrantStorage
mockgen -package internal -destination internal/oauth2_owner_storage.go github.com/ory/fosite/handler/oauth2 ResourceOwnerPasswordCredentialsGrantStorage
mockgen -package internal -destination internal/oauth2_refresh_storage.go github.com/ory/fosite/handler/oauth2 RefreshTokenGrantStorage
mockgen -package internal -destination internal/oauth2_revoke_storage.go github.com/ory/fosite/handler/oauth2 TokenRevocationStorage
Expand Down
2 changes: 1 addition & 1 deletion handler/oauth2/flow_authorize_implicit.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
type AuthorizeImplicitGrantTypeHandler struct {
AccessTokenStrategy AccessTokenStrategy

// ImplicitGrantStorage is used to persist session data across requests.
// AccessTokenStorage is used to persist session data across requests.
AccessTokenStorage AccessTokenStorage

// AccessTokenLifespan defines the lifetime of an access token.
Expand Down
11 changes: 0 additions & 11 deletions handler/oauth2/flow_authorize_implicit_storage.go

This file was deleted.

42 changes: 0 additions & 42 deletions internal/oauth2_implicit_storage.go

This file was deleted.

0 comments on commit ab58468

Please sign in to comment.