internal

package
v0.30.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

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
}

MockAccessRequester is a mock of AccessRequester interface

func NewMockAccessRequester

func NewMockAccessRequester(ctrl *gomock.Controller) *MockAccessRequester

NewMockAccessRequester creates a new mock instance

func (*MockAccessRequester) AppendRequestedScope added in v0.2.0

func (m *MockAccessRequester) AppendRequestedScope(arg0 string)

AppendRequestedScope mocks base method

func (*MockAccessRequester) EXPECT

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

func (*MockAccessRequester) GetClient

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

GetClient mocks base method

func (*MockAccessRequester) GetGrantTypes

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

GetGrantTypes mocks base method

func (*MockAccessRequester) GetGrantedAudience added in v0.27.0

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

GetGrantedAudience mocks base method

func (*MockAccessRequester) GetGrantedScopes

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

GetGrantedScopes mocks base method

func (*MockAccessRequester) GetID added in v0.4.0

func (m *MockAccessRequester) GetID() string

GetID mocks base method

func (*MockAccessRequester) GetRequestForm

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

GetRequestForm mocks base method

func (*MockAccessRequester) GetRequestedAt

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

GetRequestedAt mocks base method

func (*MockAccessRequester) GetRequestedAudience added in v0.27.0

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

GetRequestedAudience mocks base method

func (*MockAccessRequester) GetRequestedScopes added in v0.2.0

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

GetRequestedScopes mocks base method

func (*MockAccessRequester) GetSession

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

GetSession mocks base method

func (*MockAccessRequester) GrantAudience added in v0.27.0

func (m *MockAccessRequester) GrantAudience(arg0 string)

GrantAudience mocks base method

func (*MockAccessRequester) GrantScope

func (m *MockAccessRequester) GrantScope(arg0 string)

GrantScope mocks base method

func (*MockAccessRequester) Merge

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

Merge mocks base method

func (*MockAccessRequester) Sanitize added in v0.17.0

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

Sanitize mocks base method

func (*MockAccessRequester) SetID added in v0.15.0

func (m *MockAccessRequester) SetID(arg0 string)

SetID mocks base method

func (*MockAccessRequester) SetRequestedAudience added in v0.27.0

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

SetRequestedAudience mocks base method

func (*MockAccessRequester) SetRequestedScopes added in v0.2.0

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

SetRequestedScopes mocks base method

func (*MockAccessRequester) SetSession

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

SetSession mocks base method

type MockAccessRequesterMockRecorder added in v0.29.0

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

MockAccessRequesterMockRecorder is the mock recorder for MockAccessRequester

func (*MockAccessRequesterMockRecorder) AppendRequestedScope added in v0.29.0

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

AppendRequestedScope indicates an expected call of AppendRequestedScope

func (*MockAccessRequesterMockRecorder) GetClient added in v0.29.0

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

GetClient indicates an expected call of GetClient

func (*MockAccessRequesterMockRecorder) GetGrantTypes added in v0.29.0

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

GetGrantTypes indicates an expected call of GetGrantTypes

func (*MockAccessRequesterMockRecorder) GetGrantedAudience added in v0.29.0

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

GetGrantedAudience indicates an expected call of GetGrantedAudience

func (*MockAccessRequesterMockRecorder) GetGrantedScopes added in v0.29.0

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

GetGrantedScopes indicates an expected call of GetGrantedScopes

func (*MockAccessRequesterMockRecorder) GetID added in v0.29.0

GetID indicates an expected call of GetID

func (*MockAccessRequesterMockRecorder) GetRequestForm added in v0.29.0

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

GetRequestForm indicates an expected call of GetRequestForm

func (*MockAccessRequesterMockRecorder) GetRequestedAt added in v0.29.0

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

GetRequestedAt indicates an expected call of GetRequestedAt

func (*MockAccessRequesterMockRecorder) GetRequestedAudience added in v0.29.0

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

GetRequestedAudience indicates an expected call of GetRequestedAudience

func (*MockAccessRequesterMockRecorder) GetRequestedScopes added in v0.29.0

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

GetRequestedScopes indicates an expected call of GetRequestedScopes

func (*MockAccessRequesterMockRecorder) GetSession added in v0.29.0

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

GetSession indicates an expected call of GetSession

func (*MockAccessRequesterMockRecorder) GrantAudience added in v0.29.0

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

GrantAudience indicates an expected call of GrantAudience

func (*MockAccessRequesterMockRecorder) GrantScope added in v0.29.0

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

GrantScope indicates an expected call of GrantScope

func (*MockAccessRequesterMockRecorder) Merge added in v0.29.0

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

Merge indicates an expected call of Merge

func (*MockAccessRequesterMockRecorder) Sanitize added in v0.29.0

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

Sanitize indicates an expected call of Sanitize

func (*MockAccessRequesterMockRecorder) SetID added in v0.29.0

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

SetID indicates an expected call of SetID

func (*MockAccessRequesterMockRecorder) SetRequestedAudience added in v0.29.0

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

SetRequestedAudience indicates an expected call of SetRequestedAudience

func (*MockAccessRequesterMockRecorder) SetRequestedScopes added in v0.29.0

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

SetRequestedScopes indicates an expected call of SetRequestedScopes

func (*MockAccessRequesterMockRecorder) SetSession added in v0.29.0

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

SetSession indicates an expected call of SetSession

type MockAccessResponder

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

MockAccessResponder is a mock of AccessResponder interface

func NewMockAccessResponder

func NewMockAccessResponder(ctrl *gomock.Controller) *MockAccessResponder

NewMockAccessResponder creates a new mock instance

func (*MockAccessResponder) EXPECT

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

func (*MockAccessResponder) GetAccessToken

func (m *MockAccessResponder) GetAccessToken() string

GetAccessToken mocks base method

func (*MockAccessResponder) GetExtra

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

GetExtra mocks base method

func (*MockAccessResponder) GetTokenType

func (m *MockAccessResponder) GetTokenType() string

GetTokenType mocks base method

func (*MockAccessResponder) SetAccessToken

func (m *MockAccessResponder) SetAccessToken(arg0 string)

SetAccessToken mocks base method

func (*MockAccessResponder) SetExpiresIn

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

SetExpiresIn mocks base method

func (*MockAccessResponder) SetExtra

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

SetExtra mocks base method

func (*MockAccessResponder) SetScopes

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

SetScopes mocks base method

func (*MockAccessResponder) SetTokenType

func (m *MockAccessResponder) SetTokenType(arg0 string)

SetTokenType mocks base method

func (*MockAccessResponder) ToMap

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

ToMap mocks base method

type MockAccessResponderMockRecorder added in v0.29.0

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

MockAccessResponderMockRecorder is the mock recorder for MockAccessResponder

func (*MockAccessResponderMockRecorder) GetAccessToken added in v0.29.0

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

GetAccessToken indicates an expected call of GetAccessToken

func (*MockAccessResponderMockRecorder) GetExtra added in v0.29.0

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

