fosite: github.com/ory/fosite/internal Index | Files

package internal

import "github.com/ory/fosite/internal"

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Index

Package 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 transactional.go

func MustRSAKey Uses

func MustRSAKey() *rsa.PrivateKey

type MockAccessRequester Uses

type MockAccessRequester struct {
    // contains filtered or unexported fields
}

MockAccessRequester is a mock of AccessRequester interface

func NewMockAccessRequester Uses

func NewMockAccessRequester(ctrl *gomock.Controller) *MockAccessRequester

NewMockAccessRequester creates a new mock instance

func (*MockAccessRequester) AppendRequestedScope Uses

func (m *MockAccessRequester) AppendRequestedScope(arg0 string)

AppendRequestedScope mocks base method

func (*MockAccessRequester) EXPECT Uses

func (m *MockAccessRequester) EXPECT() *MockAccessRequesterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAccessRequester) GetClient Uses

func (m *MockAccessRequester) GetClient() fosite.Client

GetClient mocks base method

func (*MockAccessRequester) GetGrantTypes Uses

func (m *MockAccessRequester) GetGrantTypes() fosite.Arguments

GetGrantTypes mocks base method

func (*MockAccessRequester) GetGrantedAudience Uses

func (m *MockAccessRequester) GetGrantedAudience() fosite.Arguments

GetGrantedAudience mocks base method

func (*MockAccessRequester) GetGrantedScopes Uses

func (m *MockAccessRequester) GetGrantedScopes() fosite.Arguments

GetGrantedScopes mocks base method

func (*MockAccessRequester) GetID Uses

func (m *MockAccessRequester) GetID() string

GetID mocks base method

func (*MockAccessRequester) GetRequestForm Uses

func (m *MockAccessRequester) GetRequestForm() url.Values

GetRequestForm mocks base method

func (*MockAccessRequester) GetRequestedAt Uses

func (m *MockAccessRequester) GetRequestedAt() time.Time

GetRequestedAt mocks base method

func (*MockAccessRequester) GetRequestedAudience Uses

func (m *MockAccessRequester) GetRequestedAudience() fosite.Arguments

GetRequestedAudience mocks base method

func (*MockAccessRequester) GetRequestedScopes Uses

func (m *MockAccessRequester) GetRequestedScopes() fosite.Arguments

GetRequestedScopes mocks base method

func (*MockAccessRequester) GetSession Uses

func (m *MockAccessRequester) GetSession() fosite.Session

GetSession mocks base method

func (*MockAccessRequester) GrantAudience Uses

func (m *MockAccessRequester) GrantAudience(arg0 string)

GrantAudience mocks base method

func (*MockAccessRequester) GrantScope Uses

func (m *MockAccessRequester) GrantScope(arg0 string)

GrantScope mocks base method

func (*MockAccessRequester) Merge Uses

func (m *MockAccessRequester) Merge(arg0 fosite.Requester)

Merge mocks base method

func (*MockAccessRequester) Sanitize Uses

func (m *MockAccessRequester) Sanitize(arg0 []string) fosite.Requester

Sanitize mocks base method

func (*MockAccessRequester) SetID Uses

func (m *MockAccessRequester) SetID(arg0 string)

SetID mocks base method

func (*MockAccessRequester) SetRequestedAudience Uses

func (m *MockAccessRequester) SetRequestedAudience(arg0 fosite.Arguments)

SetRequestedAudience mocks base method

func (*MockAccessRequester) SetRequestedScopes Uses

func (m *MockAccessRequester) SetRequestedScopes(arg0 fosite.Arguments)

SetRequestedScopes mocks base method

func (*MockAccessRequester) SetSession Uses

func (m *MockAccessRequester) SetSession(arg0 fosite.Session)

SetSession mocks base method

type MockAccessRequesterMockRecorder Uses

type MockAccessRequesterMockRecorder struct {
    // contains filtered or unexported fields
}

MockAccessRequesterMockRecorder is the mock recorder for MockAccessRequester

func (*MockAccessRequesterMockRecorder) AppendRequestedScope Uses

func (mr *MockAccessRequesterMockRecorder) AppendRequestedScope(arg0 interface{}) *gomock.Call

AppendRequestedScope indicates an expected call of AppendRequestedScope

func (*MockAccessRequesterMockRecorder) GetClient Uses

func (mr *MockAccessRequesterMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient

func (*MockAccessRequesterMockRecorder) GetGrantTypes Uses

func (mr *MockAccessRequesterMockRecorder) GetGrantTypes() *gomock.Call

GetGrantTypes indicates an expected call of GetGrantTypes

func (*MockAccessRequesterMockRecorder) GetGrantedAudience Uses

func (mr *MockAccessRequesterMockRecorder) GetGrantedAudience() *gomock.Call

GetGrantedAudience indicates an expected call of GetGrantedAudience

func (*MockAccessRequesterMockRecorder) GetGrantedScopes Uses

func (mr *MockAccessRequesterMockRecorder) GetGrantedScopes() *gomock.Call

GetGrantedScopes indicates an expected call of GetGrantedScopes

func (*MockAccessRequesterMockRecorder) GetID Uses

func (mr *MockAccessRequesterMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockAccessRequesterMockRecorder) GetRequestForm Uses

func (mr *MockAccessRequesterMockRecorder) GetRequestForm() *gomock.Call

GetRequestForm indicates an expected call of GetRequestForm

func (*MockAccessRequesterMockRecorder) GetRequestedAt Uses

func (mr *MockAccessRequesterMockRecorder) GetRequestedAt() *gomock.Call

GetRequestedAt indicates an expected call of GetRequestedAt

func (*MockAccessRequesterMockRecorder) GetRequestedAudience Uses

func (mr *MockAccessRequesterMockRecorder) GetRequestedAudience() *gomock.Call

GetRequestedAudience indicates an expected call of GetRequestedAudience

func (*MockAccessRequesterMockRecorder) GetRequestedScopes Uses

func (mr *MockAccessRequesterMockRecorder) GetRequestedScopes() *gomock.Call

GetRequestedScopes indicates an expected call of GetRequestedScopes

func (*MockAccessRequesterMockRecorder) GetSession Uses

func (mr *MockAccessRequesterMockRecorder) GetSession() *gomock.Call

GetSession indicates an expected call of GetSession

func (*MockAccessRequesterMockRecorder) GrantAudience Uses

func (mr *MockAccessRequesterMockRecorder) GrantAudience(arg0 interface{}) *gomock.Call

GrantAudience indicates an expected call of GrantAudience

func (*MockAccessRequesterMockRecorder) GrantScope Uses

func (mr *MockAccessRequesterMockRecorder) GrantScope(arg0 interface{}) *gomock.Call

GrantScope indicates an expected call of GrantScope

func (*MockAccessRequesterMockRecorder) Merge Uses

func (mr *MockAccessRequesterMockRecorder) Merge(arg0 interface{}) *gomock.Call

Merge indicates an expected call of Merge

func (*MockAccessRequesterMockRecorder) Sanitize Uses

func (mr *MockAccessRequesterMockRecorder) Sanitize(arg0 interface{}) *gomock.Call

Sanitize indicates an expected call of Sanitize

func (*MockAccessRequesterMockRecorder) SetID Uses

func (mr *MockAccessRequesterMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID

func (*MockAccessRequesterMockRecorder) SetRequestedAudience Uses

func (mr *MockAccessRequesterMockRecorder) SetRequestedAudience(arg0 interface{}) *gomock.Call

SetRequestedAudience indicates an expected call of SetRequestedAudience

func (*MockAccessRequesterMockRecorder) SetRequestedScopes Uses

func (mr *MockAccessRequesterMockRecorder) SetRequestedScopes(arg0 interface{}) *gomock.Call

SetRequestedScopes indicates an expected call of SetRequestedScopes

func (*MockAccessRequesterMockRecorder) SetSession Uses

func (mr *MockAccessRequesterMockRecorder) SetSession(arg0 interface{}) *gomock.Call

SetSession indicates an expected call of SetSession

type MockAccessResponder Uses

type MockAccessResponder struct {
    // contains filtered or unexported fields
}

MockAccessResponder is a mock of AccessResponder interface

func NewMockAccessResponder Uses

func NewMockAccessResponder(ctrl *gomock.Controller) *MockAccessResponder

NewMockAccessResponder creates a new mock instance

func (*MockAccessResponder) EXPECT Uses

func (m *MockAccessResponder) EXPECT() *MockAccessResponderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAccessResponder) GetAccessToken Uses

func (m *MockAccessResponder) GetAccessToken() string

GetAccessToken mocks base method

func (*MockAccessResponder) GetExtra Uses

func (m *MockAccessResponder) GetExtra(arg0 string) interface{}

GetExtra mocks base method

func (*MockAccessResponder) GetTokenType Uses

func (m *MockAccessResponder) GetTokenType() string

GetTokenType mocks base method

func (*MockAccessResponder) SetAccessToken Uses

func (m *MockAccessResponder) SetAccessToken(arg0 string)

SetAccessToken mocks base method

func (*MockAccessResponder) SetExpiresIn Uses

func (m *MockAccessResponder) SetExpiresIn(arg0 time.Duration)

SetExpiresIn mocks base method

func (*MockAccessResponder) SetExtra Uses

func (m *MockAccessResponder) SetExtra(arg0 string, arg1 interface{})

SetExtra mocks base method

func (*MockAccessResponder) SetScopes Uses

func (m *MockAccessResponder) SetScopes(arg0 fosite.Arguments)

SetScopes mocks base method

func (*MockAccessResponder) SetTokenType Uses

func (m *MockAccessResponder) SetTokenType(arg0 string)

SetTokenType mocks base method

func (*MockAccessResponder) ToMap Uses

func (m *MockAccessResponder) ToMap() map[string]interface{}

ToMap mocks base method

type MockAccessResponderMockRecorder Uses

type MockAccessResponderMockRecorder struct {
    // contains filtered or unexported fields
}

MockAccessResponderMockRecorder is the mock recorder for MockAccessResponder

func (*MockAccessResponderMockRecorder) GetAccessToken Uses

func (mr *MockAccessResponderMockRecorder) GetAccessToken() *gomock.Call

GetAccessToken indicates an expected call of GetAccessToken

func (*MockAccessResponderMockRecorder) GetExtra Uses

func (mr *MockAccessResponderMockRecorder) GetExtra(arg0 interface{}) *gomock.Call

GetExtra indicates an expected call of GetExtra

func (*MockAccessResponderMockRecorder) GetTokenType Uses

func (mr *MockAccessResponderMockRecorder) GetTokenType() *gomock.Call

GetTokenType indicates an expected call of GetTokenType

func (*MockAccessResponderMockRecorder) SetAccessToken Uses

func (mr *MockAccessResponderMockRecorder) SetAccessToken(arg0 interface{}) *gomock.Call

SetAccessToken indicates an expected call of SetAccessToken

func (*MockAccessResponderMockRecorder) SetExpiresIn Uses

func (mr *MockAccessResponderMockRecorder) SetExpiresIn(arg0 interface{}) *gomock.Call

SetExpiresIn indicates an expected call of SetExpiresIn

func (*MockAccessResponderMockRecorder) SetExtra Uses

func (mr *MockAccessResponderMockRecorder) SetExtra(arg0, arg1 interface{}) *gomock.Call

SetExtra indicates an expected call of SetExtra

func (*MockAccessResponderMockRecorder) SetScopes Uses

func (mr *MockAccessResponderMockRecorder) SetScopes(arg0 interface{}) *gomock.Call

SetScopes indicates an expected call of SetScopes

func (*MockAccessResponderMockRecorder) SetTokenType Uses

func (mr *MockAccessResponderMockRecorder) SetTokenType(arg0 interface{}) *gomock.Call

SetTokenType indicates an expected call of SetTokenType

func (*MockAccessResponderMockRecorder) ToMap Uses

func (mr *MockAccessResponderMockRecorder) ToMap() *gomock.Call

ToMap indicates an expected call of ToMap

type MockAccessTokenStorage Uses

type MockAccessTokenStorage struct {
    // contains filtered or unexported fields
}

MockAccessTokenStorage is a mock of AccessTokenStorage interface

func NewMockAccessTokenStorage Uses

func NewMockAccessTokenStorage(ctrl *gomock.Controller) *MockAccessTokenStorage

NewMockAccessTokenStorage creates a new mock instance

func (*MockAccessTokenStorage) CreateAccessTokenSession Uses

func (m *MockAccessTokenStorage) CreateAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAccessTokenSession mocks base method

func (*MockAccessTokenStorage) DeleteAccessTokenSession Uses

func (m *MockAccessTokenStorage) DeleteAccessTokenSession(arg0 context.Context, arg1 string) error

DeleteAccessTokenSession mocks base method

func (*MockAccessTokenStorage) EXPECT Uses

func (m *MockAccessTokenStorage) EXPECT() *MockAccessTokenStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAccessTokenStorage) GetAccessTokenSession Uses

