mockupstreamoidcidentityprovider

package
Version: v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mockupstreamoidcidentityprovider is a generated GoMock package.

Index

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

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

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

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

GetClientID indicates an expected call of GetClientID.

func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetGroupsClaim

GetGroupsClaim indicates an expected call of GetGroupsClaim.

func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetResourceUID added in v0.13.0

GetResourceUID indicates an expected call of GetResourceUID.

func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetScopes

GetScopes indicates an expected call of GetScopes.

func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetUsernameClaim

GetUsernameClaim indicates an expected call of GetUsernameClaim.

func (*MockUpstreamOIDCIdentityProviderIMockRecorder) HasUserInfoURL added in v0.13.0

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.

Jump to

Keyboard shortcuts

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