GetExtra indicates an expected call of GetExtra

func (*MockAccessResponderMockRecorder) GetTokenType added in v0.29.0

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

GetTokenType indicates an expected call of GetTokenType

func (*MockAccessResponderMockRecorder) SetAccessToken added in v0.29.0

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

SetAccessToken indicates an expected call of SetAccessToken

func (*MockAccessResponderMockRecorder) SetExpiresIn added in v0.29.0

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

SetExpiresIn indicates an expected call of SetExpiresIn

func (*MockAccessResponderMockRecorder) SetExtra added in v0.29.0

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

SetExtra indicates an expected call of SetExtra

func (*MockAccessResponderMockRecorder) SetScopes added in v0.29.0

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

SetScopes indicates an expected call of SetScopes

func (*MockAccessResponderMockRecorder) SetTokenType added in v0.29.0

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

SetTokenType indicates an expected call of SetTokenType

func (*MockAccessResponderMockRecorder) ToMap added in v0.29.0

ToMap indicates an expected call of ToMap

type MockAccessTokenStorage

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

MockAccessTokenStorage is a mock of AccessTokenStorage interface

func NewMockAccessTokenStorage

func NewMockAccessTokenStorage(ctrl *gomock.Controller) *MockAccessTokenStorage

NewMockAccessTokenStorage creates a new mock instance

func (*MockAccessTokenStorage) CreateAccessTokenSession

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

CreateAccessTokenSession mocks base method

func (*MockAccessTokenStorage) DeleteAccessTokenSession

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

DeleteAccessTokenSession mocks base method

func (*MockAccessTokenStorage) EXPECT

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

func (*MockAccessTokenStorage) GetAccessTokenSession

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

GetAccessTokenSession mocks base method

type MockAccessTokenStorageMockRecorder added in v0.29.0

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

MockAccessTokenStorageMockRecorder is the mock recorder for MockAccessTokenStorage

func (*MockAccessTokenStorageMockRecorder) CreateAccessTokenSession added in v0.29.0

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

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockAccessTokenStorageMockRecorder) DeleteAccessTokenSession added in v0.29.0

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

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockAccessTokenStorageMockRecorder) GetAccessTokenSession added in v0.29.0

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

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

type MockAccessTokenStrategy

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

MockAccessTokenStrategy is a mock of AccessTokenStrategy interface

func NewMockAccessTokenStrategy

func NewMockAccessTokenStrategy(ctrl *gomock.Controller) *MockAccessTokenStrategy

NewMockAccessTokenStrategy creates a new mock instance

func (*MockAccessTokenStrategy) AccessTokenSignature

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

AccessTokenSignature mocks base method

func (*MockAccessTokenStrategy) EXPECT

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

func (*MockAccessTokenStrategy) GenerateAccessToken

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

GenerateAccessToken mocks base method

func (*MockAccessTokenStrategy) ValidateAccessToken

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

ValidateAccessToken mocks base method

type MockAccessTokenStrategyMockRecorder added in v0.29.0

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

MockAccessTokenStrategyMockRecorder is the mock recorder for MockAccessTokenStrategy

func (*MockAccessTokenStrategyMockRecorder) AccessTokenSignature added in v0.29.0

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

AccessTokenSignature indicates an expected call of AccessTokenSignature

func (*MockAccessTokenStrategyMockRecorder) GenerateAccessToken added in v0.29.0

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

GenerateAccessToken indicates an expected call of GenerateAccessToken

func (*MockAccessTokenStrategyMockRecorder) ValidateAccessToken added in v0.29.0

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

ValidateAccessToken indicates an expected call of 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 (_m *MockAuthorizeCodeGrantStorage) CreateAuthorizeCodeSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error

func (*MockAuthorizeCodeGrantStorage) DeleteAuthorizeCodeSession

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

func (*MockAuthorizeCodeGrantStorage) EXPECT

func (_m *MockAuthorizeCodeGrantStorage) EXPECT() *_MockAuthorizeCodeGrantStorageRecorder

func (*MockAuthorizeCodeGrantStorage) GetAuthorizeCodeSession

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

func (*MockAuthorizeCodeGrantStorage) PersistAuthorizeCodeGrantSession

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

type MockAuthorizeCodeStorage

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

MockAuthorizeCodeStorage is a mock of AuthorizeCodeStorage interface

func NewMockAuthorizeCodeStorage

func NewMockAuthorizeCodeStorage(ctrl *gomock.Controller) *MockAuthorizeCodeStorage

NewMockAuthorizeCodeStorage creates a new mock instance

func (*MockAuthorizeCodeStorage) CreateAuthorizeCodeSession

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

CreateAuthorizeCodeSession mocks base method

func (*MockAuthorizeCodeStorage) EXPECT

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

func (*MockAuthorizeCodeStorage) GetAuthorizeCodeSession

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

GetAuthorizeCodeSession mocks base method

func (*MockAuthorizeCodeStorage) InvalidateAuthorizeCodeSession added in v0.20.0

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

InvalidateAuthorizeCodeSession mocks base method

type MockAuthorizeCodeStorageMockRecorder added in v0.29.0

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

MockAuthorizeCodeStorageMockRecorder is the mock recorder for MockAuthorizeCodeStorage

func (*MockAuthorizeCodeStorageMockRecorder) CreateAuthorizeCodeSession added in v0.29.0

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

CreateAuthorizeCodeSession indicates an expected call of CreateAuthorizeCodeSession

func (*MockAuthorizeCodeStorageMockRecorder) GetAuthorizeCodeSession added in v0.29.0

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

GetAuthorizeCodeSession indicates an expected call of GetAuthorizeCodeSession

func (*MockAuthorizeCodeStorageMockRecorder) InvalidateAuthorizeCodeSession added in v0.29.0

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

InvalidateAuthorizeCodeSession indicates an expected call of InvalidateAuthorizeCodeSession

type MockAuthorizeCodeStrategy

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

MockAuthorizeCodeStrategy is a mock of AuthorizeCodeStrategy interface

func NewMockAuthorizeCodeStrategy

func NewMockAuthorizeCodeStrategy(ctrl *gomock.Controller) *MockAuthorizeCodeStrategy

NewMockAuthorizeCodeStrategy creates a new mock instance

func (*MockAuthorizeCodeStrategy) AuthorizeCodeSignature

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

AuthorizeCodeSignature mocks base method

func (*MockAuthorizeCodeStrategy) EXPECT

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

func (*MockAuthorizeCodeStrategy) GenerateAuthorizeCode

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

GenerateAuthorizeCode mocks base method

func (*MockAuthorizeCodeStrategy) ValidateAuthorizeCode

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

ValidateAuthorizeCode mocks base method

type MockAuthorizeCodeStrategyMockRecorder added in v0.29.0

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

MockAuthorizeCodeStrategyMockRecorder is the mock recorder for MockAuthorizeCodeStrategy