func (m *MockAccessTokenStorage) GetAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAccessTokenSession mocks base method

type MockAccessTokenStorageMockRecorder Uses

type MockAccessTokenStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockAccessTokenStorageMockRecorder is the mock recorder for MockAccessTokenStorage

func (*MockAccessTokenStorageMockRecorder) CreateAccessTokenSession Uses

func (mr *MockAccessTokenStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockAccessTokenStorageMockRecorder) DeleteAccessTokenSession Uses

func (mr *MockAccessTokenStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockAccessTokenStorageMockRecorder) GetAccessTokenSession Uses

func (mr *MockAccessTokenStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

type MockAccessTokenStrategy Uses

type MockAccessTokenStrategy struct {
    // contains filtered or unexported fields
}

MockAccessTokenStrategy is a mock of AccessTokenStrategy interface

func NewMockAccessTokenStrategy Uses

func NewMockAccessTokenStrategy(ctrl *gomock.Controller) *MockAccessTokenStrategy

NewMockAccessTokenStrategy creates a new mock instance

func (*MockAccessTokenStrategy) AccessTokenSignature Uses

func (m *MockAccessTokenStrategy) AccessTokenSignature(arg0 string) string

AccessTokenSignature mocks base method

func (*MockAccessTokenStrategy) EXPECT Uses

func (m *MockAccessTokenStrategy) EXPECT() *MockAccessTokenStrategyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAccessTokenStrategy) GenerateAccessToken Uses

func (m *MockAccessTokenStrategy) GenerateAccessToken(arg0 context.Context, arg1 fosite.Requester) (string, string, error)

GenerateAccessToken mocks base method

func (*MockAccessTokenStrategy) ValidateAccessToken Uses

func (m *MockAccessTokenStrategy) ValidateAccessToken(arg0 context.Context, arg1 fosite.Requester, arg2 string) error

ValidateAccessToken mocks base method

type MockAccessTokenStrategyMockRecorder Uses

type MockAccessTokenStrategyMockRecorder struct {
    // contains filtered or unexported fields
}

MockAccessTokenStrategyMockRecorder is the mock recorder for MockAccessTokenStrategy

func (*MockAccessTokenStrategyMockRecorder) AccessTokenSignature Uses

func (mr *MockAccessTokenStrategyMockRecorder) AccessTokenSignature(arg0 interface{}) *gomock.Call

AccessTokenSignature indicates an expected call of AccessTokenSignature

func (*MockAccessTokenStrategyMockRecorder) GenerateAccessToken Uses

func (mr *MockAccessTokenStrategyMockRecorder) GenerateAccessToken(arg0, arg1 interface{}) *gomock.Call

GenerateAccessToken indicates an expected call of GenerateAccessToken

func (*MockAccessTokenStrategyMockRecorder) ValidateAccessToken Uses

func (mr *MockAccessTokenStrategyMockRecorder) ValidateAccessToken(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateAccessToken indicates an expected call of ValidateAccessToken

type MockAuthorizeCodeGrantStorage Uses

type MockAuthorizeCodeGrantStorage struct {
    // contains filtered or unexported fields
}

Mock of AuthorizeCodeGrantStorage interface

func NewMockAuthorizeCodeGrantStorage Uses

func NewMockAuthorizeCodeGrantStorage(ctrl *gomock.Controller) *MockAuthorizeCodeGrantStorage

func (*MockAuthorizeCodeGrantStorage) CreateAuthorizeCodeSession Uses

func (_m *MockAuthorizeCodeGrantStorage) CreateAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error

func (*MockAuthorizeCodeGrantStorage) DeleteAuthorizeCodeSession Uses

func (_m *MockAuthorizeCodeGrantStorage) DeleteAuthorizeCodeSession(_param0 context.Context, _param1 string) error

func (*MockAuthorizeCodeGrantStorage) EXPECT Uses

func (_m *MockAuthorizeCodeGrantStorage) EXPECT() *_MockAuthorizeCodeGrantStorageRecorder

func (*MockAuthorizeCodeGrantStorage) GetAuthorizeCodeSession Uses

func (_m *MockAuthorizeCodeGrantStorage) GetAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)

func (*MockAuthorizeCodeGrantStorage) PersistAuthorizeCodeGrantSession Uses

func (_m *MockAuthorizeCodeGrantStorage) PersistAuthorizeCodeGrantSession(_param0 context.Context, _param1 string, _param2 string, _param3 string, _param4 fosite.Requester) error

type MockAuthorizeCodeStorage Uses

type MockAuthorizeCodeStorage struct {
    // contains filtered or unexported fields
}

MockAuthorizeCodeStorage is a mock of AuthorizeCodeStorage interface

func NewMockAuthorizeCodeStorage Uses

func NewMockAuthorizeCodeStorage(ctrl *gomock.Controller) *MockAuthorizeCodeStorage

NewMockAuthorizeCodeStorage creates a new mock instance

func (*MockAuthorizeCodeStorage) CreateAuthorizeCodeSession Uses

func (m *MockAuthorizeCodeStorage) CreateAuthorizeCodeSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAuthorizeCodeSession mocks base method

func (*MockAuthorizeCodeStorage) EXPECT Uses

func (m *MockAuthorizeCodeStorage) EXPECT() *MockAuthorizeCodeStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizeCodeStorage) GetAuthorizeCodeSession Uses

func (m *MockAuthorizeCodeStorage) GetAuthorizeCodeSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAuthorizeCodeSession mocks base method

func (*MockAuthorizeCodeStorage) InvalidateAuthorizeCodeSession Uses

func (m *MockAuthorizeCodeStorage) InvalidateAuthorizeCodeSession(arg0 context.Context, arg1 string) error

InvalidateAuthorizeCodeSession mocks base method

type MockAuthorizeCodeStorageMockRecorder Uses

type MockAuthorizeCodeStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockAuthorizeCodeStorageMockRecorder is the mock recorder for MockAuthorizeCodeStorage

func (*MockAuthorizeCodeStorageMockRecorder) CreateAuthorizeCodeSession Uses

func (mr *MockAuthorizeCodeStorageMockRecorder) CreateAuthorizeCodeSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAuthorizeCodeSession indicates an expected call of CreateAuthorizeCodeSession

func (*MockAuthorizeCodeStorageMockRecorder) GetAuthorizeCodeSession Uses

func (mr *MockAuthorizeCodeStorageMockRecorder) GetAuthorizeCodeSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAuthorizeCodeSession indicates an expected call of GetAuthorizeCodeSession

func (*MockAuthorizeCodeStorageMockRecorder) InvalidateAuthorizeCodeSession Uses

func (mr *MockAuthorizeCodeStorageMockRecorder) InvalidateAuthorizeCodeSession(arg0, arg1 interface{}) *gomock.Call

InvalidateAuthorizeCodeSession indicates an expected call of InvalidateAuthorizeCodeSession

type MockAuthorizeCodeStrategy Uses

type MockAuthorizeCodeStrategy struct {
    // contains filtered or unexported fields
}

MockAuthorizeCodeStrategy is a mock of AuthorizeCodeStrategy interface

func NewMockAuthorizeCodeStrategy Uses

func NewMockAuthorizeCodeStrategy(ctrl *gomock.Controller) *MockAuthorizeCodeStrategy

NewMockAuthorizeCodeStrategy creates a new mock instance

func (*MockAuthorizeCodeStrategy) AuthorizeCodeSignature Uses

func (m *MockAuthorizeCodeStrategy) AuthorizeCodeSignature(arg0 string) string

AuthorizeCodeSignature mocks base method

func (*MockAuthorizeCodeStrategy) EXPECT Uses

func (m *MockAuthorizeCodeStrategy) EXPECT() *MockAuthorizeCodeStrategyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizeCodeStrategy) GenerateAuthorizeCode Uses

