Documentation ¶
Overview ¶
Package mockupstreamoidcidentityprovider is a generated GoMock package.
Index ¶
- type MockUpstreamOIDCIdentityProviderI
- func (m *MockUpstreamOIDCIdentityProviderI) EXPECT() *MockUpstreamOIDCIdentityProviderIMockRecorder
- func (m *MockUpstreamOIDCIdentityProviderI) ExchangeAuthcodeAndValidateTokens(arg0 context.Context, arg1 string, arg2 pkce.Code, arg3 nonce.Nonce, ...) (*oidctypes.Token, error)
- func (m *MockUpstreamOIDCIdentityProviderI) GetAuthorizationURL() *url.URL
- func (m *MockUpstreamOIDCIdentityProviderI) GetClientID() string
- func (m *MockUpstreamOIDCIdentityProviderI) GetGroupsClaim() string
- func (m *MockUpstreamOIDCIdentityProviderI) GetName() string
- func (m *MockUpstreamOIDCIdentityProviderI) GetScopes() []string
- func (m *MockUpstreamOIDCIdentityProviderI) GetUsernameClaim() string
- func (m *MockUpstreamOIDCIdentityProviderI) ValidateToken(arg0 context.Context, arg1 *oauth2.Token, arg2 nonce.Nonce) (*oidctypes.Token, error)
- type MockUpstreamOIDCIdentityProviderIMockRecorder
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetAuthorizationURL() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetClientID() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetGroupsClaim() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetName() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetScopes() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetUsernameClaim() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateToken(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUpstreamOIDCIdentityProviderI ¶
type MockUpstreamOIDCIdentityProviderI struct {
// contains filtered or unexported fields
}
MockUpstreamOIDCIdentityProviderI is a mock of UpstreamOIDCIdentityProviderI interface.
func NewMockUpstreamOIDCIdentityProviderI ¶
func NewMockUpstreamOIDCIdentityProviderI(ctrl *gomock.Controller) *MockUpstreamOIDCIdentityProviderI
NewMockUpstreamOIDCIdentityProviderI creates a new mock instance.
func (*MockUpstreamOIDCIdentityProviderI) EXPECT ¶
func (m *MockUpstreamOIDCIdentityProviderI) EXPECT() *MockUpstreamOIDCIdentityProviderIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpstreamOIDCIdentityProviderI) ExchangeAuthcodeAndValidateTokens ¶
func (m *MockUpstreamOIDCIdentityProviderI) ExchangeAuthcodeAndValidateTokens(arg0 context.Context, arg1 string, arg2 pkce.Code, arg3 nonce.Nonce, arg4 string) (*oidctypes.Token, error)
ExchangeAuthcodeAndValidateTokens mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) GetAuthorizationURL ¶
func (m *MockUpstreamOIDCIdentityProviderI) GetAuthorizationURL() *url.URL
GetAuthorizationURL mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) GetClientID ¶
func (m *MockUpstreamOIDCIdentityProviderI) GetClientID() string
GetClientID mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) GetGroupsClaim ¶
func (m *MockUpstreamOIDCIdentityProviderI) GetGroupsClaim() string
GetGroupsClaim mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) GetName ¶
func (m *MockUpstreamOIDCIdentityProviderI) GetName() string
GetName mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) GetScopes ¶
func (m *MockUpstreamOIDCIdentityProviderI) GetScopes() []string
GetScopes mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) GetUsernameClaim ¶
func (m *MockUpstreamOIDCIdentityProviderI) GetUsernameClaim() string
GetUsernameClaim mocks base method.
type MockUpstreamOIDCIdentityProviderIMockRecorder ¶
type MockUpstreamOIDCIdentityProviderIMockRecorder struct {
// contains filtered or unexported fields
}
MockUpstreamOIDCIdentityProviderIMockRecorder is the mock recorder for MockUpstreamOIDCIdentityProviderI.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ExchangeAuthcodeAndValidateTokens indicates an expected call of ExchangeAuthcodeAndValidateTokens.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetAuthorizationURL ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetAuthorizationURL() *gomock.Call
GetAuthorizationURL indicates an expected call of GetAuthorizationURL.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetClientID ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetClientID() *gomock.Call
GetClientID indicates an expected call of GetClientID.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetGroupsClaim ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetGroupsClaim() *gomock.Call
GetGroupsClaim indicates an expected call of GetGroupsClaim.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetName ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetScopes ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetScopes() *gomock.Call
GetScopes indicates an expected call of GetScopes.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetUsernameClaim ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetUsernameClaim() *gomock.Call
GetUsernameClaim indicates an expected call of GetUsernameClaim.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateToken ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateToken(arg0, arg1, arg2 interface{}) *gomock.Call
ValidateToken indicates an expected call of ValidateToken.