func (*MockAuthorizeCodeStrategyMockRecorder) AuthorizeCodeSignature added in v0.29.0

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

AuthorizeCodeSignature indicates an expected call of AuthorizeCodeSignature

func (*MockAuthorizeCodeStrategyMockRecorder) GenerateAuthorizeCode added in v0.29.0

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

GenerateAuthorizeCode indicates an expected call of GenerateAuthorizeCode

func (*MockAuthorizeCodeStrategyMockRecorder) ValidateAuthorizeCode added in v0.29.0

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

ValidateAuthorizeCode indicates an expected call of ValidateAuthorizeCode

type MockAuthorizeEndpointHandler

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

MockAuthorizeEndpointHandler is a mock of AuthorizeEndpointHandler interface

func NewMockAuthorizeEndpointHandler

func NewMockAuthorizeEndpointHandler(ctrl *gomock.Controller) *MockAuthorizeEndpointHandler

NewMockAuthorizeEndpointHandler creates a new mock instance

func (*MockAuthorizeEndpointHandler) EXPECT

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

func (*MockAuthorizeEndpointHandler) HandleAuthorizeEndpointRequest

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

HandleAuthorizeEndpointRequest mocks base method

type MockAuthorizeEndpointHandlerMockRecorder added in v0.29.0

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

MockAuthorizeEndpointHandlerMockRecorder is the mock recorder for MockAuthorizeEndpointHandler

func (*MockAuthorizeEndpointHandlerMockRecorder) HandleAuthorizeEndpointRequest added in v0.29.0

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

HandleAuthorizeEndpointRequest indicates an expected call of HandleAuthorizeEndpointRequest

type MockAuthorizeRequester

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

MockAuthorizeRequester is a mock of AuthorizeRequester interface

func NewMockAuthorizeRequester

func NewMockAuthorizeRequester(ctrl *gomock.Controller) *MockAuthorizeRequester

NewMockAuthorizeRequester creates a new mock instance

func (*MockAuthorizeRequester) AppendRequestedScope added in v0.2.0

func (m *MockAuthorizeRequester) AppendRequestedScope(arg0 string)

AppendRequestedScope mocks base method

func (*MockAuthorizeRequester) DidHandleAllResponseTypes

func (m *MockAuthorizeRequester) DidHandleAllResponseTypes() bool

DidHandleAllResponseTypes mocks base method

func (*MockAuthorizeRequester) EXPECT

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

func (*MockAuthorizeRequester) GetClient

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

GetClient mocks base method

func (*MockAuthorizeRequester) GetGrantedAudience added in v0.27.0

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

GetGrantedAudience mocks base method

func (*MockAuthorizeRequester) GetGrantedScopes

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

GetGrantedScopes mocks base method

func (*MockAuthorizeRequester) GetID added in v0.4.0

func (m *MockAuthorizeRequester) GetID() string

GetID mocks base method

func (*MockAuthorizeRequester) GetRedirectURI

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

GetRedirectURI mocks base method

func (*MockAuthorizeRequester) GetRequestForm

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

GetRequestForm mocks base method

func (*MockAuthorizeRequester) GetRequestedAt

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

GetRequestedAt mocks base method

func (*MockAuthorizeRequester) GetRequestedAudience added in v0.27.0

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

GetRequestedAudience mocks base method

func (*MockAuthorizeRequester) GetRequestedScopes added in v0.2.0

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

GetRequestedScopes mocks base method

func (*MockAuthorizeRequester) GetResponseTypes

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

GetResponseTypes mocks base method

func (*MockAuthorizeRequester) GetSession

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

GetSession mocks base method

func (*MockAuthorizeRequester) GetState

func (m *MockAuthorizeRequester) GetState() string

GetState mocks base method

func (*MockAuthorizeRequester) GrantAudience added in v0.27.0

func (m *MockAuthorizeRequester) GrantAudience(arg0 string)

GrantAudience mocks base method

func (*MockAuthorizeRequester) GrantScope

func (m *MockAuthorizeRequester) GrantScope(arg0 string)

GrantScope mocks base method

func (*MockAuthorizeRequester) IsRedirectURIValid

func (m *MockAuthorizeRequester) IsRedirectURIValid() bool

IsRedirectURIValid mocks base method

func (*MockAuthorizeRequester) Merge

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

Merge mocks base method

func (*MockAuthorizeRequester) Sanitize added in v0.17.0

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

Sanitize mocks base method

func (*MockAuthorizeRequester) SetID added in v0.15.0

func (m *MockAuthorizeRequester) SetID(arg0 string)

SetID mocks base method

func (*MockAuthorizeRequester) SetRequestedAudience added in v0.27.0

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

SetRequestedAudience mocks base method

func (*MockAuthorizeRequester) SetRequestedScopes added in v0.2.0

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

SetRequestedScopes mocks base method

func (*MockAuthorizeRequester) SetResponseTypeHandled

func (m *MockAuthorizeRequester) SetResponseTypeHandled(arg0 string)

SetResponseTypeHandled mocks base method

func (*MockAuthorizeRequester) SetSession

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

SetSession mocks base method

type MockAuthorizeRequesterMockRecorder added in v0.29.0

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

MockAuthorizeRequesterMockRecorder is the mock recorder for MockAuthorizeRequester

func (*MockAuthorizeRequesterMockRecorder) AppendRequestedScope added in v0.29.0

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

AppendRequestedScope indicates an expected call of AppendRequestedScope

func (*MockAuthorizeRequesterMockRecorder) DidHandleAllResponseTypes added in v0.29.0

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

DidHandleAllResponseTypes indicates an expected call of DidHandleAllResponseTypes

func (*MockAuthorizeRequesterMockRecorder) GetClient added in v0.29.0

GetClient indicates an expected call of GetClient

func (*MockAuthorizeRequesterMockRecorder) GetGrantedAudience added in v0.29.0

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

GetGrantedAudience indicates an expected call of GetGrantedAudience

func (*MockAuthorizeRequesterMockRecorder) GetGrantedScopes added in v0.29.0

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

GetGrantedScopes indicates an expected call of GetGrantedScopes

func (*MockAuthorizeRequesterMockRecorder) GetID added in v0.29.0

GetID indicates an expected call of GetID

func (*MockAuthorizeRequesterMockRecorder) GetRedirectURI added in v0.29.0

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

GetRedirectURI indicates an expected call of GetRedirectURI

func (*MockAuthorizeRequesterMockRecorder) GetRequestForm added in v0.29.0

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

GetRequestForm indicates an expected call of GetRequestForm

func (*MockAuthorizeRequesterMockRecorder) GetRequestedAt added in v0.29.0

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

GetRequestedAt indicates an expected call of GetRequestedAt

func (*MockAuthorizeRequesterMockRecorder) GetRequestedAudience added in v0.29.0

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

GetRequestedAudience indicates an expected call of GetRequestedAudience

func (*MockAuthorizeRequesterMockRecorder) GetRequestedScopes added in v0.29.0

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