func (m *MockAuthorizeCodeStrategy) GenerateAuthorizeCode(arg0 context.Context, arg1 fosite.Requester) (string, string, error)

GenerateAuthorizeCode mocks base method

func (*MockAuthorizeCodeStrategy) ValidateAuthorizeCode Uses

func (m *MockAuthorizeCodeStrategy) ValidateAuthorizeCode(arg0 context.Context, arg1 fosite.Requester, arg2 string) error

ValidateAuthorizeCode mocks base method

type MockAuthorizeCodeStrategyMockRecorder Uses

type MockAuthorizeCodeStrategyMockRecorder struct {
    // contains filtered or unexported fields
}

MockAuthorizeCodeStrategyMockRecorder is the mock recorder for MockAuthorizeCodeStrategy

func (*MockAuthorizeCodeStrategyMockRecorder) AuthorizeCodeSignature Uses

func (mr *MockAuthorizeCodeStrategyMockRecorder) AuthorizeCodeSignature(arg0 interface{}) *gomock.Call

AuthorizeCodeSignature indicates an expected call of AuthorizeCodeSignature

func (*MockAuthorizeCodeStrategyMockRecorder) GenerateAuthorizeCode Uses

func (mr *MockAuthorizeCodeStrategyMockRecorder) GenerateAuthorizeCode(arg0, arg1 interface{}) *gomock.Call

GenerateAuthorizeCode indicates an expected call of GenerateAuthorizeCode

func (*MockAuthorizeCodeStrategyMockRecorder) ValidateAuthorizeCode Uses

func (mr *MockAuthorizeCodeStrategyMockRecorder) ValidateAuthorizeCode(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateAuthorizeCode indicates an expected call of ValidateAuthorizeCode

type MockAuthorizeEndpointHandler Uses

type MockAuthorizeEndpointHandler struct {
    // contains filtered or unexported fields
}

MockAuthorizeEndpointHandler is a mock of AuthorizeEndpointHandler interface

func NewMockAuthorizeEndpointHandler Uses

func NewMockAuthorizeEndpointHandler(ctrl *gomock.Controller) *MockAuthorizeEndpointHandler

NewMockAuthorizeEndpointHandler creates a new mock instance

func (*MockAuthorizeEndpointHandler) EXPECT Uses

func (m *MockAuthorizeEndpointHandler) EXPECT() *MockAuthorizeEndpointHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizeEndpointHandler) HandleAuthorizeEndpointRequest Uses

func (m *MockAuthorizeEndpointHandler) HandleAuthorizeEndpointRequest(arg0 context.Context, arg1 fosite.AuthorizeRequester, arg2 fosite.AuthorizeResponder) error

HandleAuthorizeEndpointRequest mocks base method

type MockAuthorizeEndpointHandlerMockRecorder Uses

type MockAuthorizeEndpointHandlerMockRecorder struct {
    // contains filtered or unexported fields
}

MockAuthorizeEndpointHandlerMockRecorder is the mock recorder for MockAuthorizeEndpointHandler

func (*MockAuthorizeEndpointHandlerMockRecorder) HandleAuthorizeEndpointRequest Uses

func (mr *MockAuthorizeEndpointHandlerMockRecorder) HandleAuthorizeEndpointRequest(arg0, arg1, arg2 interface{}) *gomock.Call

HandleAuthorizeEndpointRequest indicates an expected call of HandleAuthorizeEndpointRequest

type MockAuthorizeRequester Uses

type MockAuthorizeRequester struct {
    // contains filtered or unexported fields
}

MockAuthorizeRequester is a mock of AuthorizeRequester interface

func NewMockAuthorizeRequester Uses

func NewMockAuthorizeRequester(ctrl *gomock.Controller) *MockAuthorizeRequester

NewMockAuthorizeRequester creates a new mock instance

func (*MockAuthorizeRequester) AppendRequestedScope Uses

func (m *MockAuthorizeRequester) AppendRequestedScope(arg0 string)

AppendRequestedScope mocks base method

func (*MockAuthorizeRequester) DidHandleAllResponseTypes Uses

func (m *MockAuthorizeRequester) DidHandleAllResponseTypes() bool

DidHandleAllResponseTypes mocks base method

func (*MockAuthorizeRequester) EXPECT Uses

func (m *MockAuthorizeRequester) EXPECT() *MockAuthorizeRequesterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizeRequester) GetClient Uses

func (m *MockAuthorizeRequester) GetClient() fosite.Client

GetClient mocks base method

func (*MockAuthorizeRequester) GetGrantedAudience Uses

func (m *MockAuthorizeRequester) GetGrantedAudience() fosite.Arguments

GetGrantedAudience mocks base method

func (*MockAuthorizeRequester) GetGrantedScopes Uses

func (m *MockAuthorizeRequester) GetGrantedScopes() fosite.Arguments

GetGrantedScopes mocks base method

func (*MockAuthorizeRequester) GetID Uses

func (m *MockAuthorizeRequester) GetID() string

GetID mocks base method

func (*MockAuthorizeRequester) GetRedirectURI Uses

func (m *MockAuthorizeRequester) GetRedirectURI() *url.URL

GetRedirectURI mocks base method

func (*MockAuthorizeRequester) GetRequestForm Uses

func (m *MockAuthorizeRequester) GetRequestForm() url.Values

GetRequestForm mocks base method

func (*MockAuthorizeRequester) GetRequestedAt Uses

func (m *MockAuthorizeRequester) GetRequestedAt() time.Time

GetRequestedAt mocks base method

func (*MockAuthorizeRequester) GetRequestedAudience Uses

func (m *MockAuthorizeRequester) GetRequestedAudience() fosite.Arguments

GetRequestedAudience mocks base method

func (*MockAuthorizeRequester) GetRequestedScopes Uses

func (m *MockAuthorizeRequester) GetRequestedScopes() fosite.Arguments

GetRequestedScopes mocks base method

func (*MockAuthorizeRequester) GetResponseTypes Uses

func (m *MockAuthorizeRequester) GetResponseTypes() fosite.Arguments

GetResponseTypes mocks base method

func (*MockAuthorizeRequester) GetSession Uses

func (m *MockAuthorizeRequester) GetSession() fosite.Session

GetSession mocks base method

func (*MockAuthorizeRequester) GetState Uses

func (m *MockAuthorizeRequester) GetState() string

GetState mocks base method

func (*MockAuthorizeRequester) GrantAudience Uses

func (m *MockAuthorizeRequester) GrantAudience(arg0 string)

GrantAudience mocks base method

func (*MockAuthorizeRequester) GrantScope Uses

func (m *MockAuthorizeRequester) GrantScope(arg0 string)

GrantScope mocks base method

func (*MockAuthorizeRequester) IsRedirectURIValid Uses

func (m *MockAuthorizeRequester) IsRedirectURIValid() bool

IsRedirectURIValid mocks base method

func (*MockAuthorizeRequester) Merge Uses

func (m *MockAuthorizeRequester) Merge(arg0 fosite.Requester)

Merge mocks base method

func (*MockAuthorizeRequester) Sanitize Uses

func (m *MockAuthorizeRequester) Sanitize(arg0 []string) fosite.Requester

Sanitize mocks base method

func (*MockAuthorizeRequester) SetID Uses

func (m *MockAuthorizeRequester) SetID(arg0 string)

SetID mocks base method

func (*MockAuthorizeRequester) SetRequestedAudience Uses

func (m *MockAuthorizeRequester) SetRequestedAudience(arg0 fosite.Arguments)

SetRequestedAudience mocks base method

func (*MockAuthorizeRequester) SetRequestedScopes Uses

func (m *MockAuthorizeRequester) SetRequestedScopes(arg0 fosite.Arguments)

SetRequestedScopes mocks base method

func (*MockAuthorizeRequester) SetResponseTypeHandled Uses

func (m *MockAuthorizeRequester) SetResponseTypeHandled(arg0 string)

SetResponseTypeHandled mocks base method

func (*MockAuthorizeRequester) SetSession Uses

func (m *MockAuthorizeRequester) SetSession(arg0 fosite.Session)

SetSession mocks base method

type MockAuthorizeRequesterMockRecorder Uses

type MockAuthorizeRequesterMockRecorder struct {
    // contains filtered or unexported fields
}

MockAuthorizeRequesterMockRecorder is the mock recorder for MockAuthorizeRequester

func (*MockAuthorizeRequesterMockRecorder) AppendRequestedScope Uses

func (mr *MockAuthorizeRequesterMockRecorder) AppendRequestedScope(arg0 interface{}) *gomock.Call

AppendRequestedScope indicates an expected call of AppendRequestedScope

func (*MockAuthorizeRequesterMockRecorder) DidHandleAllResponseTypes Uses

func (mr *MockAuthorizeRequesterMockRecorder) DidHandleAllResponseTypes() *gomock.Call

DidHandleAllResponseTypes indicates an expected call of DidHandleAllResponseTypes

func (*MockAuthorizeRequesterMockRecorder) GetClient Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient

func (*MockAuthorizeRequesterMockRecorder) GetGrantedAudience Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetGrantedAudience() *gomock.Call

GetGrantedAudience indicates an expected call of GetGrantedAudience

func (*MockAuthorizeRequesterMockRecorder) GetGrantedScopes Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetGrantedScopes() *gomock.Call

GetGrantedScopes indicates an expected call of GetGrantedScopes

func (*MockAuthorizeRequesterMockRecorder) GetID Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockAuthorizeRequesterMockRecorder) GetRedirectURI Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetRedirectURI() *gomock.Call

GetRedirectURI indicates an expected call of GetRedirectURI

func (*MockAuthorizeRequesterMockRecorder) GetRequestForm Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetRequestForm() *gomock.Call

GetRequestForm indicates an expected call of GetRequestForm

func (*MockAuthorizeRequesterMockRecorder) GetRequestedAt Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetRequestedAt() *gomock.Call

GetRequestedAt indicates an expected call of GetRequestedAt

func (*MockAuthorizeRequesterMockRecorder) GetRequestedAudience Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetRequestedAudience() *gomock.Call

GetRequestedAudience indicates an expected call of GetRequestedAudience

func (*MockAuthorizeRequesterMockRecorder) GetRequestedScopes Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetRequestedScopes() *gomock.Call

GetRequestedScopes indicates an expected call of GetRequestedScopes

