Documentation ¶
Index ¶
- func MustRSAKey() *rsa.PrivateKey
- type MockAccessRequester
- func (_m *MockAccessRequester) AppendRequestedScope(_param0 string)
- func (_m *MockAccessRequester) EXPECT() *_MockAccessRequesterRecorder
- func (_m *MockAccessRequester) GetClient() fosite.Client
- func (_m *MockAccessRequester) GetGrantTypes() fosite.Arguments
- func (_m *MockAccessRequester) GetGrantedScopes() fosite.Arguments
- func (_m *MockAccessRequester) GetID() string
- func (_m *MockAccessRequester) GetRequestForm() url.Values
- func (_m *MockAccessRequester) GetRequestedAt() time.Time
- func (_m *MockAccessRequester) GetRequestedScopes() fosite.Arguments
- func (_m *MockAccessRequester) GetSession() fosite.Session
- func (_m *MockAccessRequester) GrantScope(_param0 string)
- func (_m *MockAccessRequester) Merge(_param0 fosite.Requester)
- func (_m *MockAccessRequester) Sanitize(_param0 []string) fosite.Requester
- func (_m *MockAccessRequester) SetID(_param0 string)
- func (_m *MockAccessRequester) SetRequestedScopes(_param0 fosite.Arguments)
- func (_m *MockAccessRequester) SetSession(_param0 fosite.Session)
- type MockAccessResponder
- func (_m *MockAccessResponder) EXPECT() *_MockAccessResponderRecorder
- func (_m *MockAccessResponder) GetAccessToken() string
- func (_m *MockAccessResponder) GetExtra(_param0 string) interface{}
- func (_m *MockAccessResponder) GetTokenType() string
- func (_m *MockAccessResponder) SetAccessToken(_param0 string)
- func (_m *MockAccessResponder) SetExpiresIn(_param0 time.Duration)
- func (_m *MockAccessResponder) SetExtra(_param0 string, _param1 interface{})
- func (_m *MockAccessResponder) SetScopes(_param0 fosite.Arguments)
- func (_m *MockAccessResponder) SetTokenType(_param0 string)
- func (_m *MockAccessResponder) ToMap() map[string]interface{}
- type MockAccessTokenStorage
- func (_m *MockAccessTokenStorage) CreateAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockAccessTokenStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockAccessTokenStorage) EXPECT() *_MockAccessTokenStorageRecorder
- func (_m *MockAccessTokenStorage) GetAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- type MockAccessTokenStrategy
- func (_m *MockAccessTokenStrategy) AccessTokenSignature(_param0 string) string
- func (_m *MockAccessTokenStrategy) EXPECT() *_MockAccessTokenStrategyRecorder
- func (_m *MockAccessTokenStrategy) GenerateAccessToken(_param0 context.Context, _param1 fosite.Requester) (string, string, error)
- func (_m *MockAccessTokenStrategy) ValidateAccessToken(_param0 context.Context, _param1 fosite.Requester, _param2 string) error
- type MockAuthorizeCodeGrantStorage
- func (_m *MockAuthorizeCodeGrantStorage) CreateAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockAuthorizeCodeGrantStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error
- func (_m *MockAuthorizeCodeGrantStorage) EXPECT() *_MockAuthorizeCodeGrantStorageRecorder
- func (_m *MockAuthorizeCodeGrantStorage) GetAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockAuthorizeCodeGrantStorage) PersistAuthorizeCodeGrantSession(_param0 context.Context, _param1 string, _param2 string, _param3 string, ...) error
- type MockAuthorizeCodeStorage
- func (_m *MockAuthorizeCodeStorage) CreateAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockAuthorizeCodeStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error
- func (_m *MockAuthorizeCodeStorage) EXPECT() *_MockAuthorizeCodeStorageRecorder
- func (_m *MockAuthorizeCodeStorage) GetAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- type MockAuthorizeCodeStrategy
- func (_m *MockAuthorizeCodeStrategy) AuthorizeCodeSignature(_param0 string) string
- func (_m *MockAuthorizeCodeStrategy) EXPECT() *_MockAuthorizeCodeStrategyRecorder
- func (_m *MockAuthorizeCodeStrategy) GenerateAuthorizeCode(_param0 context.Context, _param1 fosite.Requester) (string, string, error)
- func (_m *MockAuthorizeCodeStrategy) ValidateAuthorizeCode(_param0 context.Context, _param1 fosite.Requester, _param2 string) error
- type MockAuthorizeEndpointHandler
- type MockAuthorizeRequester
- func (_m *MockAuthorizeRequester) AppendRequestedScope(_param0 string)
- func (_m *MockAuthorizeRequester) DidHandleAllResponseTypes() bool
- func (_m *MockAuthorizeRequester) EXPECT() *_MockAuthorizeRequesterRecorder
- func (_m *MockAuthorizeRequester) GetClient() fosite.Client
- func (_m *MockAuthorizeRequester) GetGrantedScopes() fosite.Arguments
- func (_m *MockAuthorizeRequester) GetID() string
- func (_m *MockAuthorizeRequester) GetRedirectURI() *url.URL
- func (_m *MockAuthorizeRequester) GetRequestForm() url.Values
- func (_m *MockAuthorizeRequester) GetRequestedAt() time.Time
- func (_m *MockAuthorizeRequester) GetRequestedScopes() fosite.Arguments
- func (_m *MockAuthorizeRequester) GetResponseTypes() fosite.Arguments
- func (_m *MockAuthorizeRequester) GetSession() fosite.Session
- func (_m *MockAuthorizeRequester) GetState() string
- func (_m *MockAuthorizeRequester) GrantScope(_param0 string)
- func (_m *MockAuthorizeRequester) IsRedirectURIValid() bool
- func (_m *MockAuthorizeRequester) Merge(_param0 fosite.Requester)
- func (_m *MockAuthorizeRequester) Sanitize(_param0 []string) fosite.Requester
- func (_m *MockAuthorizeRequester) SetID(_param0 string)
- func (_m *MockAuthorizeRequester) SetRequestedScopes(_param0 fosite.Arguments)
- func (_m *MockAuthorizeRequester) SetResponseTypeHandled(_param0 string)
- func (_m *MockAuthorizeRequester) SetSession(_param0 fosite.Session)
- type MockAuthorizeResponder
- func (_m *MockAuthorizeResponder) AddFragment(_param0 string, _param1 string)
- func (_m *MockAuthorizeResponder) AddHeader(_param0 string, _param1 string)
- func (_m *MockAuthorizeResponder) AddQuery(_param0 string, _param1 string)
- func (_m *MockAuthorizeResponder) EXPECT() *_MockAuthorizeResponderRecorder
- func (_m *MockAuthorizeResponder) GetCode() string
- func (_m *MockAuthorizeResponder) GetFragment() url.Values
- func (_m *MockAuthorizeResponder) GetHeader() http.Header
- func (_m *MockAuthorizeResponder) GetQuery() url.Values
- type MockClient
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) GetGrantTypes() fosite.Arguments
- func (_m *MockClient) GetHashedSecret() []byte
- func (_m *MockClient) GetID() string
- func (_m *MockClient) GetRedirectURIs() []string
- func (_m *MockClient) GetResponseTypes() fosite.Arguments
- func (_m *MockClient) GetScopes() fosite.Arguments
- func (_m *MockClient) IsPublic() bool
- type MockClientCredentialsGrantStorage
- func (_m *MockClientCredentialsGrantStorage) CreateAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockClientCredentialsGrantStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockClientCredentialsGrantStorage) EXPECT() *_MockClientCredentialsGrantStorageRecorder
- func (_m *MockClientCredentialsGrantStorage) GetAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- type MockCoreStorage
- func (_m *MockCoreStorage) CreateAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockCoreStorage) CreateAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockCoreStorage) CreateRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockCoreStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockCoreStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error
- func (_m *MockCoreStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockCoreStorage) EXPECT() *_MockCoreStorageRecorder
- func (_m *MockCoreStorage) GetAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockCoreStorage) GetAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockCoreStorage) GetRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- type MockCoreStrategy
- func (_m *MockCoreStrategy) AccessTokenSignature(_param0 string) string
- func (_m *MockCoreStrategy) AuthorizeCodeSignature(_param0 string) string
- func (_m *MockCoreStrategy) EXPECT() *_MockCoreStrategyRecorder
- func (_m *MockCoreStrategy) GenerateAccessToken(_param0 context.Context, _param1 fosite.Requester) (string, string, error)
- func (_m *MockCoreStrategy) GenerateAuthorizeCode(_param0 context.Context, _param1 fosite.Requester) (string, string, error)
- func (_m *MockCoreStrategy) GenerateRefreshToken(_param0 context.Context, _param1 fosite.Requester) (string, string, error)
- func (_m *MockCoreStrategy) RefreshTokenSignature(_param0 string) string
- func (_m *MockCoreStrategy) ValidateAccessToken(_param0 context.Context, _param1 fosite.Requester, _param2 string) error
- func (_m *MockCoreStrategy) ValidateAuthorizeCode(_param0 context.Context, _param1 fosite.Requester, _param2 string) error
- func (_m *MockCoreStrategy) ValidateRefreshToken(_param0 context.Context, _param1 fosite.Requester, _param2 string) error
- type MockHasher
- type MockOpenIDConnectRequestStorage
- func (_m *MockOpenIDConnectRequestStorage) CreateOpenIDConnectSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession(_param0 context.Context, _param1 string) error
- func (_m *MockOpenIDConnectRequestStorage) EXPECT() *_MockOpenIDConnectRequestStorageRecorder
- func (_m *MockOpenIDConnectRequestStorage) GetOpenIDConnectSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) (fosite.Requester, error)
- type MockOpenIDConnectTokenStrategy
- type MockPKCERequestStorage
- func (_m *MockPKCERequestStorage) CreatePKCERequestSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockPKCERequestStorage) DeletePKCERequestSession(_param0 context.Context, _param1 string) error
- func (_m *MockPKCERequestStorage) EXPECT() *_MockPKCERequestStorageRecorder
- func (_m *MockPKCERequestStorage) GetPKCERequestSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- type MockRefreshTokenGrantStorage
- func (_m *MockRefreshTokenGrantStorage) CreateRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockRefreshTokenGrantStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockRefreshTokenGrantStorage) EXPECT() *_MockRefreshTokenGrantStorageRecorder
- func (_m *MockRefreshTokenGrantStorage) GetRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockRefreshTokenGrantStorage) PersistRefreshTokenGrantSession(_param0 context.Context, _param1 string, _param2 string, _param3 string, ...) error
- type MockRefreshTokenStrategy
- func (_m *MockRefreshTokenStrategy) EXPECT() *_MockRefreshTokenStrategyRecorder
- func (_m *MockRefreshTokenStrategy) GenerateRefreshToken(_param0 context.Context, _param1 fosite.Requester) (string, string, error)
- func (_m *MockRefreshTokenStrategy) RefreshTokenSignature(_param0 string) string
- func (_m *MockRefreshTokenStrategy) ValidateRefreshToken(_param0 context.Context, _param1 fosite.Requester, _param2 string) error
- type MockRequester
- func (_m *MockRequester) AppendRequestedScope(_param0 string)
- func (_m *MockRequester) EXPECT() *_MockRequesterRecorder
- func (_m *MockRequester) GetClient() fosite.Client
- func (_m *MockRequester) GetGrantedScopes() fosite.Arguments
- func (_m *MockRequester) GetID() string
- func (_m *MockRequester) GetRequestForm() url.Values
- func (_m *MockRequester) GetRequestedAt() time.Time
- func (_m *MockRequester) GetRequestedScopes() fosite.Arguments
- func (_m *MockRequester) GetSession() fosite.Session
- func (_m *MockRequester) GrantScope(_param0 string)
- func (_m *MockRequester) Merge(_param0 fosite.Requester)
- func (_m *MockRequester) Sanitize(_param0 []string) fosite.Requester
- func (_m *MockRequester) SetID(_param0 string)
- func (_m *MockRequester) SetRequestedScopes(_param0 fosite.Arguments)
- func (_m *MockRequester) SetSession(_param0 fosite.Session)
- type MockResourceOwnerPasswordCredentialsGrantStorage
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) Authenticate(_param0 context.Context, _param1 string, _param2 string) error
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) CreateAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) CreateRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) EXPECT() *_MockResourceOwnerPasswordCredentialsGrantStorageRecorder
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) GetAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) GetRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- type MockResponseWriter
- type MockRevocationHandler
- type MockStorage
- type MockTokenEndpointHandler
- func (_m *MockTokenEndpointHandler) EXPECT() *_MockTokenEndpointHandlerRecorder
- func (_m *MockTokenEndpointHandler) HandleTokenEndpointRequest(_param0 context.Context, _param1 fosite.AccessRequester) error
- func (_m *MockTokenEndpointHandler) PopulateTokenEndpointResponse(_param0 context.Context, _param1 fosite.AccessRequester, ...) error
- type MockTokenIntrospector
- type MockTokenRevocationStorage
- func (_m *MockTokenRevocationStorage) CreateAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockTokenRevocationStorage) CreateRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error
- func (_m *MockTokenRevocationStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockTokenRevocationStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
- func (_m *MockTokenRevocationStorage) EXPECT() *_MockTokenRevocationStorageRecorder
- func (_m *MockTokenRevocationStorage) GetAccessTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockTokenRevocationStorage) GetRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)
- func (_m *MockTokenRevocationStorage) RevokeAccessToken(_param0 context.Context, _param1 string) error
- func (_m *MockTokenRevocationStorage) RevokeRefreshToken(_param0 context.Context, _param1 string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRSAKey ¶
func MustRSAKey() *rsa.PrivateKey
Types ¶
type MockAccessRequester ¶
type MockAccessRequester struct {
// contains filtered or unexported fields
}
Mock of AccessRequester interface
func NewMockAccessRequester ¶
func NewMockAccessRequester(ctrl *gomock.Controller) *MockAccessRequester
func (*MockAccessRequester) AppendRequestedScope ¶ added in v0.2.0
func (_m *MockAccessRequester) AppendRequestedScope(_param0 string)
func (*MockAccessRequester) EXPECT ¶
func (_m *MockAccessRequester) EXPECT() *_MockAccessRequesterRecorder
func (*MockAccessRequester) GetClient ¶
func (_m *MockAccessRequester) GetClient() fosite.Client
func (*MockAccessRequester) GetGrantTypes ¶
func (_m *MockAccessRequester) GetGrantTypes() fosite.Arguments
func (*MockAccessRequester) GetGrantedScopes ¶
func (_m *MockAccessRequester) GetGrantedScopes() fosite.Arguments
func (*MockAccessRequester) GetID ¶ added in v0.4.0
func (_m *MockAccessRequester) GetID() string
func (*MockAccessRequester) GetRequestForm ¶
func (_m *MockAccessRequester) GetRequestForm() url.Values
func (*MockAccessRequester) GetRequestedAt ¶
func (_m *MockAccessRequester) GetRequestedAt() time.Time
func (*MockAccessRequester) GetRequestedScopes ¶ added in v0.2.0
func (_m *MockAccessRequester) GetRequestedScopes() fosite.Arguments
func (*MockAccessRequester) GetSession ¶
func (_m *MockAccessRequester) GetSession() fosite.Session
func (*MockAccessRequester) GrantScope ¶
func (_m *MockAccessRequester) GrantScope(_param0 string)
func (*MockAccessRequester) Merge ¶
func (_m *MockAccessRequester) Merge(_param0 fosite.Requester)
func (*MockAccessRequester) Sanitize ¶ added in v0.17.0
func (_m *MockAccessRequester) Sanitize(_param0 []string) fosite.Requester
func (*MockAccessRequester) SetID ¶ added in v0.15.0
func (_m *MockAccessRequester) SetID(_param0 string)
func (*MockAccessRequester) SetRequestedScopes ¶ added in v0.2.0
func (_m *MockAccessRequester) SetRequestedScopes(_param0 fosite.Arguments)
func (*MockAccessRequester) SetSession ¶
func (_m *MockAccessRequester) SetSession(_param0 fosite.Session)
type MockAccessResponder ¶
type MockAccessResponder struct {
// contains filtered or unexported fields
}
Mock of AccessResponder interface
func NewMockAccessResponder ¶
func NewMockAccessResponder(ctrl *gomock.Controller) *MockAccessResponder
func (*MockAccessResponder) EXPECT ¶
func (_m *MockAccessResponder) EXPECT() *_MockAccessResponderRecorder
func (*MockAccessResponder) GetAccessToken ¶
func (_m *MockAccessResponder) GetAccessToken() string
func (*MockAccessResponder) GetExtra ¶
func (_m *MockAccessResponder) GetExtra(_param0 string) interface{}
func (*MockAccessResponder) GetTokenType ¶
func (_m *MockAccessResponder) GetTokenType() string
func (*MockAccessResponder) SetAccessToken ¶
func (_m *MockAccessResponder) SetAccessToken(_param0 string)
func (*MockAccessResponder) SetExpiresIn ¶
func (_m *MockAccessResponder) SetExpiresIn(_param0 time.Duration)
func (*MockAccessResponder) SetExtra ¶
func (_m *MockAccessResponder) SetExtra(_param0 string, _param1 interface{})
func (*MockAccessResponder) SetScopes ¶
func (_m *MockAccessResponder) SetScopes(_param0 fosite.Arguments)
func (*MockAccessResponder) SetTokenType ¶
func (_m *MockAccessResponder) SetTokenType(_param0 string)
func (*MockAccessResponder) ToMap ¶
func (_m *MockAccessResponder) ToMap() map[string]interface{}
type MockAccessTokenStorage ¶
type MockAccessTokenStorage struct {
// contains filtered or unexported fields
}
Mock of AccessTokenStorage interface
func NewMockAccessTokenStorage ¶
func NewMockAccessTokenStorage(ctrl *gomock.Controller) *MockAccessTokenStorage
func (*MockAccessTokenStorage) CreateAccessTokenSession ¶
func (*MockAccessTokenStorage) DeleteAccessTokenSession ¶
func (_m *MockAccessTokenStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
func (*MockAccessTokenStorage) EXPECT ¶
func (_m *MockAccessTokenStorage) EXPECT() *_MockAccessTokenStorageRecorder
type MockAccessTokenStrategy ¶
type MockAccessTokenStrategy struct {
// contains filtered or unexported fields
}
Mock of AccessTokenStrategy interface
func NewMockAccessTokenStrategy ¶
func NewMockAccessTokenStrategy(ctrl *gomock.Controller) *MockAccessTokenStrategy
func (*MockAccessTokenStrategy) AccessTokenSignature ¶
func (_m *MockAccessTokenStrategy) AccessTokenSignature(_param0 string) string
func (*MockAccessTokenStrategy) EXPECT ¶
func (_m *MockAccessTokenStrategy) EXPECT() *_MockAccessTokenStrategyRecorder
func (*MockAccessTokenStrategy) GenerateAccessToken ¶
func (*MockAccessTokenStrategy) ValidateAccessToken ¶
type MockAuthorizeCodeGrantStorage ¶
type MockAuthorizeCodeGrantStorage struct {
// contains filtered or unexported fields
}
Mock of AuthorizeCodeGrantStorage interface
func NewMockAuthorizeCodeGrantStorage ¶
func NewMockAuthorizeCodeGrantStorage(ctrl *gomock.Controller) *MockAuthorizeCodeGrantStorage
func (*MockAuthorizeCodeGrantStorage) CreateAuthorizeCodeSession ¶
func (*MockAuthorizeCodeGrantStorage) DeleteAuthorizeCodeSession ¶
func (_m *MockAuthorizeCodeGrantStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error
func (*MockAuthorizeCodeGrantStorage) EXPECT ¶
func (_m *MockAuthorizeCodeGrantStorage) EXPECT() *_MockAuthorizeCodeGrantStorageRecorder
func (*MockAuthorizeCodeGrantStorage) GetAuthorizeCodeSession ¶
type MockAuthorizeCodeStorage ¶
type MockAuthorizeCodeStorage struct {
// contains filtered or unexported fields
}
Mock of AuthorizeCodeStorage interface
func NewMockAuthorizeCodeStorage ¶
func NewMockAuthorizeCodeStorage(ctrl *gomock.Controller) *MockAuthorizeCodeStorage
func (*MockAuthorizeCodeStorage) CreateAuthorizeCodeSession ¶
func (*MockAuthorizeCodeStorage) DeleteAuthorizeCodeSession ¶
func (_m *MockAuthorizeCodeStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error
func (*MockAuthorizeCodeStorage) EXPECT ¶
func (_m *MockAuthorizeCodeStorage) EXPECT() *_MockAuthorizeCodeStorageRecorder
type MockAuthorizeCodeStrategy ¶
type MockAuthorizeCodeStrategy struct {
// contains filtered or unexported fields
}
Mock of AuthorizeCodeStrategy interface
func NewMockAuthorizeCodeStrategy ¶
func NewMockAuthorizeCodeStrategy(ctrl *gomock.Controller) *MockAuthorizeCodeStrategy
func (*MockAuthorizeCodeStrategy) AuthorizeCodeSignature ¶
func (_m *MockAuthorizeCodeStrategy) AuthorizeCodeSignature(_param0 string) string
func (*MockAuthorizeCodeStrategy) EXPECT ¶
func (_m *MockAuthorizeCodeStrategy) EXPECT() *_MockAuthorizeCodeStrategyRecorder
func (*MockAuthorizeCodeStrategy) GenerateAuthorizeCode ¶
func (*MockAuthorizeCodeStrategy) ValidateAuthorizeCode ¶
type MockAuthorizeEndpointHandler ¶
type MockAuthorizeEndpointHandler struct {
// contains filtered or unexported fields
}
Mock of AuthorizeEndpointHandler interface
func NewMockAuthorizeEndpointHandler ¶
func NewMockAuthorizeEndpointHandler(ctrl *gomock.Controller) *MockAuthorizeEndpointHandler
func (*MockAuthorizeEndpointHandler) EXPECT ¶
func (_m *MockAuthorizeEndpointHandler) EXPECT() *_MockAuthorizeEndpointHandlerRecorder
func (*MockAuthorizeEndpointHandler) HandleAuthorizeEndpointRequest ¶
func (_m *MockAuthorizeEndpointHandler) HandleAuthorizeEndpointRequest(_param0 context.Context, _param1 fosite.AuthorizeRequester, _param2 fosite.AuthorizeResponder) error
type MockAuthorizeRequester ¶
type MockAuthorizeRequester struct {
// contains filtered or unexported fields
}
Mock of AuthorizeRequester interface
func NewMockAuthorizeRequester ¶
func NewMockAuthorizeRequester(ctrl *gomock.Controller) *MockAuthorizeRequester
func (*MockAuthorizeRequester) AppendRequestedScope ¶ added in v0.2.0
func (_m *MockAuthorizeRequester) AppendRequestedScope(_param0 string)
func (*MockAuthorizeRequester) DidHandleAllResponseTypes ¶
func (_m *MockAuthorizeRequester) DidHandleAllResponseTypes() bool
func (*MockAuthorizeRequester) EXPECT ¶
func (_m *MockAuthorizeRequester) EXPECT() *_MockAuthorizeRequesterRecorder
func (*MockAuthorizeRequester) GetClient ¶
func (_m *MockAuthorizeRequester) GetClient() fosite.Client
func (*MockAuthorizeRequester) GetGrantedScopes ¶
func (_m *MockAuthorizeRequester) GetGrantedScopes() fosite.Arguments
func (*MockAuthorizeRequester) GetID ¶ added in v0.4.0
func (_m *MockAuthorizeRequester) GetID() string
func (*MockAuthorizeRequester) GetRedirectURI ¶
func (_m *MockAuthorizeRequester) GetRedirectURI() *url.URL
func (*MockAuthorizeRequester) GetRequestForm ¶
func (_m *MockAuthorizeRequester) GetRequestForm() url.Values
func (*MockAuthorizeRequester) GetRequestedAt ¶
func (_m *MockAuthorizeRequester) GetRequestedAt() time.Time
func (*MockAuthorizeRequester) GetRequestedScopes ¶ added in v0.2.0
func (_m *MockAuthorizeRequester) GetRequestedScopes() fosite.Arguments
func (*MockAuthorizeRequester) GetResponseTypes ¶
func (_m *MockAuthorizeRequester) GetResponseTypes() fosite.Arguments
func (*MockAuthorizeRequester) GetSession ¶
func (_m *MockAuthorizeRequester) GetSession() fosite.Session
func (*MockAuthorizeRequester) GetState ¶
func (_m *MockAuthorizeRequester) GetState() string
func (*MockAuthorizeRequester) GrantScope ¶
func (_m *MockAuthorizeRequester) GrantScope(_param0 string)
func (*MockAuthorizeRequester) IsRedirectURIValid ¶
func (_m *MockAuthorizeRequester) IsRedirectURIValid() bool
func (*MockAuthorizeRequester) Merge ¶
func (_m *MockAuthorizeRequester) Merge(_param0 fosite.Requester)
func (*MockAuthorizeRequester) Sanitize ¶ added in v0.17.0
func (_m *MockAuthorizeRequester) Sanitize(_param0 []string) fosite.Requester
func (*MockAuthorizeRequester) SetID ¶ added in v0.15.0
func (_m *MockAuthorizeRequester) SetID(_param0 string)
func (*MockAuthorizeRequester) SetRequestedScopes ¶ added in v0.2.0
func (_m *MockAuthorizeRequester) SetRequestedScopes(_param0 fosite.Arguments)
func (*MockAuthorizeRequester) SetResponseTypeHandled ¶
func (_m *MockAuthorizeRequester) SetResponseTypeHandled(_param0 string)
func (*MockAuthorizeRequester) SetSession ¶
func (_m *MockAuthorizeRequester) SetSession(_param0 fosite.Session)
type MockAuthorizeResponder ¶
type MockAuthorizeResponder struct {
// contains filtered or unexported fields
}
Mock of AuthorizeResponder interface
func NewMockAuthorizeResponder ¶
func NewMockAuthorizeResponder(ctrl *gomock.Controller) *MockAuthorizeResponder
func (*MockAuthorizeResponder) AddFragment ¶
func (_m *MockAuthorizeResponder) AddFragment(_param0 string, _param1 string)
func (*MockAuthorizeResponder) AddHeader ¶
func (_m *MockAuthorizeResponder) AddHeader(_param0 string, _param1 string)
func (*MockAuthorizeResponder) AddQuery ¶
func (_m *MockAuthorizeResponder) AddQuery(_param0 string, _param1 string)
func (*MockAuthorizeResponder) EXPECT ¶
func (_m *MockAuthorizeResponder) EXPECT() *_MockAuthorizeResponderRecorder
func (*MockAuthorizeResponder) GetCode ¶
func (_m *MockAuthorizeResponder) GetCode() string
func (*MockAuthorizeResponder) GetFragment ¶
func (_m *MockAuthorizeResponder) GetFragment() url.Values
func (*MockAuthorizeResponder) GetHeader ¶
func (_m *MockAuthorizeResponder) GetHeader() http.Header
func (*MockAuthorizeResponder) GetQuery ¶
func (_m *MockAuthorizeResponder) GetQuery() url.Values
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) GetGrantTypes ¶
func (_m *MockClient) GetGrantTypes() fosite.Arguments
func (*MockClient) GetHashedSecret ¶
func (_m *MockClient) GetHashedSecret() []byte
func (*MockClient) GetID ¶
func (_m *MockClient) GetID() string
func (*MockClient) GetRedirectURIs ¶
func (_m *MockClient) GetRedirectURIs() []string
func (*MockClient) GetResponseTypes ¶
func (_m *MockClient) GetResponseTypes() fosite.Arguments
func (*MockClient) GetScopes ¶ added in v0.2.0
func (_m *MockClient) GetScopes() fosite.Arguments
func (*MockClient) IsPublic ¶ added in v0.4.0
func (_m *MockClient) IsPublic() bool
type MockClientCredentialsGrantStorage ¶
type MockClientCredentialsGrantStorage struct {
// contains filtered or unexported fields
}
Mock of ClientCredentialsGrantStorage interface
func NewMockClientCredentialsGrantStorage ¶
func NewMockClientCredentialsGrantStorage(ctrl *gomock.Controller) *MockClientCredentialsGrantStorage
func (*MockClientCredentialsGrantStorage) CreateAccessTokenSession ¶
func (*MockClientCredentialsGrantStorage) DeleteAccessTokenSession ¶
func (_m *MockClientCredentialsGrantStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
func (*MockClientCredentialsGrantStorage) EXPECT ¶
func (_m *MockClientCredentialsGrantStorage) EXPECT() *_MockClientCredentialsGrantStorageRecorder
type MockCoreStorage ¶ added in v0.2.0
type MockCoreStorage struct {
// contains filtered or unexported fields
}
Mock of CoreStorage interface
func NewMockCoreStorage ¶ added in v0.2.0
func NewMockCoreStorage(ctrl *gomock.Controller) *MockCoreStorage
func (*MockCoreStorage) CreateAccessTokenSession ¶ added in v0.2.0
func (*MockCoreStorage) CreateAuthorizeCodeSession ¶ added in v0.2.0
func (*MockCoreStorage) CreateRefreshTokenSession ¶ added in v0.2.0
func (*MockCoreStorage) DeleteAccessTokenSession ¶ added in v0.2.0
func (_m *MockCoreStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
func (*MockCoreStorage) DeleteAuthorizeCodeSession ¶ added in v0.2.0
func (_m *MockCoreStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error
func (*MockCoreStorage) DeleteRefreshTokenSession ¶ added in v0.2.0
func (_m *MockCoreStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
func (*MockCoreStorage) EXPECT ¶ added in v0.2.0
func (_m *MockCoreStorage) EXPECT() *_MockCoreStorageRecorder
func (*MockCoreStorage) GetAccessTokenSession ¶ added in v0.2.0
func (*MockCoreStorage) GetAuthorizeCodeSession ¶ added in v0.2.0
type MockCoreStrategy ¶ added in v0.2.0
type MockCoreStrategy struct {
// contains filtered or unexported fields
}
Mock of CoreStrategy interface
func NewMockCoreStrategy ¶ added in v0.2.0
func NewMockCoreStrategy(ctrl *gomock.Controller) *MockCoreStrategy
func (*MockCoreStrategy) AccessTokenSignature ¶ added in v0.2.0
func (_m *MockCoreStrategy) AccessTokenSignature(_param0 string) string
func (*MockCoreStrategy) AuthorizeCodeSignature ¶ added in v0.2.0
func (_m *MockCoreStrategy) AuthorizeCodeSignature(_param0 string) string
func (*MockCoreStrategy) EXPECT ¶ added in v0.2.0
func (_m *MockCoreStrategy) EXPECT() *_MockCoreStrategyRecorder
func (*MockCoreStrategy) GenerateAccessToken ¶ added in v0.2.0
func (*MockCoreStrategy) GenerateAuthorizeCode ¶ added in v0.2.0
func (*MockCoreStrategy) GenerateRefreshToken ¶ added in v0.2.0
func (*MockCoreStrategy) RefreshTokenSignature ¶ added in v0.2.0
func (_m *MockCoreStrategy) RefreshTokenSignature(_param0 string) string
func (*MockCoreStrategy) ValidateAccessToken ¶ added in v0.2.0
func (*MockCoreStrategy) ValidateAuthorizeCode ¶ added in v0.2.0
func (*MockCoreStrategy) ValidateRefreshToken ¶ added in v0.2.0
type MockHasher ¶
type MockHasher struct {
// contains filtered or unexported fields
}
Mock of Hasher interface
func NewMockHasher ¶
func NewMockHasher(ctrl *gomock.Controller) *MockHasher
func (*MockHasher) EXPECT ¶
func (_m *MockHasher) EXPECT() *_MockHasherRecorder
type MockOpenIDConnectRequestStorage ¶
type MockOpenIDConnectRequestStorage struct {
// contains filtered or unexported fields
}
Mock of OpenIDConnectRequestStorage interface
func NewMockOpenIDConnectRequestStorage ¶
func NewMockOpenIDConnectRequestStorage(ctrl *gomock.Controller) *MockOpenIDConnectRequestStorage
func (*MockOpenIDConnectRequestStorage) CreateOpenIDConnectSession ¶
func (*MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession ¶
func (_m *MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession(_param0 context.Context, _param1 string) error
func (*MockOpenIDConnectRequestStorage) EXPECT ¶
func (_m *MockOpenIDConnectRequestStorage) EXPECT() *_MockOpenIDConnectRequestStorageRecorder
type MockOpenIDConnectTokenStrategy ¶
type MockOpenIDConnectTokenStrategy struct {
// contains filtered or unexported fields
}
Mock of OpenIDConnectTokenStrategy interface
func NewMockOpenIDConnectTokenStrategy ¶
func NewMockOpenIDConnectTokenStrategy(ctrl *gomock.Controller) *MockOpenIDConnectTokenStrategy
func (*MockOpenIDConnectTokenStrategy) EXPECT ¶
func (_m *MockOpenIDConnectTokenStrategy) EXPECT() *_MockOpenIDConnectTokenStrategyRecorder
func (*MockOpenIDConnectTokenStrategy) GenerateIDToken ¶
type MockPKCERequestStorage ¶ added in v0.17.0
type MockPKCERequestStorage struct {
// contains filtered or unexported fields
}
Mock of PKCERequestStorage interface
func NewMockPKCERequestStorage ¶ added in v0.17.0
func NewMockPKCERequestStorage(ctrl *gomock.Controller) *MockPKCERequestStorage
func (*MockPKCERequestStorage) CreatePKCERequestSession ¶ added in v0.17.0
func (*MockPKCERequestStorage) DeletePKCERequestSession ¶ added in v0.17.0
func (_m *MockPKCERequestStorage) DeletePKCERequestSession(_param0 context.Context, _param1 string) error
func (*MockPKCERequestStorage) EXPECT ¶ added in v0.17.0
func (_m *MockPKCERequestStorage) EXPECT() *_MockPKCERequestStorageRecorder
type MockRefreshTokenGrantStorage ¶
type MockRefreshTokenGrantStorage struct {
// contains filtered or unexported fields
}
Mock of RefreshTokenGrantStorage interface
func NewMockRefreshTokenGrantStorage ¶
func NewMockRefreshTokenGrantStorage(ctrl *gomock.Controller) *MockRefreshTokenGrantStorage
func (*MockRefreshTokenGrantStorage) CreateRefreshTokenSession ¶
func (*MockRefreshTokenGrantStorage) DeleteRefreshTokenSession ¶
func (_m *MockRefreshTokenGrantStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
func (*MockRefreshTokenGrantStorage) EXPECT ¶
func (_m *MockRefreshTokenGrantStorage) EXPECT() *_MockRefreshTokenGrantStorageRecorder
func (*MockRefreshTokenGrantStorage) GetRefreshTokenSession ¶
type MockRefreshTokenStrategy ¶
type MockRefreshTokenStrategy struct {
// contains filtered or unexported fields
}
Mock of RefreshTokenStrategy interface
func NewMockRefreshTokenStrategy ¶
func NewMockRefreshTokenStrategy(ctrl *gomock.Controller) *MockRefreshTokenStrategy
func (*MockRefreshTokenStrategy) EXPECT ¶
func (_m *MockRefreshTokenStrategy) EXPECT() *_MockRefreshTokenStrategyRecorder
func (*MockRefreshTokenStrategy) GenerateRefreshToken ¶
func (*MockRefreshTokenStrategy) RefreshTokenSignature ¶
func (_m *MockRefreshTokenStrategy) RefreshTokenSignature(_param0 string) string
func (*MockRefreshTokenStrategy) ValidateRefreshToken ¶
type MockRequester ¶
type MockRequester struct {
// contains filtered or unexported fields
}
Mock of Requester interface
func NewMockRequester ¶
func NewMockRequester(ctrl *gomock.Controller) *MockRequester
func (*MockRequester) AppendRequestedScope ¶ added in v0.2.0
func (_m *MockRequester) AppendRequestedScope(_param0 string)
func (*MockRequester) EXPECT ¶
func (_m *MockRequester) EXPECT() *_MockRequesterRecorder
func (*MockRequester) GetClient ¶
func (_m *MockRequester) GetClient() fosite.Client
func (*MockRequester) GetGrantedScopes ¶
func (_m *MockRequester) GetGrantedScopes() fosite.Arguments
func (*MockRequester) GetID ¶ added in v0.4.0
func (_m *MockRequester) GetID() string
func (*MockRequester) GetRequestForm ¶
func (_m *MockRequester) GetRequestForm() url.Values
func (*MockRequester) GetRequestedAt ¶
func (_m *MockRequester) GetRequestedAt() time.Time
func (*MockRequester) GetRequestedScopes ¶ added in v0.2.0
func (_m *MockRequester) GetRequestedScopes() fosite.Arguments
func (*MockRequester) GetSession ¶
func (_m *MockRequester) GetSession() fosite.Session
func (*MockRequester) GrantScope ¶
func (_m *MockRequester) GrantScope(_param0 string)
func (*MockRequester) Merge ¶
func (_m *MockRequester) Merge(_param0 fosite.Requester)
func (*MockRequester) Sanitize ¶ added in v0.17.0
func (_m *MockRequester) Sanitize(_param0 []string) fosite.Requester
func (*MockRequester) SetID ¶ added in v0.15.0
func (_m *MockRequester) SetID(_param0 string)
func (*MockRequester) SetRequestedScopes ¶ added in v0.2.0
func (_m *MockRequester) SetRequestedScopes(_param0 fosite.Arguments)
func (*MockRequester) SetSession ¶
func (_m *MockRequester) SetSession(_param0 fosite.Session)
type MockResourceOwnerPasswordCredentialsGrantStorage ¶
type MockResourceOwnerPasswordCredentialsGrantStorage struct {
// contains filtered or unexported fields
}
Mock of ResourceOwnerPasswordCredentialsGrantStorage interface
func NewMockResourceOwnerPasswordCredentialsGrantStorage ¶
func NewMockResourceOwnerPasswordCredentialsGrantStorage(ctrl *gomock.Controller) *MockResourceOwnerPasswordCredentialsGrantStorage
func (*MockResourceOwnerPasswordCredentialsGrantStorage) Authenticate ¶
func (*MockResourceOwnerPasswordCredentialsGrantStorage) CreateAccessTokenSession ¶
func (*MockResourceOwnerPasswordCredentialsGrantStorage) CreateRefreshTokenSession ¶ added in v0.3.6
func (*MockResourceOwnerPasswordCredentialsGrantStorage) DeleteAccessTokenSession ¶
func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
func (*MockResourceOwnerPasswordCredentialsGrantStorage) DeleteRefreshTokenSession ¶ added in v0.3.6
func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
func (*MockResourceOwnerPasswordCredentialsGrantStorage) EXPECT ¶
func (_m *MockResourceOwnerPasswordCredentialsGrantStorage) EXPECT() *_MockResourceOwnerPasswordCredentialsGrantStorageRecorder
func (*MockResourceOwnerPasswordCredentialsGrantStorage) GetAccessTokenSession ¶
type MockResponseWriter ¶
type MockResponseWriter struct {
// contains filtered or unexported fields
}
Mock of ResponseWriter interface
func NewMockResponseWriter ¶
func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter
func (*MockResponseWriter) EXPECT ¶
func (_m *MockResponseWriter) EXPECT() *_MockResponseWriterRecorder
func (*MockResponseWriter) Header ¶
func (_m *MockResponseWriter) Header() http.Header
func (*MockResponseWriter) WriteHeader ¶
func (_m *MockResponseWriter) WriteHeader(_param0 int)
type MockRevocationHandler ¶ added in v0.4.0
type MockRevocationHandler struct {
// contains filtered or unexported fields
}
Mock of RevocationHandler interface
func NewMockRevocationHandler ¶ added in v0.4.0
func NewMockRevocationHandler(ctrl *gomock.Controller) *MockRevocationHandler
func (*MockRevocationHandler) EXPECT ¶ added in v0.4.0
func (_m *MockRevocationHandler) EXPECT() *_MockRevocationHandlerRecorder
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
Mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
func (*MockStorage) EXPECT ¶
func (_m *MockStorage) EXPECT() *_MockStorageRecorder
type MockTokenEndpointHandler ¶
type MockTokenEndpointHandler struct {
// contains filtered or unexported fields
}
Mock of TokenEndpointHandler interface
func NewMockTokenEndpointHandler ¶
func NewMockTokenEndpointHandler(ctrl *gomock.Controller) *MockTokenEndpointHandler
func (*MockTokenEndpointHandler) EXPECT ¶
func (_m *MockTokenEndpointHandler) EXPECT() *_MockTokenEndpointHandlerRecorder
func (*MockTokenEndpointHandler) HandleTokenEndpointRequest ¶
func (_m *MockTokenEndpointHandler) HandleTokenEndpointRequest(_param0 context.Context, _param1 fosite.AccessRequester) error
func (*MockTokenEndpointHandler) PopulateTokenEndpointResponse ¶
func (_m *MockTokenEndpointHandler) PopulateTokenEndpointResponse(_param0 context.Context, _param1 fosite.AccessRequester, _param2 fosite.AccessResponder) error
type MockTokenIntrospector ¶ added in v0.4.0
type MockTokenIntrospector struct {
// contains filtered or unexported fields
}
Mock of TokenIntrospector interface
func NewMockTokenIntrospector ¶ added in v0.4.0
func NewMockTokenIntrospector(ctrl *gomock.Controller) *MockTokenIntrospector
func (*MockTokenIntrospector) EXPECT ¶ added in v0.4.0
func (_m *MockTokenIntrospector) EXPECT() *_MockTokenIntrospectorRecorder
func (*MockTokenIntrospector) IntrospectToken ¶ added in v0.4.0
func (_m *MockTokenIntrospector) IntrospectToken(_param0 context.Context, _param1 string, _param2 fosite.TokenType, _param3 fosite.AccessRequester, _param4 []string) error
type MockTokenRevocationStorage ¶ added in v0.4.0
type MockTokenRevocationStorage struct {
// contains filtered or unexported fields
}
Mock of TokenRevocationStorage interface
func NewMockTokenRevocationStorage ¶ added in v0.4.0
func NewMockTokenRevocationStorage(ctrl *gomock.Controller) *MockTokenRevocationStorage
func (*MockTokenRevocationStorage) CreateAccessTokenSession ¶ added in v0.4.0
func (*MockTokenRevocationStorage) CreateRefreshTokenSession ¶ added in v0.4.0
func (*MockTokenRevocationStorage) DeleteAccessTokenSession ¶ added in v0.4.0
func (_m *MockTokenRevocationStorage) DeleteAccessTokenSession(_param0 context.Context, _param1 string) error
func (*MockTokenRevocationStorage) DeleteRefreshTokenSession ¶ added in v0.4.0
func (_m *MockTokenRevocationStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error
func (*MockTokenRevocationStorage) EXPECT ¶ added in v0.4.0
func (_m *MockTokenRevocationStorage) EXPECT() *_MockTokenRevocationStorageRecorder
func (*MockTokenRevocationStorage) GetAccessTokenSession ¶ added in v0.4.0
func (*MockTokenRevocationStorage) GetRefreshTokenSession ¶ added in v0.4.0
func (*MockTokenRevocationStorage) RevokeAccessToken ¶ added in v0.4.0
func (_m *MockTokenRevocationStorage) RevokeAccessToken(_param0 context.Context, _param1 string) error
func (*MockTokenRevocationStorage) RevokeRefreshToken ¶ added in v0.4.0
func (_m *MockTokenRevocationStorage) RevokeRefreshToken(_param0 context.Context, _param1 string) error
Source Files ¶
- access_request.go
- access_response.go
- access_token_storage.go
- access_token_strategy.go
- authorize_code_storage.go
- authorize_code_strategy.go
- authorize_handler.go
- authorize_request.go
- authorize_response.go
- client.go
- hash.go
- id_token_strategy.go
- introspector.go
- key.go
- oauth2_client_storage.go
- oauth2_explicit_storage.go
- oauth2_owner_storage.go
- oauth2_refresh_storage.go
- oauth2_revoke_storage.go
- oauth2_storage.go
- oauth2_strategy.go
- openid_id_token_storage.go
- pkce_storage_strategy.go
- refresh_token_strategy.go
- request.go
- revoke_handler.go
- rw.go
- storage.go
- token_handler.go