GetRequestedScopes indicates an expected call of GetRequestedScopes

func (*MockAuthorizeRequesterMockRecorder) GetResponseTypes added in v0.29.0

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

GetResponseTypes indicates an expected call of GetResponseTypes

func (*MockAuthorizeRequesterMockRecorder) GetSession added in v0.29.0

GetSession indicates an expected call of GetSession

func (*MockAuthorizeRequesterMockRecorder) GetState added in v0.29.0

GetState indicates an expected call of GetState

func (*MockAuthorizeRequesterMockRecorder) GrantAudience added in v0.29.0

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

GrantAudience indicates an expected call of GrantAudience

func (*MockAuthorizeRequesterMockRecorder) GrantScope added in v0.29.0

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

GrantScope indicates an expected call of GrantScope

func (*MockAuthorizeRequesterMockRecorder) IsRedirectURIValid added in v0.29.0

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

IsRedirectURIValid indicates an expected call of IsRedirectURIValid

func (*MockAuthorizeRequesterMockRecorder) Merge added in v0.29.0

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

Merge indicates an expected call of Merge

func (*MockAuthorizeRequesterMockRecorder) Sanitize added in v0.29.0

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

Sanitize indicates an expected call of Sanitize

func (*MockAuthorizeRequesterMockRecorder) SetID added in v0.29.0

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

SetID indicates an expected call of SetID

func (*MockAuthorizeRequesterMockRecorder) SetRequestedAudience added in v0.29.0

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

SetRequestedAudience indicates an expected call of SetRequestedAudience

func (*MockAuthorizeRequesterMockRecorder) SetRequestedScopes added in v0.29.0

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

SetRequestedScopes indicates an expected call of SetRequestedScopes

func (*MockAuthorizeRequesterMockRecorder) SetResponseTypeHandled added in v0.29.0

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

SetResponseTypeHandled indicates an expected call of SetResponseTypeHandled

func (*MockAuthorizeRequesterMockRecorder) SetSession added in v0.29.0

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

SetSession indicates an expected call of SetSession

type MockAuthorizeResponder

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

MockAuthorizeResponder is a mock of AuthorizeResponder interface

func NewMockAuthorizeResponder

func NewMockAuthorizeResponder(ctrl *gomock.Controller) *MockAuthorizeResponder

NewMockAuthorizeResponder creates a new mock instance

func (*MockAuthorizeResponder) AddFragment

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

AddFragment mocks base method

func (*MockAuthorizeResponder) AddHeader

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

AddHeader mocks base method

func (*MockAuthorizeResponder) AddQuery

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

AddQuery mocks base method

func (*MockAuthorizeResponder) EXPECT

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

func (*MockAuthorizeResponder) GetCode

func (m *MockAuthorizeResponder) GetCode() string

GetCode mocks base method

func (*MockAuthorizeResponder) GetFragment

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

GetFragment mocks base method

func (*MockAuthorizeResponder) GetHeader

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

GetHeader mocks base method

func (*MockAuthorizeResponder) GetQuery

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

GetQuery mocks base method

type MockAuthorizeResponderMockRecorder added in v0.29.0

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

MockAuthorizeResponderMockRecorder is the mock recorder for MockAuthorizeResponder

func (*MockAuthorizeResponderMockRecorder) AddFragment added in v0.29.0

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

AddFragment indicates an expected call of AddFragment

func (*MockAuthorizeResponderMockRecorder) AddHeader added in v0.29.0

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

AddHeader indicates an expected call of AddHeader

func (*MockAuthorizeResponderMockRecorder) AddQuery added in v0.29.0

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

AddQuery indicates an expected call of AddQuery

func (*MockAuthorizeResponderMockRecorder) GetCode added in v0.29.0

GetCode indicates an expected call of GetCode

func (*MockAuthorizeResponderMockRecorder) GetFragment added in v0.29.0

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

GetFragment indicates an expected call of GetFragment

func (*MockAuthorizeResponderMockRecorder) GetHeader added in v0.29.0

GetHeader indicates an expected call of GetHeader

func (*MockAuthorizeResponderMockRecorder) GetQuery added in v0.29.0

GetQuery indicates an expected call of GetQuery

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetAudience added in v0.27.0

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

GetAudience mocks base method

func (*MockClient) GetGrantTypes

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

GetGrantTypes mocks base method

func (*MockClient) GetHashedSecret

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

GetHashedSecret mocks base method

func (*MockClient) GetID

func (m *MockClient) GetID() string

GetID mocks base method

func (*MockClient) GetRedirectURIs

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

GetRedirectURIs mocks base method

func (*MockClient) GetResponseTypes

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

GetResponseTypes mocks base method

func (*MockClient) GetScopes added in v0.2.0

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

GetScopes mocks base method

func (*MockClient) IsPublic added in v0.4.0

func (m *MockClient) IsPublic() bool

IsPublic mocks base method

type MockClientCredentialsGrantStorage

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

MockClientCredentialsGrantStorage is a mock of ClientCredentialsGrantStorage interface

func NewMockClientCredentialsGrantStorage

func NewMockClientCredentialsGrantStorage(ctrl *gomock.Controller) *MockClientCredentialsGrantStorage

NewMockClientCredentialsGrantStorage creates a new mock instance

func (*MockClientCredentialsGrantStorage) CreateAccessTokenSession

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

CreateAccessTokenSession mocks base method

func (*MockClientCredentialsGrantStorage) DeleteAccessTokenSession

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

DeleteAccessTokenSession mocks base method

func (*MockClientCredentialsGrantStorage) EXPECT

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

func (*MockClientCredentialsGrantStorage) GetAccessTokenSession

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

GetAccessTokenSession mocks base method

type MockClientCredentialsGrantStorageMockRecorder added in v0.29.0

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

MockClientCredentialsGrantStorageMockRecorder is the mock recorder for MockClientCredentialsGrantStorage

func (*MockClientCredentialsGrantStorageMockRecorder) CreateAccessTokenSession added in v0.29.0

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

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockClientCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession added in v0.29.0

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

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockClientCredentialsGrantStorageMockRecorder) GetAccessTokenSession added in v0.29.0

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

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

type MockClientMockRecorder added in v0.29.0

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) GetAudience added in v0.29.0

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

GetAudience indicates an expected call of GetAudience

func (*MockClientMockRecorder) GetGrantTypes added in v0.29.0

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

GetGrantTypes indicates an expected call of GetGrantTypes

func (*MockClientMockRecorder) GetHashedSecret added in v0.29.0

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

GetHashedSecret indicates an expected call of GetHashedSecret

func (*MockClientMockRecorder) GetID added in v0.29.0

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

GetID indicates an expected call of GetID

func (*MockClientMockRecorder) GetRedirectURIs added in v0.29.0

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

GetRedirectURIs indicates an expected call of GetRedirectURIs

func (*MockClientMockRecorder) GetResponseTypes added in v0.29.0

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