func (*MockAuthorizeRequesterMockRecorder) GetResponseTypes Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetResponseTypes() *gomock.Call

GetResponseTypes indicates an expected call of GetResponseTypes

func (*MockAuthorizeRequesterMockRecorder) GetSession Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetSession() *gomock.Call

GetSession indicates an expected call of GetSession

func (*MockAuthorizeRequesterMockRecorder) GetState Uses

func (mr *MockAuthorizeRequesterMockRecorder) GetState() *gomock.Call

GetState indicates an expected call of GetState

func (*MockAuthorizeRequesterMockRecorder) GrantAudience Uses

func (mr *MockAuthorizeRequesterMockRecorder) GrantAudience(arg0 interface{}) *gomock.Call

GrantAudience indicates an expected call of GrantAudience

func (*MockAuthorizeRequesterMockRecorder) GrantScope Uses

func (mr *MockAuthorizeRequesterMockRecorder) GrantScope(arg0 interface{}) *gomock.Call

GrantScope indicates an expected call of GrantScope

func (*MockAuthorizeRequesterMockRecorder) IsRedirectURIValid Uses

func (mr *MockAuthorizeRequesterMockRecorder) IsRedirectURIValid() *gomock.Call

IsRedirectURIValid indicates an expected call of IsRedirectURIValid

func (*MockAuthorizeRequesterMockRecorder) Merge Uses

func (mr *MockAuthorizeRequesterMockRecorder) Merge(arg0 interface{}) *gomock.Call

Merge indicates an expected call of Merge

func (*MockAuthorizeRequesterMockRecorder) Sanitize Uses

func (mr *MockAuthorizeRequesterMockRecorder) Sanitize(arg0 interface{}) *gomock.Call

Sanitize indicates an expected call of Sanitize

func (*MockAuthorizeRequesterMockRecorder) SetID Uses

func (mr *MockAuthorizeRequesterMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID

func (*MockAuthorizeRequesterMockRecorder) SetRequestedAudience Uses

func (mr *MockAuthorizeRequesterMockRecorder) SetRequestedAudience(arg0 interface{}) *gomock.Call

SetRequestedAudience indicates an expected call of SetRequestedAudience

func (*MockAuthorizeRequesterMockRecorder) SetRequestedScopes Uses

func (mr *MockAuthorizeRequesterMockRecorder) SetRequestedScopes(arg0 interface{}) *gomock.Call

SetRequestedScopes indicates an expected call of SetRequestedScopes

func (*MockAuthorizeRequesterMockRecorder) SetResponseTypeHandled Uses

func (mr *MockAuthorizeRequesterMockRecorder) SetResponseTypeHandled(arg0 interface{}) *gomock.Call

SetResponseTypeHandled indicates an expected call of SetResponseTypeHandled

func (*MockAuthorizeRequesterMockRecorder) SetSession Uses

func (mr *MockAuthorizeRequesterMockRecorder) SetSession(arg0 interface{}) *gomock.Call

SetSession indicates an expected call of SetSession

type MockAuthorizeResponder Uses

type MockAuthorizeResponder struct {
    // contains filtered or unexported fields
}

MockAuthorizeResponder is a mock of AuthorizeResponder interface

func NewMockAuthorizeResponder Uses

func NewMockAuthorizeResponder(ctrl *gomock.Controller) *MockAuthorizeResponder

NewMockAuthorizeResponder creates a new mock instance

func (*MockAuthorizeResponder) AddFragment Uses

func (m *MockAuthorizeResponder) AddFragment(arg0, arg1 string)

AddFragment mocks base method

func (*MockAuthorizeResponder) AddHeader Uses

func (m *MockAuthorizeResponder) AddHeader(arg0, arg1 string)

AddHeader mocks base method

func (*MockAuthorizeResponder) AddQuery Uses

func (m *MockAuthorizeResponder) AddQuery(arg0, arg1 string)

AddQuery mocks base method

func (*MockAuthorizeResponder) EXPECT Uses

func (m *MockAuthorizeResponder) EXPECT() *MockAuthorizeResponderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizeResponder) GetCode Uses

func (m *MockAuthorizeResponder) GetCode() string

GetCode mocks base method

func (*MockAuthorizeResponder) GetFragment Uses

func (m *MockAuthorizeResponder) GetFragment() url.Values

GetFragment mocks base method

func (*MockAuthorizeResponder) GetHeader Uses

func (m *MockAuthorizeResponder) GetHeader() http.Header

GetHeader mocks base method

func (*MockAuthorizeResponder) GetQuery Uses

func (m *MockAuthorizeResponder) GetQuery() url.Values

GetQuery mocks base method

type MockAuthorizeResponderMockRecorder Uses

type MockAuthorizeResponderMockRecorder struct {
    // contains filtered or unexported fields
}

MockAuthorizeResponderMockRecorder is the mock recorder for MockAuthorizeResponder

func (*MockAuthorizeResponderMockRecorder) AddFragment Uses

func (mr *MockAuthorizeResponderMockRecorder) AddFragment(arg0, arg1 interface{}) *gomock.Call

AddFragment indicates an expected call of AddFragment

func (*MockAuthorizeResponderMockRecorder) AddHeader Uses

func (mr *MockAuthorizeResponderMockRecorder) AddHeader(arg0, arg1 interface{}) *gomock.Call

AddHeader indicates an expected call of AddHeader

func (*MockAuthorizeResponderMockRecorder) AddQuery Uses

func (mr *MockAuthorizeResponderMockRecorder) AddQuery(arg0, arg1 interface{}) *gomock.Call

AddQuery indicates an expected call of AddQuery

func (*MockAuthorizeResponderMockRecorder) GetCode Uses

func (mr *MockAuthorizeResponderMockRecorder) GetCode() *gomock.Call

GetCode indicates an expected call of GetCode

func (*MockAuthorizeResponderMockRecorder) GetFragment Uses

func (mr *MockAuthorizeResponderMockRecorder) GetFragment() *gomock.Call

GetFragment indicates an expected call of GetFragment

func (*MockAuthorizeResponderMockRecorder) GetHeader Uses

func (mr *MockAuthorizeResponderMockRecorder) GetHeader() *gomock.Call

GetHeader indicates an expected call of GetHeader

func (*MockAuthorizeResponderMockRecorder) GetQuery Uses

func (mr *MockAuthorizeResponderMockRecorder) GetQuery() *gomock.Call

GetQuery indicates an expected call of GetQuery

type MockClient Uses

type MockClient struct {
    // contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient Uses

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) EXPECT Uses

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) GetAudience Uses

func (m *MockClient) GetAudience() fosite.Arguments

GetAudience mocks base method

func (*MockClient) GetGrantTypes Uses

func (m *MockClient) GetGrantTypes() fosite.Arguments

GetGrantTypes mocks base method

func (*MockClient) GetHashedSecret Uses

func (m *MockClient) GetHashedSecret() []byte

GetHashedSecret mocks base method

func (*MockClient) GetID Uses

func (m *MockClient) GetID() string

GetID mocks base method

func (*MockClient) GetRedirectURIs Uses

func (m *MockClient) GetRedirectURIs() []string

GetRedirectURIs mocks base method

func (*MockClient) GetResponseTypes Uses

func (m *MockClient) GetResponseTypes() fosite.Arguments

GetResponseTypes mocks base method

func (*MockClient) GetScopes Uses

func (m *MockClient) GetScopes() fosite.Arguments

GetScopes mocks base method

func (*MockClient) IsPublic Uses

func (m *MockClient) IsPublic() bool

IsPublic mocks base method

type MockClientCredentialsGrantStorage Uses

type MockClientCredentialsGrantStorage struct {
    // contains filtered or unexported fields
}

MockClientCredentialsGrantStorage is a mock of ClientCredentialsGrantStorage interface

func NewMockClientCredentialsGrantStorage Uses

func NewMockClientCredentialsGrantStorage(ctrl *gomock.Controller) *MockClientCredentialsGrantStorage

NewMockClientCredentialsGrantStorage creates a new mock instance

func (*MockClientCredentialsGrantStorage) CreateAccessTokenSession Uses

func (m *MockClientCredentialsGrantStorage) CreateAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAccessTokenSession mocks base method

func (*MockClientCredentialsGrantStorage) DeleteAccessTokenSession Uses

func (m *MockClientCredentialsGrantStorage) DeleteAccessTokenSession(arg0 context.Context, arg1 string) error

DeleteAccessTokenSession mocks base method

func (*MockClientCredentialsGrantStorage) EXPECT Uses

func (m *MockClientCredentialsGrantStorage) EXPECT() *MockClientCredentialsGrantStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClientCredentialsGrantStorage) GetAccessTokenSession Uses

func (m *MockClientCredentialsGrantStorage) GetAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAccessTokenSession mocks base method

type MockClientCredentialsGrantStorageMockRecorder Uses

type MockClientCredentialsGrantStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockClientCredentialsGrantStorageMockRecorder is the mock recorder for MockClientCredentialsGrantStorage

func (*MockClientCredentialsGrantStorageMockRecorder) CreateAccessTokenSession Uses

func (mr *MockClientCredentialsGrantStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockClientCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession Uses

func (mr *MockClientCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockClientCredentialsGrantStorageMockRecorder) GetAccessTokenSession Uses

func (mr *MockClientCredentialsGrantStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

type MockClientMockRecorder Uses

type MockClientMockRecorder struct {
    // contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) GetAudience Uses

func (mr *MockClientMockRecorder) GetAudience() *gomock.Call

GetAudience indicates an expected call of GetAudience

func (*MockClientMockRecorder) GetGrantTypes Uses

func (mr *MockClientMockRecorder) GetGrantTypes() *gomock.Call

GetGrantTypes indicates an expected call of GetGrantTypes

func (*MockClientMockRecorder) GetHashedSecret Uses

func (mr *MockClientMockRecorder) GetHashedSecret() *gomock.Call

GetHashedSecret indicates an expected call of GetHashedSecret

func (*MockClientMockRecorder) GetID Uses

func (mr *MockClientMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockClientMockRecorder) GetRedirectURIs Uses

func (mr *MockClientMockRecorder) GetRedirectURIs() *gomock.Call

GetRedirectURIs indicates an expected call of GetRedirectURIs

func (*MockClientMockRecorder) GetResponseTypes Uses

func (mr *MockClientMockRecorder) GetResponseTypes() *gomock.Call

GetResponseTypes indicates an expected call of GetResponseTypes

func (*MockClientMockRecorder) GetScopes Uses

func (mr *MockClientMockRecorder) GetScopes() *gomock.Call

GetScopes indicates an expected call of GetScopes

func (*MockClientMockRecorder) IsPublic Uses

func (mr *MockClientMockRecorder) IsPublic() *gomock.Call

IsPublic indicates an expected call of IsPublic

type MockCoreStorage Uses

type MockCoreStorage struct {
    // contains filtered or unexported fields
}

MockCoreStorage is a mock of CoreStorage interface

func NewMockCoreStorage Uses

func NewMockCoreStorage(ctrl *gomock.Controller) *MockCoreStorage

NewMockCoreStorage creates a new mock instance

func (*MockCoreStorage) CreateAccessTokenSession Uses

func (m *MockCoreStorage) CreateAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAccessTokenSession mocks base method

func (*MockCoreStorage) CreateAuthorizeCodeSession Uses

func (m *MockCoreStorage) CreateAuthorizeCodeSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAuthorizeCodeSession mocks base method

func (*MockCoreStorage) CreateRefreshTokenSession Uses

func (m *MockCoreStorage) CreateRefreshTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateRefreshTokenSession mocks base method

func (*MockCoreStorage) DeleteAccessTokenSession Uses

func (m *MockCoreStorage) DeleteAccessTokenSession(arg0 context.Context, arg1 string) error

DeleteAccessTokenSession mocks base method

func (*MockCoreStorage) DeleteRefreshTokenSession Uses

func (m *MockCoreStorage) DeleteRefreshTokenSession(arg0 context.Context, arg1 string) error

DeleteRefreshTokenSession mocks base method

func (*MockCoreStorage) EXPECT Uses

func (m *MockCoreStorage) EXPECT() *MockCoreStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCoreStorage) GetAccessTokenSession Uses

func (m *MockCoreStorage) GetAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAccessTokenSession mocks base method

func (*MockCoreStorage) GetAuthorizeCodeSession Uses

func (m *MockCoreStorage) GetAuthorizeCodeSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAuthorizeCodeSession mocks base method

func (*MockCoreStorage) GetRefreshTokenSession Uses

func (m *MockCoreStorage) GetRefreshTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetRefreshTokenSession mocks base method

func (*MockCoreStorage) InvalidateAuthorizeCodeSession Uses

func (m *MockCoreStorage) InvalidateAuthorizeCodeSession(arg0 context.Context, arg1 string) error

InvalidateAuthorizeCodeSession mocks base method

type MockCoreStorageMockRecorder Uses

type MockCoreStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockCoreStorageMockRecorder is the mock recorder for MockCoreStorage

func (*MockCoreStorageMockRecorder) CreateAccessTokenSession Uses

func (mr *MockCoreStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockCoreStorageMockRecorder) CreateAuthorizeCodeSession Uses

func (mr *MockCoreStorageMockRecorder) CreateAuthorizeCodeSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAuthorizeCodeSession indicates an expected call of CreateAuthorizeCodeSession

func (*MockCoreStorageMockRecorder) CreateRefreshTokenSession Uses

func (mr *MockCoreStorageMockRecorder) CreateRefreshTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateRefreshTokenSession indicates an expected call of CreateRefreshTokenSession

func (*MockCoreStorageMockRecorder) DeleteAccessTokenSession Uses

func (mr *MockCoreStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockCoreStorageMockRecorder) DeleteRefreshTokenSession Uses

func (mr *MockCoreStorageMockRecorder) DeleteRefreshTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteRefreshTokenSession indicates an expected call of DeleteRefreshTokenSession

func (*MockCoreStorageMockRecorder) GetAccessTokenSession Uses

func (mr *MockCoreStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

func (*MockCoreStorageMockRecorder) GetAuthorizeCodeSession Uses

func (mr *MockCoreStorageMockRecorder) GetAuthorizeCodeSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAuthorizeCodeSession indicates an expected call of GetAuthorizeCodeSession

func (*MockCoreStorageMockRecorder) GetRefreshTokenSession Uses

func (mr *MockCoreStorageMockRecorder) GetRefreshTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetRefreshTokenSession indicates an expected call of GetRefreshTokenSession

func (*MockCoreStorageMockRecorder) InvalidateAuthorizeCodeSession Uses

func (mr *MockCoreStorageMockRecorder) InvalidateAuthorizeCodeSession(arg0, arg1 interface{}) *gomock.Call

InvalidateAuthorizeCodeSession indicates an expected call of InvalidateAuthorizeCodeSession

type MockCoreStrategy Uses

type MockCoreStrategy struct {
    // contains filtered or unexported fields
}

MockCoreStrategy is a mock of CoreStrategy interface

func NewMockCoreStrategy Uses

func NewMockCoreStrategy(ctrl *gomock.Controller) *MockCoreStrategy

NewMockCoreStrategy creates a new mock instance

func (*MockCoreStrategy) AccessTokenSignature Uses

func (m *MockCoreStrategy) AccessTokenSignature(arg0 string) string

AccessTokenSignature mocks base method

func (*MockCoreStrategy) AuthorizeCodeSignature Uses

func (m *MockCoreStrategy) AuthorizeCodeSignature(arg0 string) string

AuthorizeCodeSignature mocks base method

func (*MockCoreStrategy) EXPECT Uses

func (m *MockCoreStrategy) EXPECT() *MockCoreStrategyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCoreStrategy) GenerateAccessToken Uses

func (m *MockCoreStrategy) GenerateAccessToken(arg0 context.Context, arg1 fosite.Requester) (string, string, error)

GenerateAccessToken mocks base method

func (*MockCoreStrategy) GenerateAuthorizeCode Uses

func (m *MockCoreStrategy) GenerateAuthorizeCode(arg0 context.Context, arg1 fosite.Requester) (string, string, error)

GenerateAuthorizeCode mocks base method

func (*MockCoreStrategy) GenerateRefreshToken Uses

func (m *MockCoreStrategy) GenerateRefreshToken(arg0 context.Context, arg1 fosite.Requester) (string, string, error)

GenerateRefreshToken mocks base method

func (*MockCoreStrategy) RefreshTokenSignature Uses

func (m *MockCoreStrategy) RefreshTokenSignature(arg0 string) string

RefreshTokenSignature mocks base method

func (*MockCoreStrategy) ValidateAccessToken Uses

func (m *MockCoreStrategy) ValidateAccessToken(arg0 context.Context, arg1 fosite.Requester, arg2 string) error

ValidateAccessToken mocks base method

func (*MockCoreStrategy) ValidateAuthorizeCode Uses

func (m *MockCoreStrategy) ValidateAuthorizeCode(arg0 context.Context, arg1 fosite.Requester, arg2 string) error

ValidateAuthorizeCode mocks base method

func (*MockCoreStrategy) ValidateRefreshToken Uses

func (m *MockCoreStrategy) ValidateRefreshToken(arg0 context.Context, arg1 fosite.Requester, arg2 string) error

ValidateRefreshToken mocks base method

type MockCoreStrategyMockRecorder Uses

type MockCoreStrategyMockRecorder struct {
    // contains filtered or unexported fields
}

MockCoreStrategyMockRecorder is the mock recorder for MockCoreStrategy

func (*MockCoreStrategyMockRecorder) AccessTokenSignature Uses

func (mr *MockCoreStrategyMockRecorder) AccessTokenSignature(arg0 interface{}) *gomock.Call

AccessTokenSignature indicates an expected call of AccessTokenSignature

func (*MockCoreStrategyMockRecorder) AuthorizeCodeSignature Uses

func (mr *MockCoreStrategyMockRecorder) AuthorizeCodeSignature(arg0 interface{}) *gomock.Call

AuthorizeCodeSignature indicates an expected call of AuthorizeCodeSignature

func (*MockCoreStrategyMockRecorder) GenerateAccessToken Uses

func (mr *MockCoreStrategyMockRecorder) GenerateAccessToken(arg0, arg1 interface{}) *gomock.Call

GenerateAccessToken indicates an expected call of GenerateAccessToken

func (*MockCoreStrategyMockRecorder) GenerateAuthorizeCode Uses

func (mr *MockCoreStrategyMockRecorder) GenerateAuthorizeCode(arg0, arg1 interface{}) *gomock.Call

GenerateAuthorizeCode indicates an expected call of GenerateAuthorizeCode

func (*MockCoreStrategyMockRecorder) GenerateRefreshToken Uses

func (mr *MockCoreStrategyMockRecorder) GenerateRefreshToken(arg0, arg1 interface{}) *gomock.Call

GenerateRefreshToken indicates an expected call of GenerateRefreshToken

func (*MockCoreStrategyMockRecorder) RefreshTokenSignature Uses

func (mr *MockCoreStrategyMockRecorder) RefreshTokenSignature(arg0 interface{}) *gomock.Call

RefreshTokenSignature indicates an expected call of RefreshTokenSignature

func (*MockCoreStrategyMockRecorder) ValidateAccessToken Uses

func (mr *MockCoreStrategyMockRecorder) ValidateAccessToken(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateAccessToken indicates an expected call of ValidateAccessToken

func (*MockCoreStrategyMockRecorder) ValidateAuthorizeCode Uses

func (mr *MockCoreStrategyMockRecorder) ValidateAuthorizeCode(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateAuthorizeCode indicates an expected call of ValidateAuthorizeCode

func (*MockCoreStrategyMockRecorder) ValidateRefreshToken Uses

func (mr *MockCoreStrategyMockRecorder) ValidateRefreshToken(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateRefreshToken indicates an expected call of ValidateRefreshToken

type MockHasher Uses

type MockHasher struct {
    // contains filtered or unexported fields
}

MockHasher is a mock of Hasher interface

func NewMockHasher Uses

func NewMockHasher(ctrl *gomock.Controller) *MockHasher

NewMockHasher creates a new mock instance

func (*MockHasher) Compare Uses

func (m *MockHasher) Compare(arg0 context.Context, arg1, arg2 []byte) error

Compare mocks base method

func (*MockHasher) EXPECT Uses

func (m *MockHasher) EXPECT() *MockHasherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHasher) Hash Uses

func (m *MockHasher) Hash(arg0 context.Context, arg1 []byte) ([]byte, error)

Hash mocks base method

type MockHasherMockRecorder Uses

type MockHasherMockRecorder struct {
    // contains filtered or unexported fields
}

MockHasherMockRecorder is the mock recorder for MockHasher

func (*MockHasherMockRecorder) Compare Uses

func (mr *MockHasherMockRecorder) Compare(arg0, arg1, arg2 interface{}) *gomock.Call

Compare indicates an expected call of Compare

func (*MockHasherMockRecorder) Hash Uses

func (mr *MockHasherMockRecorder) Hash(arg0, arg1 interface{}) *gomock.Call

Hash indicates an expected call of Hash

type MockOpenIDConnectRequestStorage Uses

type MockOpenIDConnectRequestStorage struct {
    // contains filtered or unexported fields
}

MockOpenIDConnectRequestStorage is a mock of OpenIDConnectRequestStorage interface

func NewMockOpenIDConnectRequestStorage Uses

func NewMockOpenIDConnectRequestStorage(ctrl *gomock.Controller) *MockOpenIDConnectRequestStorage

NewMockOpenIDConnectRequestStorage creates a new mock instance

func (*MockOpenIDConnectRequestStorage) CreateOpenIDConnectSession Uses

func (m *MockOpenIDConnectRequestStorage) CreateOpenIDConnectSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateOpenIDConnectSession mocks base method

func (*MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession Uses

func (m *MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession(arg0 context.Context, arg1 string) error

DeleteOpenIDConnectSession mocks base method

func (*MockOpenIDConnectRequestStorage) EXPECT Uses

func (m *MockOpenIDConnectRequestStorage) EXPECT() *MockOpenIDConnectRequestStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOpenIDConnectRequestStorage) GetOpenIDConnectSession Uses

func (m *MockOpenIDConnectRequestStorage) GetOpenIDConnectSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) (fosite.Requester, error)

GetOpenIDConnectSession mocks base method

type MockOpenIDConnectRequestStorageMockRecorder Uses

type MockOpenIDConnectRequestStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockOpenIDConnectRequestStorageMockRecorder is the mock recorder for MockOpenIDConnectRequestStorage

func (*MockOpenIDConnectRequestStorageMockRecorder) CreateOpenIDConnectSession Uses

func (mr *MockOpenIDConnectRequestStorageMockRecorder) CreateOpenIDConnectSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateOpenIDConnectSession indicates an expected call of CreateOpenIDConnectSession

func (*MockOpenIDConnectRequestStorageMockRecorder) DeleteOpenIDConnectSession Uses

func (mr *MockOpenIDConnectRequestStorageMockRecorder) DeleteOpenIDConnectSession(arg0, arg1 interface{}) *gomock.Call

DeleteOpenIDConnectSession indicates an expected call of DeleteOpenIDConnectSession

func (*MockOpenIDConnectRequestStorageMockRecorder) GetOpenIDConnectSession Uses

func (mr *MockOpenIDConnectRequestStorageMockRecorder) GetOpenIDConnectSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetOpenIDConnectSession indicates an expected call of GetOpenIDConnectSession

type MockOpenIDConnectTokenStrategy Uses

type MockOpenIDConnectTokenStrategy struct {
    // contains filtered or unexported fields
}

MockOpenIDConnectTokenStrategy is a mock of OpenIDConnectTokenStrategy interface

func NewMockOpenIDConnectTokenStrategy Uses

func NewMockOpenIDConnectTokenStrategy(ctrl *gomock.Controller) *MockOpenIDConnectTokenStrategy

NewMockOpenIDConnectTokenStrategy creates a new mock instance

func (*MockOpenIDConnectTokenStrategy) EXPECT Uses

func (m *MockOpenIDConnectTokenStrategy) EXPECT() *MockOpenIDConnectTokenStrategyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOpenIDConnectTokenStrategy) GenerateIDToken Uses

func (m *MockOpenIDConnectTokenStrategy) GenerateIDToken(arg0 context.Context, arg1 fosite.Requester) (string, error)

GenerateIDToken mocks base method

type MockOpenIDConnectTokenStrategyMockRecorder Uses

type MockOpenIDConnectTokenStrategyMockRecorder struct {
    // contains filtered or unexported fields
}

MockOpenIDConnectTokenStrategyMockRecorder is the mock recorder for MockOpenIDConnectTokenStrategy

func (*MockOpenIDConnectTokenStrategyMockRecorder) GenerateIDToken Uses

func (mr *MockOpenIDConnectTokenStrategyMockRecorder) GenerateIDToken(arg0, arg1 interface{}) *gomock.Call

GenerateIDToken indicates an expected call of GenerateIDToken

type MockPKCERequestStorage Uses

type MockPKCERequestStorage struct {
    // contains filtered or unexported fields
}

MockPKCERequestStorage is a mock of PKCERequestStorage interface

func NewMockPKCERequestStorage Uses

func NewMockPKCERequestStorage(ctrl *gomock.Controller) *MockPKCERequestStorage

NewMockPKCERequestStorage creates a new mock instance

func (*MockPKCERequestStorage) CreatePKCERequestSession Uses

func (m *MockPKCERequestStorage) CreatePKCERequestSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreatePKCERequestSession mocks base method

func (*MockPKCERequestStorage) DeletePKCERequestSession Uses

func (m *MockPKCERequestStorage) DeletePKCERequestSession(arg0 context.Context, arg1 string) error

DeletePKCERequestSession mocks base method

func (*MockPKCERequestStorage) EXPECT Uses

func (m *MockPKCERequestStorage) EXPECT() *MockPKCERequestStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPKCERequestStorage) GetPKCERequestSession Uses

func (m *MockPKCERequestStorage) GetPKCERequestSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetPKCERequestSession mocks base method

type MockPKCERequestStorageMockRecorder Uses

type MockPKCERequestStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockPKCERequestStorageMockRecorder is the mock recorder for MockPKCERequestStorage

func (*MockPKCERequestStorageMockRecorder) CreatePKCERequestSession Uses

func (mr *MockPKCERequestStorageMockRecorder) CreatePKCERequestSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreatePKCERequestSession indicates an expected call of CreatePKCERequestSession

func (*MockPKCERequestStorageMockRecorder) DeletePKCERequestSession Uses

func (mr *MockPKCERequestStorageMockRecorder) DeletePKCERequestSession(arg0, arg1 interface{}) *gomock.Call

DeletePKCERequestSession indicates an expected call of DeletePKCERequestSession

func (*MockPKCERequestStorageMockRecorder) GetPKCERequestSession Uses

func (mr *MockPKCERequestStorageMockRecorder) GetPKCERequestSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetPKCERequestSession indicates an expected call of GetPKCERequestSession

type MockRefreshTokenGrantStorage Uses

type MockRefreshTokenGrantStorage struct {
    // contains filtered or unexported fields
}

Mock of RefreshTokenGrantStorage interface

func NewMockRefreshTokenGrantStorage Uses

func NewMockRefreshTokenGrantStorage(ctrl *gomock.Controller) *MockRefreshTokenGrantStorage

func (*MockRefreshTokenGrantStorage) CreateRefreshTokenSession Uses

func (_m *MockRefreshTokenGrantStorage) CreateRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error

func (*MockRefreshTokenGrantStorage) DeleteRefreshTokenSession Uses

func (_m *MockRefreshTokenGrantStorage) DeleteRefreshTokenSession(_param0 context.Context, _param1 string) error

func (*MockRefreshTokenGrantStorage) EXPECT Uses

func (_m *MockRefreshTokenGrantStorage) EXPECT() *_MockRefreshTokenGrantStorageRecorder

func (*MockRefreshTokenGrantStorage) GetRefreshTokenSession Uses

func (_m *MockRefreshTokenGrantStorage) GetRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Session) (fosite.Requester, error)

func (*MockRefreshTokenGrantStorage) PersistRefreshTokenGrantSession Uses

func (_m *MockRefreshTokenGrantStorage) PersistRefreshTokenGrantSession(_param0 context.Context, _param1 string, _param2 string, _param3 string, _param4 fosite.Requester) error

type MockRefreshTokenStrategy Uses

type MockRefreshTokenStrategy struct {
    // contains filtered or unexported fields
}

MockRefreshTokenStrategy is a mock of RefreshTokenStrategy interface

func NewMockRefreshTokenStrategy Uses

func NewMockRefreshTokenStrategy(ctrl *gomock.Controller) *MockRefreshTokenStrategy

NewMockRefreshTokenStrategy creates a new mock instance

func (*MockRefreshTokenStrategy) EXPECT Uses

func (m *MockRefreshTokenStrategy) EXPECT() *MockRefreshTokenStrategyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRefreshTokenStrategy) GenerateRefreshToken Uses

