Documentation ¶
Overview ¶
Package mockupstreamoidcidentityprovider is a generated GoMock package.
Index ¶
- type MockUpstreamOIDCIdentityProviderI
- func (m *MockUpstreamOIDCIdentityProviderI) AllowsPasswordGrant() bool
- 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) GetAdditionalAuthcodeParams() map[string]string
- func (m *MockUpstreamOIDCIdentityProviderI) GetAuthorizationURL() *url.URL
- func (m *MockUpstreamOIDCIdentityProviderI) GetClientID() string
- func (m *MockUpstreamOIDCIdentityProviderI) GetGroupsClaim() string
- func (m *MockUpstreamOIDCIdentityProviderI) GetName() string
- func (m *MockUpstreamOIDCIdentityProviderI) GetResourceUID() types.UID
- func (m *MockUpstreamOIDCIdentityProviderI) GetScopes() []string
- func (m *MockUpstreamOIDCIdentityProviderI) GetUsernameClaim() string
- func (m *MockUpstreamOIDCIdentityProviderI) HasUserInfoURL() bool
- func (m *MockUpstreamOIDCIdentityProviderI) PasswordCredentialsGrantAndValidateTokens(arg0 context.Context, arg1, arg2 string) (*oidctypes.Token, error)
- func (m *MockUpstreamOIDCIdentityProviderI) PerformRefresh(arg0 context.Context, arg1 string) (*oauth2.Token, error)
- func (m *MockUpstreamOIDCIdentityProviderI) RevokeToken(arg0 context.Context, arg1 string, arg2 provider.RevocableTokenType) error
- func (m *MockUpstreamOIDCIdentityProviderI) ValidateTokenAndMergeWithUserInfo(arg0 context.Context, arg1 *oauth2.Token, arg2 nonce.Nonce, arg3, arg4 bool) (*oidctypes.Token, error)
- type MockUpstreamOIDCIdentityProviderIMockRecorder
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) AllowsPasswordGrant() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetAdditionalAuthcodeParams() *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) GetResourceUID() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetScopes() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetUsernameClaim() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) HasUserInfoURL() *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) PasswordCredentialsGrantAndValidateTokens(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) PerformRefresh(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) RevokeToken(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateTokenAndMergeWithUserInfo(arg0, arg1, arg2, arg3, arg4 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) AllowsPasswordGrant ¶ added in v0.11.0
func (m *MockUpstreamOIDCIdentityProviderI) AllowsPasswordGrant() bool
AllowsPasswordGrant mocks base method.
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) GetAdditionalAuthcodeParams ¶ added in v0.13.0
func (m *MockUpstreamOIDCIdentityProviderI) GetAdditionalAuthcodeParams() map[string]string
GetAdditionalAuthcodeParams 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) GetResourceUID ¶ added in v0.13.0
func (m *MockUpstreamOIDCIdentityProviderI) GetResourceUID() types.UID
GetResourceUID 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.
func (*MockUpstreamOIDCIdentityProviderI) HasUserInfoURL ¶ added in v0.13.0
func (m *MockUpstreamOIDCIdentityProviderI) HasUserInfoURL() bool
HasUserInfoURL mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) PasswordCredentialsGrantAndValidateTokens ¶ added in v0.11.0
func (m *MockUpstreamOIDCIdentityProviderI) PasswordCredentialsGrantAndValidateTokens(arg0 context.Context, arg1, arg2 string) (*oidctypes.Token, error)
PasswordCredentialsGrantAndValidateTokens mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) PerformRefresh ¶ added in v0.13.0
func (m *MockUpstreamOIDCIdentityProviderI) PerformRefresh(arg0 context.Context, arg1 string) (*oauth2.Token, error)
PerformRefresh mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) RevokeToken ¶ added in v0.13.0
func (m *MockUpstreamOIDCIdentityProviderI) RevokeToken(arg0 context.Context, arg1 string, arg2 provider.RevocableTokenType) error
RevokeToken mocks base method.
func (*MockUpstreamOIDCIdentityProviderI) ValidateTokenAndMergeWithUserInfo ¶ added in v0.13.0
func (m *MockUpstreamOIDCIdentityProviderI) ValidateTokenAndMergeWithUserInfo(arg0 context.Context, arg1 *oauth2.Token, arg2 nonce.Nonce, arg3, arg4 bool) (*oidctypes.Token, error)
ValidateTokenAndMergeWithUserInfo mocks base method.
type MockUpstreamOIDCIdentityProviderIMockRecorder ¶
type MockUpstreamOIDCIdentityProviderIMockRecorder struct {
// contains filtered or unexported fields
}
MockUpstreamOIDCIdentityProviderIMockRecorder is the mock recorder for MockUpstreamOIDCIdentityProviderI.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) AllowsPasswordGrant ¶ added in v0.11.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) AllowsPasswordGrant() *gomock.Call
AllowsPasswordGrant indicates an expected call of AllowsPasswordGrant.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens ¶
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ExchangeAuthcodeAndValidateTokens indicates an expected call of ExchangeAuthcodeAndValidateTokens.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetAdditionalAuthcodeParams ¶ added in v0.13.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetAdditionalAuthcodeParams() *gomock.Call
GetAdditionalAuthcodeParams indicates an expected call of GetAdditionalAuthcodeParams.
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) GetResourceUID ¶ added in v0.13.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetResourceUID() *gomock.Call
GetResourceUID indicates an expected call of GetResourceUID.
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) HasUserInfoURL ¶ added in v0.13.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) HasUserInfoURL() *gomock.Call
HasUserInfoURL indicates an expected call of HasUserInfoURL.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) PasswordCredentialsGrantAndValidateTokens ¶ added in v0.11.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) PasswordCredentialsGrantAndValidateTokens(arg0, arg1, arg2 interface{}) *gomock.Call
PasswordCredentialsGrantAndValidateTokens indicates an expected call of PasswordCredentialsGrantAndValidateTokens.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) PerformRefresh ¶ added in v0.13.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) PerformRefresh(arg0, arg1 interface{}) *gomock.Call
PerformRefresh indicates an expected call of PerformRefresh.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) RevokeToken ¶ added in v0.13.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) RevokeToken(arg0, arg1, arg2 interface{}) *gomock.Call
RevokeToken indicates an expected call of RevokeToken.
func (*MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateTokenAndMergeWithUserInfo ¶ added in v0.13.0
func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateTokenAndMergeWithUserInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ValidateTokenAndMergeWithUserInfo indicates an expected call of ValidateTokenAndMergeWithUserInfo.