GetResponseTypes indicates an expected call of GetResponseTypes

func (*MockClientMockRecorder) GetScopes added in v0.29.0

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

GetScopes indicates an expected call of GetScopes

func (*MockClientMockRecorder) IsPublic added in v0.29.0

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

IsPublic indicates an expected call of IsPublic

type MockCoreStorage added in v0.2.0

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

MockCoreStorage is a mock of CoreStorage interface

func NewMockCoreStorage added in v0.2.0

func NewMockCoreStorage(ctrl *gomock.Controller) *MockCoreStorage

NewMockCoreStorage creates a new mock instance

func (*MockCoreStorage) CreateAccessTokenSession added in v0.2.0

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

CreateAccessTokenSession mocks base method

func (*MockCoreStorage) CreateAuthorizeCodeSession added in v0.2.0

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

CreateAuthorizeCodeSession mocks base method

func (*MockCoreStorage) CreateRefreshTokenSession added in v0.2.0

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

CreateRefreshTokenSession mocks base method

func (*MockCoreStorage) DeleteAccessTokenSession added in v0.2.0

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

DeleteAccessTokenSession mocks base method

func (*MockCoreStorage) DeleteRefreshTokenSession added in v0.2.0

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

DeleteRefreshTokenSession mocks base method

func (*MockCoreStorage) EXPECT added in v0.2.0

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

func (*MockCoreStorage) GetAccessTokenSession added in v0.2.0

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

GetAccessTokenSession mocks base method

func (*MockCoreStorage) GetAuthorizeCodeSession added in v0.2.0

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

GetAuthorizeCodeSession mocks base method

func (*MockCoreStorage) GetRefreshTokenSession added in v0.2.0

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

GetRefreshTokenSession mocks base method

func (*MockCoreStorage) InvalidateAuthorizeCodeSession added in v0.20.0

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

InvalidateAuthorizeCodeSession mocks base method

type MockCoreStorageMockRecorder added in v0.29.0

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

MockCoreStorageMockRecorder is the mock recorder for MockCoreStorage

func (*MockCoreStorageMockRecorder) CreateAccessTokenSession added in v0.29.0

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

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockCoreStorageMockRecorder) CreateAuthorizeCodeSession added in v0.29.0

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

CreateAuthorizeCodeSession indicates an expected call of CreateAuthorizeCodeSession

func (*MockCoreStorageMockRecorder) CreateRefreshTokenSession added in v0.29.0

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

CreateRefreshTokenSession indicates an expected call of CreateRefreshTokenSession

func (*MockCoreStorageMockRecorder) DeleteAccessTokenSession added in v0.29.0

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

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockCoreStorageMockRecorder) DeleteRefreshTokenSession added in v0.29.0

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

DeleteRefreshTokenSession indicates an expected call of DeleteRefreshTokenSession

func (*MockCoreStorageMockRecorder) GetAccessTokenSession added in v0.29.0

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

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

func (*MockCoreStorageMockRecorder) GetAuthorizeCodeSession added in v0.29.0

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

GetAuthorizeCodeSession indicates an expected call of GetAuthorizeCodeSession

func (*MockCoreStorageMockRecorder) GetRefreshTokenSession added in v0.29.0

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

GetRefreshTokenSession indicates an expected call of GetRefreshTokenSession

func (*MockCoreStorageMockRecorder) InvalidateAuthorizeCodeSession added in v0.29.0

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

InvalidateAuthorizeCodeSession indicates an expected call of InvalidateAuthorizeCodeSession

type MockCoreStrategy added in v0.2.0

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

MockCoreStrategy is a mock of CoreStrategy interface

func NewMockCoreStrategy added in v0.2.0

func NewMockCoreStrategy(ctrl *gomock.Controller) *MockCoreStrategy

NewMockCoreStrategy creates a new mock instance

func (*MockCoreStrategy) AccessTokenSignature added in v0.2.0

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

AccessTokenSignature mocks base method

func (*MockCoreStrategy) AuthorizeCodeSignature added in v0.2.0

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

AuthorizeCodeSignature mocks base method

func (*MockCoreStrategy) EXPECT added in v0.2.0

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

func (*MockCoreStrategy) GenerateAccessToken added in v0.2.0

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

GenerateAccessToken mocks base method

func (*MockCoreStrategy) GenerateAuthorizeCode added in v0.2.0

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

GenerateAuthorizeCode mocks base method

func (*MockCoreStrategy) GenerateRefreshToken added in v0.2.0

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

GenerateRefreshToken mocks base method

func (*MockCoreStrategy) RefreshTokenSignature added in v0.2.0

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

RefreshTokenSignature mocks base method

func (*MockCoreStrategy) ValidateAccessToken added in v0.2.0

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

ValidateAccessToken mocks base method

func (*MockCoreStrategy) ValidateAuthorizeCode added in v0.2.0

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

ValidateAuthorizeCode mocks base method

func (*MockCoreStrategy) ValidateRefreshToken added in v0.2.0

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

ValidateRefreshToken mocks base method

type MockCoreStrategyMockRecorder added in v0.29.0

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

MockCoreStrategyMockRecorder is the mock recorder for MockCoreStrategy

func (*MockCoreStrategyMockRecorder) AccessTokenSignature added in v0.29.0

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

AccessTokenSignature indicates an expected call of AccessTokenSignature

func (*MockCoreStrategyMockRecorder) AuthorizeCodeSignature added in v0.29.0

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

AuthorizeCodeSignature indicates an expected call of AuthorizeCodeSignature

func (*MockCoreStrategyMockRecorder) GenerateAccessToken added in v0.29.0

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

GenerateAccessToken indicates an expected call of GenerateAccessToken

func (*MockCoreStrategyMockRecorder) GenerateAuthorizeCode added in v0.29.0

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

GenerateAuthorizeCode indicates an expected call of GenerateAuthorizeCode

func (*MockCoreStrategyMockRecorder) GenerateRefreshToken added in v0.29.0

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

GenerateRefreshToken indicates an expected call of GenerateRefreshToken

func (*MockCoreStrategyMockRecorder) RefreshTokenSignature added in v0.29.0

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

RefreshTokenSignature indicates an expected call of RefreshTokenSignature

func (*MockCoreStrategyMockRecorder) ValidateAccessToken added in v0.29.0

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

ValidateAccessToken indicates an expected call of ValidateAccessToken

func (*MockCoreStrategyMockRecorder) ValidateAuthorizeCode added in v0.29.0

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

ValidateAuthorizeCode indicates an expected call of ValidateAuthorizeCode

func (*MockCoreStrategyMockRecorder) ValidateRefreshToken added in v0.29.0

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

ValidateRefreshToken indicates an expected call of ValidateRefreshToken

type MockHasher

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

MockHasher is a mock of Hasher interface

func NewMockHasher

func NewMockHasher(ctrl *gomock.Controller) *MockHasher

NewMockHasher creates a new mock instance