func (m *MockRefreshTokenStrategy) GenerateRefreshToken(arg0 context.Context, arg1 fosite.Requester) (string, string, error)

GenerateRefreshToken mocks base method

func (*MockRefreshTokenStrategy) RefreshTokenSignature Uses

func (m *MockRefreshTokenStrategy) RefreshTokenSignature(arg0 string) string

RefreshTokenSignature mocks base method

func (*MockRefreshTokenStrategy) ValidateRefreshToken Uses

func (m *MockRefreshTokenStrategy) ValidateRefreshToken(arg0 context.Context, arg1 fosite.Requester, arg2 string) error

ValidateRefreshToken mocks base method

type MockRefreshTokenStrategyMockRecorder Uses

type MockRefreshTokenStrategyMockRecorder struct {
    // contains filtered or unexported fields
}

MockRefreshTokenStrategyMockRecorder is the mock recorder for MockRefreshTokenStrategy

func (*MockRefreshTokenStrategyMockRecorder) GenerateRefreshToken Uses

func (mr *MockRefreshTokenStrategyMockRecorder) GenerateRefreshToken(arg0, arg1 interface{}) *gomock.Call

GenerateRefreshToken indicates an expected call of GenerateRefreshToken

func (*MockRefreshTokenStrategyMockRecorder) RefreshTokenSignature Uses

func (mr *MockRefreshTokenStrategyMockRecorder) RefreshTokenSignature(arg0 interface{}) *gomock.Call

RefreshTokenSignature indicates an expected call of RefreshTokenSignature

func (*MockRefreshTokenStrategyMockRecorder) ValidateRefreshToken Uses

func (mr *MockRefreshTokenStrategyMockRecorder) ValidateRefreshToken(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateRefreshToken indicates an expected call of ValidateRefreshToken

type MockRequester Uses

type MockRequester struct {
    // contains filtered or unexported fields
}

MockRequester is a mock of Requester interface

func NewMockRequester Uses

func NewMockRequester(ctrl *gomock.Controller) *MockRequester

NewMockRequester creates a new mock instance

func (*MockRequester) AppendRequestedScope Uses

func (m *MockRequester) AppendRequestedScope(arg0 string)

AppendRequestedScope mocks base method

func (*MockRequester) EXPECT Uses

func (m *MockRequester) EXPECT() *MockRequesterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRequester) GetClient Uses

func (m *MockRequester) GetClient() fosite.Client

GetClient mocks base method

func (*MockRequester) GetGrantedAudience Uses

func (m *MockRequester) GetGrantedAudience() fosite.Arguments

GetGrantedAudience mocks base method

func (*MockRequester) GetGrantedScopes Uses

func (m *MockRequester) GetGrantedScopes() fosite.Arguments

GetGrantedScopes mocks base method

func (*MockRequester) GetID Uses

func (m *MockRequester) GetID() string

GetID mocks base method

func (*MockRequester) GetRequestForm Uses

func (m *MockRequester) GetRequestForm() url.Values

GetRequestForm mocks base method

func (*MockRequester) GetRequestedAt Uses

func (m *MockRequester) GetRequestedAt() time.Time

GetRequestedAt mocks base method

func (*MockRequester) GetRequestedAudience Uses

func (m *MockRequester) GetRequestedAudience() fosite.Arguments

GetRequestedAudience mocks base method

func (*MockRequester) GetRequestedScopes Uses

func (m *MockRequester) GetRequestedScopes() fosite.Arguments

GetRequestedScopes mocks base method

func (*MockRequester) GetSession Uses

func (m *MockRequester) GetSession() fosite.Session

GetSession mocks base method

func (*MockRequester) GrantAudience Uses

func (m *MockRequester) GrantAudience(arg0 string)

GrantAudience mocks base method

func (*MockRequester) GrantScope Uses

func (m *MockRequester) GrantScope(arg0 string)

GrantScope mocks base method

func (*MockRequester) Merge Uses

func (m *MockRequester) Merge(arg0 fosite.Requester)

Merge mocks base method

func (*MockRequester) Sanitize Uses

func (m *MockRequester) Sanitize(arg0 []string) fosite.Requester

Sanitize mocks base method

func (*MockRequester) SetID Uses

func (m *MockRequester) SetID(arg0 string)

SetID mocks base method

func (*MockRequester) SetRequestedAudience Uses

func (m *MockRequester) SetRequestedAudience(arg0 fosite.Arguments)

SetRequestedAudience mocks base method

func (*MockRequester) SetRequestedScopes Uses

func (m *MockRequester) SetRequestedScopes(arg0 fosite.Arguments)

SetRequestedScopes mocks base method

func (*MockRequester) SetSession Uses

func (m *MockRequester) SetSession(arg0 fosite.Session)

SetSession mocks base method

type MockRequesterMockRecorder Uses

type MockRequesterMockRecorder struct {
    // contains filtered or unexported fields
}

MockRequesterMockRecorder is the mock recorder for MockRequester

func (*MockRequesterMockRecorder) AppendRequestedScope Uses

func (mr *MockRequesterMockRecorder) AppendRequestedScope(arg0 interface{}) *gomock.Call

AppendRequestedScope indicates an expected call of AppendRequestedScope

func (*MockRequesterMockRecorder) GetClient Uses

func (mr *MockRequesterMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient

func (*MockRequesterMockRecorder) GetGrantedAudience Uses

func (mr *MockRequesterMockRecorder) GetGrantedAudience() *gomock.Call

GetGrantedAudience indicates an expected call of GetGrantedAudience

func (*MockRequesterMockRecorder) GetGrantedScopes Uses

func (mr *MockRequesterMockRecorder) GetGrantedScopes() *gomock.Call

GetGrantedScopes indicates an expected call of GetGrantedScopes

func (*MockRequesterMockRecorder) GetID Uses

func (mr *MockRequesterMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockRequesterMockRecorder) GetRequestForm Uses

func (mr *MockRequesterMockRecorder) GetRequestForm() *gomock.Call

GetRequestForm indicates an expected call of GetRequestForm

func (*MockRequesterMockRecorder) GetRequestedAt Uses

func (mr *MockRequesterMockRecorder) GetRequestedAt() *gomock.Call

GetRequestedAt indicates an expected call of GetRequestedAt

func (*MockRequesterMockRecorder) GetRequestedAudience Uses

func (mr *MockRequesterMockRecorder) GetRequestedAudience() *gomock.Call

GetRequestedAudience indicates an expected call of GetRequestedAudience

func (*MockRequesterMockRecorder) GetRequestedScopes Uses

func (mr *MockRequesterMockRecorder) GetRequestedScopes() *gomock.Call

GetRequestedScopes indicates an expected call of GetRequestedScopes

func (*MockRequesterMockRecorder) GetSession Uses

func (mr *MockRequesterMockRecorder) GetSession() *gomock.Call

GetSession indicates an expected call of GetSession

func (*MockRequesterMockRecorder) GrantAudience Uses

func (mr *MockRequesterMockRecorder) GrantAudience(arg0 interface{}) *gomock.Call

GrantAudience indicates an expected call of GrantAudience

func (*MockRequesterMockRecorder) GrantScope Uses

func (mr *MockRequesterMockRecorder) GrantScope(arg0 interface{}) *gomock.Call

GrantScope indicates an expected call of GrantScope

func (*MockRequesterMockRecorder) Merge Uses

func (mr *MockRequesterMockRecorder) Merge(arg0 interface{}) *gomock.Call

Merge indicates an expected call of Merge

func (*MockRequesterMockRecorder) Sanitize Uses

func (mr *MockRequesterMockRecorder) Sanitize(arg0 interface{}) *gomock.Call

Sanitize indicates an expected call of Sanitize

func (*MockRequesterMockRecorder) SetID Uses

func (mr *MockRequesterMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID

func (*MockRequesterMockRecorder) SetRequestedAudience Uses

func (mr *MockRequesterMockRecorder) SetRequestedAudience(arg0 interface{}) *gomock.Call

SetRequestedAudience indicates an expected call of SetRequestedAudience

func (*MockRequesterMockRecorder) SetRequestedScopes Uses

func (mr *MockRequesterMockRecorder) SetRequestedScopes(arg0 interface{}) *gomock.Call

SetRequestedScopes indicates an expected call of SetRequestedScopes

func (*MockRequesterMockRecorder) SetSession Uses

func (mr *MockRequesterMockRecorder) SetSession(arg0 interface{}) *gomock.Call

SetSession indicates an expected call of SetSession

type MockResourceOwnerPasswordCredentialsGrantStorage Uses

type MockResourceOwnerPasswordCredentialsGrantStorage struct {
    // contains filtered or unexported fields
}

MockResourceOwnerPasswordCredentialsGrantStorage is a mock of ResourceOwnerPasswordCredentialsGrantStorage interface

func NewMockResourceOwnerPasswordCredentialsGrantStorage Uses

func NewMockResourceOwnerPasswordCredentialsGrantStorage(ctrl *gomock.Controller) *MockResourceOwnerPasswordCredentialsGrantStorage

NewMockResourceOwnerPasswordCredentialsGrantStorage creates a new mock instance

func (*MockResourceOwnerPasswordCredentialsGrantStorage) Authenticate Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) Authenticate(arg0 context.Context, arg1, arg2 string) error

Authenticate mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) CreateAccessTokenSession Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) CreateAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAccessTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) CreateRefreshTokenSession Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) CreateRefreshTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateRefreshTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) DeleteAccessTokenSession Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) DeleteAccessTokenSession(arg0 context.Context, arg1 string) error

DeleteAccessTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) DeleteRefreshTokenSession Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) DeleteRefreshTokenSession(arg0 context.Context, arg1 string) error

DeleteRefreshTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) EXPECT Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) EXPECT() *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockResourceOwnerPasswordCredentialsGrantStorage) GetAccessTokenSession Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) GetAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAccessTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) GetRefreshTokenSession Uses

func (m *MockResourceOwnerPasswordCredentialsGrantStorage) GetRefreshTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetRefreshTokenSession mocks base method

type MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder Uses

type MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder is the mock recorder for MockResourceOwnerPasswordCredentialsGrantStorage

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) Authenticate Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) Authenticate(arg0, arg1, arg2 interface{}) *gomock.Call

Authenticate indicates an expected call of Authenticate

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) CreateAccessTokenSession Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) CreateRefreshTokenSession Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) CreateRefreshTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateRefreshTokenSession indicates an expected call of CreateRefreshTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) DeleteRefreshTokenSession Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) DeleteRefreshTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteRefreshTokenSession indicates an expected call of DeleteRefreshTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) GetAccessTokenSession Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) GetRefreshTokenSession Uses

func (mr *MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) GetRefreshTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetRefreshTokenSession indicates an expected call of GetRefreshTokenSession

type MockResponseWriter Uses

type MockResponseWriter struct {
    // contains filtered or unexported fields
}

Mock of ResponseWriter interface

func NewMockResponseWriter Uses

func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter

func (*MockResponseWriter) EXPECT Uses

func (_m *MockResponseWriter) EXPECT() *_MockResponseWriterRecorder

func (*MockResponseWriter) Header Uses

func (_m *MockResponseWriter) Header() http.Header

func (*MockResponseWriter) Write Uses

func (_m *MockResponseWriter) Write(_param0 []byte) (int, error)

func (*MockResponseWriter) WriteHeader Uses

func (_m *MockResponseWriter) WriteHeader(_param0 int)

type MockRevocationHandler Uses

type MockRevocationHandler struct {
    // contains filtered or unexported fields
}

MockRevocationHandler is a mock of RevocationHandler interface

func NewMockRevocationHandler Uses

func NewMockRevocationHandler(ctrl *gomock.Controller) *MockRevocationHandler

NewMockRevocationHandler creates a new mock instance

func (*MockRevocationHandler) EXPECT Uses

func (m *MockRevocationHandler) EXPECT() *MockRevocationHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRevocationHandler) RevokeToken Uses

func (m *MockRevocationHandler) RevokeToken(arg0 context.Context, arg1 string, arg2 fosite.TokenType, arg3 fosite.Client) error