func (*MockHasher) Compare

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

Compare mocks base method

func (*MockHasher) EXPECT

func (m *MockHasher) EXPECT() *MockHasherMockRecorder

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

func (*MockHasher) Hash

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

Hash mocks base method

type MockHasherMockRecorder added in v0.23.0

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

MockHasherMockRecorder is the mock recorder for MockHasher

func (*MockHasherMockRecorder) Compare added in v0.23.0

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

Compare indicates an expected call of Compare

func (*MockHasherMockRecorder) Hash added in v0.23.0

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

Hash indicates an expected call of Hash

type MockOpenIDConnectRequestStorage

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

MockOpenIDConnectRequestStorage is a mock of OpenIDConnectRequestStorage interface

func NewMockOpenIDConnectRequestStorage

func NewMockOpenIDConnectRequestStorage(ctrl *gomock.Controller) *MockOpenIDConnectRequestStorage

NewMockOpenIDConnectRequestStorage creates a new mock instance

func (*MockOpenIDConnectRequestStorage) CreateOpenIDConnectSession

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

CreateOpenIDConnectSession mocks base method

func (*MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession

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

DeleteOpenIDConnectSession mocks base method

func (*MockOpenIDConnectRequestStorage) EXPECT

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

func (*MockOpenIDConnectRequestStorage) GetOpenIDConnectSession

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

GetOpenIDConnectSession mocks base method

type MockOpenIDConnectRequestStorageMockRecorder added in v0.29.0

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

MockOpenIDConnectRequestStorageMockRecorder is the mock recorder for MockOpenIDConnectRequestStorage

func (*MockOpenIDConnectRequestStorageMockRecorder) CreateOpenIDConnectSession added in v0.29.0

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

CreateOpenIDConnectSession indicates an expected call of CreateOpenIDConnectSession

func (*MockOpenIDConnectRequestStorageMockRecorder) DeleteOpenIDConnectSession added in v0.29.0

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

DeleteOpenIDConnectSession indicates an expected call of DeleteOpenIDConnectSession

func (*MockOpenIDConnectRequestStorageMockRecorder) GetOpenIDConnectSession added in v0.29.0

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

GetOpenIDConnectSession indicates an expected call of GetOpenIDConnectSession

type MockOpenIDConnectTokenStrategy

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

MockOpenIDConnectTokenStrategy is a mock of OpenIDConnectTokenStrategy interface

func NewMockOpenIDConnectTokenStrategy

func NewMockOpenIDConnectTokenStrategy(ctrl *gomock.Controller) *MockOpenIDConnectTokenStrategy

NewMockOpenIDConnectTokenStrategy creates a new mock instance

func (*MockOpenIDConnectTokenStrategy) EXPECT

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

func (*MockOpenIDConnectTokenStrategy) GenerateIDToken

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

GenerateIDToken mocks base method

type MockOpenIDConnectTokenStrategyMockRecorder added in v0.29.0

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

MockOpenIDConnectTokenStrategyMockRecorder is the mock recorder for MockOpenIDConnectTokenStrategy

func (*MockOpenIDConnectTokenStrategyMockRecorder) GenerateIDToken added in v0.29.0

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

GenerateIDToken indicates an expected call of GenerateIDToken

type MockPKCERequestStorage added in v0.17.0

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

MockPKCERequestStorage is a mock of PKCERequestStorage interface

func NewMockPKCERequestStorage added in v0.17.0

func NewMockPKCERequestStorage(ctrl *gomock.Controller) *MockPKCERequestStorage

NewMockPKCERequestStorage creates a new mock instance

func (*MockPKCERequestStorage) CreatePKCERequestSession added in v0.17.0

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

CreatePKCERequestSession mocks base method

func (*MockPKCERequestStorage) DeletePKCERequestSession added in v0.17.0

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

DeletePKCERequestSession mocks base method

func (*MockPKCERequestStorage) EXPECT added in v0.17.0

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

func (*MockPKCERequestStorage) GetPKCERequestSession added in v0.17.0

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

GetPKCERequestSession mocks base method

type MockPKCERequestStorageMockRecorder added in v0.29.0

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

MockPKCERequestStorageMockRecorder is the mock recorder for MockPKCERequestStorage

func (*MockPKCERequestStorageMockRecorder) CreatePKCERequestSession added in v0.29.0

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

CreatePKCERequestSession indicates an expected call of CreatePKCERequestSession

func (*MockPKCERequestStorageMockRecorder) DeletePKCERequestSession added in v0.29.0

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

DeletePKCERequestSession indicates an expected call of DeletePKCERequestSession

func (*MockPKCERequestStorageMockRecorder) GetPKCERequestSession added in v0.29.0

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

GetPKCERequestSession indicates an expected call of GetPKCERequestSession

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 (_m *MockRefreshTokenGrantStorage) CreateRefreshTokenSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error

func (*MockRefreshTokenGrantStorage) DeleteRefreshTokenSession

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

func (*MockRefreshTokenGrantStorage) EXPECT

func (_m *MockRefreshTokenGrantStorage) EXPECT() *_MockRefreshTokenGrantStorageRecorder

func (*MockRefreshTokenGrantStorage) GetRefreshTokenSession

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

func (*MockRefreshTokenGrantStorage) PersistRefreshTokenGrantSession

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

type MockRefreshTokenStrategy

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

MockRefreshTokenStrategy is a mock of RefreshTokenStrategy interface

func NewMockRefreshTokenStrategy

func NewMockRefreshTokenStrategy(ctrl *gomock.Controller) *MockRefreshTokenStrategy

NewMockRefreshTokenStrategy creates a new mock instance

func (*MockRefreshTokenStrategy) EXPECT

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

func (*MockRefreshTokenStrategy) GenerateRefreshToken

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

GenerateRefreshToken mocks base method

func (*MockRefreshTokenStrategy) RefreshTokenSignature

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

RefreshTokenSignature mocks base method

func (*MockRefreshTokenStrategy) ValidateRefreshToken

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

ValidateRefreshToken mocks base method

type MockRefreshTokenStrategyMockRecorder added in v0.29.0

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

MockRefreshTokenStrategyMockRecorder is the mock recorder for MockRefreshTokenStrategy

func (*MockRefreshTokenStrategyMockRecorder) GenerateRefreshToken added in v0.29.0

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

GenerateRefreshToken indicates an expected call of GenerateRefreshToken

func (*MockRefreshTokenStrategyMockRecorder) RefreshTokenSignature added in v0.29.0

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

RefreshTokenSignature indicates an expected call of RefreshTokenSignature

func (*MockRefreshTokenStrategyMockRecorder) ValidateRefreshToken added in v0.29.0

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

ValidateRefreshToken indicates an expected call of ValidateRefreshToken

type MockRequester

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

MockRequester is a mock of Requester interface

func NewMockRequester

func NewMockRequester(ctrl *gomock.Controller) *MockRequester

NewMockRequester creates a new mock instance

func (*MockRequester) AppendRequestedScope added in v0.2.0

func (m *MockRequester) AppendRequestedScope(arg0 string)

AppendRequestedScope mocks base method

func (*MockRequester) EXPECT

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

func (*MockRequester) GetClient

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

GetClient mocks base method

func (*MockRequester) GetGrantedAudience added in v0.27.0

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

GetGrantedAudience mocks base method

func (*MockRequester) GetGrantedScopes

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

GetGrantedScopes mocks base method

func (*MockRequester) GetID added in v0.4.0

func (m *MockRequester) GetID() string

GetID mocks base method

func (*MockRequester) GetRequestForm

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

GetRequestForm mocks base method

func (*MockRequester) GetRequestedAt

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

GetRequestedAt mocks base method

func (*MockRequester) GetRequestedAudience added in v0.27.0

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

GetRequestedAudience mocks base method

func (*MockRequester) GetRequestedScopes added in v0.2.0

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

GetRequestedScopes mocks base method

func (*MockRequester) GetSession

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

GetSession mocks base method

func (*MockRequester) GrantAudience added in v0.27.0

func (m *MockRequester) GrantAudience(arg0 string)

GrantAudience mocks base method

func (*MockRequester) GrantScope

func (m *MockRequester) GrantScope(arg0 string)

GrantScope mocks base method

func (*MockRequester) Merge

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

Merge mocks base method

func (*MockRequester) Sanitize added in v0.17.0

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

Sanitize mocks base method

func (*MockRequester) SetID added in v0.15.0

func (m *MockRequester) SetID(arg0 string)

SetID mocks base method

func (*MockRequester) SetRequestedAudience added in v0.27.0

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

SetRequestedAudience mocks base method

func (*MockRequester) SetRequestedScopes added in v0.2.0

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

SetRequestedScopes mocks base method

func (*MockRequester) SetSession

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

SetSession mocks base method

type MockRequesterMockRecorder added in v0.29.0

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

MockRequesterMockRecorder is the mock recorder for MockRequester

func (*MockRequesterMockRecorder) AppendRequestedScope added in v0.29.0

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

AppendRequestedScope indicates an expected call of AppendRequestedScope

func (*MockRequesterMockRecorder) GetClient added in v0.29.0

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

GetClient indicates an expected call of GetClient

func (*MockRequesterMockRecorder) GetGrantedAudience added in v0.29.0

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

GetGrantedAudience indicates an expected call of GetGrantedAudience

func (*MockRequesterMockRecorder) GetGrantedScopes added in v0.29.0

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

GetGrantedScopes indicates an expected call of GetGrantedScopes

func (*MockRequesterMockRecorder) GetID added in v0.29.0

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

GetID indicates an expected call of GetID

func (*MockRequesterMockRecorder) GetRequestForm added in v0.29.0

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

GetRequestForm indicates an expected call of GetRequestForm

func (*MockRequesterMockRecorder) GetRequestedAt added in v0.29.0

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

GetRequestedAt indicates an expected call of GetRequestedAt

func (*MockRequesterMockRecorder) GetRequestedAudience added in v0.29.0

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

GetRequestedAudience indicates an expected call of GetRequestedAudience

func (*MockRequesterMockRecorder) GetRequestedScopes added in v0.29.0

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

GetRequestedScopes indicates an expected call of GetRequestedScopes

func (*MockRequesterMockRecorder) GetSession added in v0.29.0

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

GetSession indicates an expected call of GetSession

func (*MockRequesterMockRecorder) GrantAudience added in v0.29.0

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

GrantAudience indicates an expected call of GrantAudience

func (*MockRequesterMockRecorder) GrantScope added in v0.29.0

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

GrantScope indicates an expected call of GrantScope

func (*MockRequesterMockRecorder) Merge added in v0.29.0

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

Merge indicates an expected call of Merge

func (*MockRequesterMockRecorder) Sanitize added in v0.29.0

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

Sanitize indicates an expected call of Sanitize

func (*MockRequesterMockRecorder) SetID added in v0.29.0

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

SetID indicates an expected call of SetID

func (*MockRequesterMockRecorder) SetRequestedAudience added in v0.29.0

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

SetRequestedAudience indicates an expected call of SetRequestedAudience

func (*MockRequesterMockRecorder) SetRequestedScopes added in v0.29.0

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

SetRequestedScopes indicates an expected call of SetRequestedScopes

func (*MockRequesterMockRecorder) SetSession added in v0.29.0

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

SetSession indicates an expected call of SetSession

type MockResourceOwnerPasswordCredentialsGrantStorage

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

MockResourceOwnerPasswordCredentialsGrantStorage is a mock of ResourceOwnerPasswordCredentialsGrantStorage interface

func NewMockResourceOwnerPasswordCredentialsGrantStorage

func NewMockResourceOwnerPasswordCredentialsGrantStorage(ctrl *gomock.Controller) *MockResourceOwnerPasswordCredentialsGrantStorage

NewMockResourceOwnerPasswordCredentialsGrantStorage creates a new mock instance

func (*MockResourceOwnerPasswordCredentialsGrantStorage) Authenticate

Authenticate mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) CreateAccessTokenSession

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

CreateAccessTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) CreateRefreshTokenSession added in v0.3.6

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

CreateRefreshTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) DeleteAccessTokenSession

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

DeleteAccessTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) DeleteRefreshTokenSession added in v0.3.6

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

DeleteRefreshTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) EXPECT

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

func (*MockResourceOwnerPasswordCredentialsGrantStorage) GetAccessTokenSession

GetAccessTokenSession mocks base method

func (*MockResourceOwnerPasswordCredentialsGrantStorage) GetRefreshTokenSession added in v0.3.6

GetRefreshTokenSession mocks base method

type MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder added in v0.29.0

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

MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder is the mock recorder for MockResourceOwnerPasswordCredentialsGrantStorage

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) Authenticate added in v0.29.0

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

Authenticate indicates an expected call of Authenticate

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) CreateAccessTokenSession added in v0.29.0

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

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) CreateRefreshTokenSession added in v0.29.0

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

CreateRefreshTokenSession indicates an expected call of CreateRefreshTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession added in v0.29.0

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

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) DeleteRefreshTokenSession added in v0.29.0

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

DeleteRefreshTokenSession indicates an expected call of DeleteRefreshTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) GetAccessTokenSession added in v0.29.0

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

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

func (*MockResourceOwnerPasswordCredentialsGrantStorageMockRecorder) GetRefreshTokenSession added in v0.29.0

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

GetRefreshTokenSession indicates an expected call of GetRefreshTokenSession

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) Write

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

func (*MockResponseWriter) WriteHeader

func (_m *MockResponseWriter) WriteHeader(_param0 int)

type MockRevocationHandler added in v0.4.0

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

MockRevocationHandler is a mock of RevocationHandler interface

func NewMockRevocationHandler added in v0.4.0