RevokeToken mocks base method

type MockRevocationHandlerMockRecorder Uses

type MockRevocationHandlerMockRecorder struct {
    // contains filtered or unexported fields
}

MockRevocationHandlerMockRecorder is the mock recorder for MockRevocationHandler

func (*MockRevocationHandlerMockRecorder) RevokeToken Uses

func (mr *MockRevocationHandlerMockRecorder) RevokeToken(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RevokeToken indicates an expected call of RevokeToken

type MockStorage Uses

type MockStorage struct {
    // contains filtered or unexported fields
}

MockStorage is a mock of Storage interface

func NewMockStorage Uses

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) EXPECT Uses

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStorage) GetClient Uses

func (m *MockStorage) GetClient(arg0 context.Context, arg1 string) (fosite.Client, error)

GetClient mocks base method

type MockStorageMockRecorder Uses

type MockStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) GetClient Uses

func (mr *MockStorageMockRecorder) GetClient(arg0, arg1 interface{}) *gomock.Call

GetClient indicates an expected call of GetClient

type MockTokenEndpointHandler Uses

type MockTokenEndpointHandler struct {
    // contains filtered or unexported fields
}

MockTokenEndpointHandler is a mock of TokenEndpointHandler interface

func NewMockTokenEndpointHandler Uses

func NewMockTokenEndpointHandler(ctrl *gomock.Controller) *MockTokenEndpointHandler

NewMockTokenEndpointHandler creates a new mock instance

func (*MockTokenEndpointHandler) EXPECT Uses

func (m *MockTokenEndpointHandler) EXPECT() *MockTokenEndpointHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTokenEndpointHandler) HandleTokenEndpointRequest Uses

func (m *MockTokenEndpointHandler) HandleTokenEndpointRequest(arg0 context.Context, arg1 fosite.AccessRequester) error

HandleTokenEndpointRequest mocks base method

func (*MockTokenEndpointHandler) PopulateTokenEndpointResponse Uses

func (m *MockTokenEndpointHandler) PopulateTokenEndpointResponse(arg0 context.Context, arg1 fosite.AccessRequester, arg2 fosite.AccessResponder) error

PopulateTokenEndpointResponse mocks base method

type MockTokenEndpointHandlerMockRecorder Uses

type MockTokenEndpointHandlerMockRecorder struct {
    // contains filtered or unexported fields
}

MockTokenEndpointHandlerMockRecorder is the mock recorder for MockTokenEndpointHandler

func (*MockTokenEndpointHandlerMockRecorder) HandleTokenEndpointRequest Uses

func (mr *MockTokenEndpointHandlerMockRecorder) HandleTokenEndpointRequest(arg0, arg1 interface{}) *gomock.Call

HandleTokenEndpointRequest indicates an expected call of HandleTokenEndpointRequest

func (*MockTokenEndpointHandlerMockRecorder) PopulateTokenEndpointResponse Uses

func (mr *MockTokenEndpointHandlerMockRecorder) PopulateTokenEndpointResponse(arg0, arg1, arg2 interface{}) *gomock.Call

PopulateTokenEndpointResponse indicates an expected call of PopulateTokenEndpointResponse

type MockTokenIntrospector Uses

type MockTokenIntrospector struct {
    // contains filtered or unexported fields
}

MockTokenIntrospector is a mock of TokenIntrospector interface

func NewMockTokenIntrospector Uses

func NewMockTokenIntrospector(ctrl *gomock.Controller) *MockTokenIntrospector

NewMockTokenIntrospector creates a new mock instance

func (*MockTokenIntrospector) EXPECT Uses

func (m *MockTokenIntrospector) EXPECT() *MockTokenIntrospectorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTokenIntrospector) IntrospectToken Uses

func (m *MockTokenIntrospector) IntrospectToken(arg0 context.Context, arg1 string, arg2 fosite.TokenType, arg3 fosite.AccessRequester, arg4 []string) (fosite.TokenType, error)

IntrospectToken mocks base method

type MockTokenIntrospectorMockRecorder Uses

type MockTokenIntrospectorMockRecorder struct {
    // contains filtered or unexported fields
}

MockTokenIntrospectorMockRecorder is the mock recorder for MockTokenIntrospector

func (*MockTokenIntrospectorMockRecorder) IntrospectToken Uses

func (mr *MockTokenIntrospectorMockRecorder) IntrospectToken(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

IntrospectToken indicates an expected call of IntrospectToken

type MockTokenRevocationStorage Uses

type MockTokenRevocationStorage struct {
    // contains filtered or unexported fields
}

MockTokenRevocationStorage is a mock of TokenRevocationStorage interface

func NewMockTokenRevocationStorage Uses

func NewMockTokenRevocationStorage(ctrl *gomock.Controller) *MockTokenRevocationStorage

NewMockTokenRevocationStorage creates a new mock instance

func (*MockTokenRevocationStorage) CreateAccessTokenSession Uses

func (m *MockTokenRevocationStorage) CreateAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateAccessTokenSession mocks base method

func (*MockTokenRevocationStorage) CreateRefreshTokenSession Uses

func (m *MockTokenRevocationStorage) CreateRefreshTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Requester) error

CreateRefreshTokenSession mocks base method

func (*MockTokenRevocationStorage) DeleteAccessTokenSession Uses

func (m *MockTokenRevocationStorage) DeleteAccessTokenSession(arg0 context.Context, arg1 string) error

DeleteAccessTokenSession mocks base method

func (*MockTokenRevocationStorage) DeleteRefreshTokenSession Uses

func (m *MockTokenRevocationStorage) DeleteRefreshTokenSession(arg0 context.Context, arg1 string) error

DeleteRefreshTokenSession mocks base method

func (*MockTokenRevocationStorage) EXPECT Uses

func (m *MockTokenRevocationStorage) EXPECT() *MockTokenRevocationStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTokenRevocationStorage) GetAccessTokenSession Uses

func (m *MockTokenRevocationStorage) GetAccessTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetAccessTokenSession mocks base method

func (*MockTokenRevocationStorage) GetRefreshTokenSession Uses

func (m *MockTokenRevocationStorage) GetRefreshTokenSession(arg0 context.Context, arg1 string, arg2 fosite.Session) (fosite.Requester, error)

GetRefreshTokenSession mocks base method

func (*MockTokenRevocationStorage) RevokeAccessToken Uses

func (m *MockTokenRevocationStorage) RevokeAccessToken(arg0 context.Context, arg1 string) error

RevokeAccessToken mocks base method

func (*MockTokenRevocationStorage) RevokeRefreshToken Uses

func (m *MockTokenRevocationStorage) RevokeRefreshToken(arg0 context.Context, arg1 string) error

RevokeRefreshToken mocks base method

type MockTokenRevocationStorageMockRecorder Uses

type MockTokenRevocationStorageMockRecorder struct {
    // contains filtered or unexported fields
}

MockTokenRevocationStorageMockRecorder is the mock recorder for MockTokenRevocationStorage

func (*MockTokenRevocationStorageMockRecorder) CreateAccessTokenSession Uses

func (mr *MockTokenRevocationStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockTokenRevocationStorageMockRecorder) CreateRefreshTokenSession Uses

func (mr *MockTokenRevocationStorageMockRecorder) CreateRefreshTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

CreateRefreshTokenSession indicates an expected call of CreateRefreshTokenSession

func (*MockTokenRevocationStorageMockRecorder) DeleteAccessTokenSession Uses

func (mr *MockTokenRevocationStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockTokenRevocationStorageMockRecorder) DeleteRefreshTokenSession Uses

func (mr *MockTokenRevocationStorageMockRecorder) DeleteRefreshTokenSession(arg0, arg1 interface{}) *gomock.Call

DeleteRefreshTokenSession indicates an expected call of DeleteRefreshTokenSession

func (*MockTokenRevocationStorageMockRecorder) GetAccessTokenSession Uses

func (mr *MockTokenRevocationStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

func (*MockTokenRevocationStorageMockRecorder) GetRefreshTokenSession Uses

func (mr *MockTokenRevocationStorageMockRecorder) GetRefreshTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call

GetRefreshTokenSession indicates an expected call of GetRefreshTokenSession

func (*MockTokenRevocationStorageMockRecorder) RevokeAccessToken Uses

func (mr *MockTokenRevocationStorageMockRecorder) RevokeAccessToken(arg0, arg1 interface{}) *gomock.Call

RevokeAccessToken indicates an expected call of RevokeAccessToken

func (*MockTokenRevocationStorageMockRecorder) RevokeRefreshToken Uses

func (mr *MockTokenRevocationStorageMockRecorder) RevokeRefreshToken(arg0, arg1 interface{}) *gomock.Call

RevokeRefreshToken indicates an expected call of RevokeRefreshToken

type MockTransactional Uses

type MockTransactional struct {
    // contains filtered or unexported fields
}

MockTransactional is a mock of Transactional interface

func NewMockTransactional Uses

func NewMockTransactional(ctrl *gomock.Controller) *MockTransactional

NewMockTransactional creates a new mock instance

func (*MockTransactional) BeginTX Uses

func (m *MockTransactional) BeginTX(arg0 context.Context) (context.Context, error)

BeginTX mocks base method

func (*MockTransactional) Commit Uses

func (m *MockTransactional) Commit(arg0 context.Context) error

Commit mocks base method

func (*MockTransactional) EXPECT Uses

func (m *MockTransactional) EXPECT() *MockTransactionalMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransactional) Rollback Uses

func (m *MockTransactional) Rollback(arg0 context.Context) error

Rollback mocks base method

type MockTransactionalMockRecorder Uses

type MockTransactionalMockRecorder struct {
    // contains filtered or unexported fields
}

MockTransactionalMockRecorder is the mock recorder for MockTransactional

func (*MockTransactionalMockRecorder) BeginTX Uses

func (mr *MockTransactionalMockRecorder) BeginTX(arg0 interface{}) *gomock.Call

BeginTX indicates an expected call of BeginTX

func (*MockTransactionalMockRecorder) Commit Uses

func (mr *MockTransactionalMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockTransactionalMockRecorder) Rollback Uses

func (mr *MockTransactionalMockRecorder) Rollback(arg0 interface{}) *gomock.Call

Rollback indicates an expected call of Rollback

Package internal imports 9 packages (graph). Updated 2019-03-31. Refresh now. Tools for package owners.