func NewMockRevocationHandler(ctrl *gomock.Controller) *MockRevocationHandler

NewMockRevocationHandler creates a new mock instance

func (*MockRevocationHandler) EXPECT added in v0.4.0

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

func (*MockRevocationHandler) RevokeToken added in v0.4.0

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

RevokeToken mocks base method

type MockRevocationHandlerMockRecorder added in v0.29.0

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

MockRevocationHandlerMockRecorder is the mock recorder for MockRevocationHandler

func (*MockRevocationHandlerMockRecorder) RevokeToken added in v0.29.0

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

RevokeToken indicates an expected call of RevokeToken

type MockStorage

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

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) GetClient

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

GetClient mocks base method

type MockStorageMockRecorder added in v0.29.0

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) GetClient added in v0.29.0

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

GetClient indicates an expected call of GetClient

type MockTokenEndpointHandler

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

MockTokenEndpointHandler is a mock of TokenEndpointHandler interface

func NewMockTokenEndpointHandler

func NewMockTokenEndpointHandler(ctrl *gomock.Controller) *MockTokenEndpointHandler

NewMockTokenEndpointHandler creates a new mock instance

func (*MockTokenEndpointHandler) EXPECT

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

func (*MockTokenEndpointHandler) HandleTokenEndpointRequest

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

HandleTokenEndpointRequest mocks base method

func (*MockTokenEndpointHandler) PopulateTokenEndpointResponse

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

PopulateTokenEndpointResponse mocks base method

type MockTokenEndpointHandlerMockRecorder added in v0.29.0

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

MockTokenEndpointHandlerMockRecorder is the mock recorder for MockTokenEndpointHandler

func (*MockTokenEndpointHandlerMockRecorder) HandleTokenEndpointRequest added in v0.29.0

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

HandleTokenEndpointRequest indicates an expected call of HandleTokenEndpointRequest

func (*MockTokenEndpointHandlerMockRecorder) PopulateTokenEndpointResponse added in v0.29.0

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

PopulateTokenEndpointResponse indicates an expected call of PopulateTokenEndpointResponse

type MockTokenIntrospector added in v0.4.0

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

MockTokenIntrospector is a mock of TokenIntrospector interface

func NewMockTokenIntrospector added in v0.4.0

func NewMockTokenIntrospector(ctrl *gomock.Controller) *MockTokenIntrospector

NewMockTokenIntrospector creates a new mock instance

func (*MockTokenIntrospector) EXPECT added in v0.4.0

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

func (*MockTokenIntrospector) IntrospectToken added in v0.4.0

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 added in v0.29.0

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

MockTokenIntrospectorMockRecorder is the mock recorder for MockTokenIntrospector

func (*MockTokenIntrospectorMockRecorder) IntrospectToken added in v0.29.0

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

IntrospectToken indicates an expected call of IntrospectToken

type MockTokenRevocationStorage added in v0.4.0

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

MockTokenRevocationStorage is a mock of TokenRevocationStorage interface

func NewMockTokenRevocationStorage added in v0.4.0

func NewMockTokenRevocationStorage(ctrl *gomock.Controller) *MockTokenRevocationStorage

NewMockTokenRevocationStorage creates a new mock instance

func (*MockTokenRevocationStorage) CreateAccessTokenSession added in v0.4.0

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

CreateAccessTokenSession mocks base method

func (*MockTokenRevocationStorage) CreateRefreshTokenSession added in v0.4.0

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

CreateRefreshTokenSession mocks base method

func (*MockTokenRevocationStorage) DeleteAccessTokenSession added in v0.4.0

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

DeleteAccessTokenSession mocks base method

func (*MockTokenRevocationStorage) DeleteRefreshTokenSession added in v0.4.0

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

DeleteRefreshTokenSession mocks base method

func (*MockTokenRevocationStorage) EXPECT added in v0.4.0

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

func (*MockTokenRevocationStorage) GetAccessTokenSession added in v0.4.0

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

GetAccessTokenSession mocks base method

func (*MockTokenRevocationStorage) GetRefreshTokenSession added in v0.4.0

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

GetRefreshTokenSession mocks base method

func (*MockTokenRevocationStorage) RevokeAccessToken added in v0.4.0

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

RevokeAccessToken mocks base method

func (*MockTokenRevocationStorage) RevokeRefreshToken added in v0.4.0

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

RevokeRefreshToken mocks base method

type MockTokenRevocationStorageMockRecorder added in v0.29.0

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

MockTokenRevocationStorageMockRecorder is the mock recorder for MockTokenRevocationStorage

func (*MockTokenRevocationStorageMockRecorder) CreateAccessTokenSession added in v0.29.0

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

CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession

func (*MockTokenRevocationStorageMockRecorder) CreateRefreshTokenSession added in v0.29.0

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

CreateRefreshTokenSession indicates an expected call of CreateRefreshTokenSession

func (*MockTokenRevocationStorageMockRecorder) DeleteAccessTokenSession added in v0.29.0

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

DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession

func (*MockTokenRevocationStorageMockRecorder) DeleteRefreshTokenSession added in v0.29.0

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

DeleteRefreshTokenSession indicates an expected call of DeleteRefreshTokenSession

func (*MockTokenRevocationStorageMockRecorder) GetAccessTokenSession added in v0.29.0

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

GetAccessTokenSession indicates an expected call of GetAccessTokenSession

func (*MockTokenRevocationStorageMockRecorder) GetRefreshTokenSession added in v0.29.0

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

GetRefreshTokenSession indicates an expected call of GetRefreshTokenSession

func (*MockTokenRevocationStorageMockRecorder) RevokeAccessToken added in v0.29.0

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

RevokeAccessToken indicates an expected call of RevokeAccessToken

func (*MockTokenRevocationStorageMockRecorder) RevokeRefreshToken added in v0.29.0

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

RevokeRefreshToken indicates an expected call of RevokeRefreshToken

type MockTransactional added in v0.29.0

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

MockTransactional is a mock of Transactional interface

func NewMockTransactional added in v0.29.0

func NewMockTransactional(ctrl *gomock.Controller) *MockTransactional

NewMockTransactional creates a new mock instance

func (*MockTransactional) BeginTX added in v0.29.0

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

BeginTX mocks base method

func (*MockTransactional) Commit added in v0.29.0

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

Commit mocks base method

func (*MockTransactional) EXPECT added in v0.29.0

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

func (*MockTransactional) Rollback added in v0.29.0

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

Rollback mocks base method

type MockTransactionalMockRecorder added in v0.29.0

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

MockTransactionalMockRecorder is the mock recorder for MockTransactional

func (*MockTransactionalMockRecorder) BeginTX added in v0.29.0

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

BeginTX indicates an expected call of BeginTX

func (*MockTransactionalMockRecorder) Commit added in v0.29.0

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

Commit indicates an expected call of Commit

func (*MockTransactionalMockRecorder) Rollback added in v0.29.0

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

Rollback indicates an expected call of Rollback

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL