Documentation ¶
Overview ¶
Package oidc is a generated GoMock package.
Index ¶
- type MockIOIDCAuthenticator
- func (m *MockIOIDCAuthenticator) AuthCodeURL(arg0 string, arg1 ...oauth2.AuthCodeOption) string
- func (m *MockIOIDCAuthenticator) EXPECT() *MockIOIDCAuthenticatorMockRecorder
- func (m *MockIOIDCAuthenticator) Exchange(arg0 context.Context, arg1 string, arg2 ...oauth2.AuthCodeOption) (*oauth2.Token, error)
- func (m *MockIOIDCAuthenticator) GetTokenSource(arg0 context.Context, arg1 *oauth2.Token) oauth2.TokenSource
- func (m *MockIOIDCAuthenticator) ValidateJWTAccessToken(arg0 string) (*oidc0.AccessToken, error)
- func (m *MockIOIDCAuthenticator) VerifyIDToken(arg0 context.Context, arg1 *oauth2.Token) (*oidc.IDToken, error)
- type MockIOIDCAuthenticatorMockRecorder
- func (mr *MockIOIDCAuthenticatorMockRecorder) AuthCodeURL(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIOIDCAuthenticatorMockRecorder) Exchange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIOIDCAuthenticatorMockRecorder) GetTokenSource(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIOIDCAuthenticatorMockRecorder) ValidateJWTAccessToken(arg0 interface{}) *gomock.Call
- func (mr *MockIOIDCAuthenticatorMockRecorder) VerifyIDToken(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIOIDCAuthenticator ¶
type MockIOIDCAuthenticator struct {
// contains filtered or unexported fields
}
MockIOIDCAuthenticator is a mock of IOIDCAuthenticator interface.
func NewMockIOIDCAuthenticator ¶
func NewMockIOIDCAuthenticator(ctrl *gomock.Controller) *MockIOIDCAuthenticator
NewMockIOIDCAuthenticator creates a new mock instance.
func (*MockIOIDCAuthenticator) AuthCodeURL ¶
func (m *MockIOIDCAuthenticator) AuthCodeURL(arg0 string, arg1 ...oauth2.AuthCodeOption) string
AuthCodeURL mocks base method.
func (*MockIOIDCAuthenticator) EXPECT ¶
func (m *MockIOIDCAuthenticator) EXPECT() *MockIOIDCAuthenticatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIOIDCAuthenticator) Exchange ¶
func (m *MockIOIDCAuthenticator) Exchange(arg0 context.Context, arg1 string, arg2 ...oauth2.AuthCodeOption) (*oauth2.Token, error)
Exchange mocks base method.
func (*MockIOIDCAuthenticator) GetTokenSource ¶
func (m *MockIOIDCAuthenticator) GetTokenSource(arg0 context.Context, arg1 *oauth2.Token) oauth2.TokenSource
GetTokenSource mocks base method.
func (*MockIOIDCAuthenticator) ValidateJWTAccessToken ¶
func (m *MockIOIDCAuthenticator) ValidateJWTAccessToken(arg0 string) (*oidc0.AccessToken, error)
ValidateJWTAccessToken mocks base method.
func (*MockIOIDCAuthenticator) VerifyIDToken ¶
func (m *MockIOIDCAuthenticator) VerifyIDToken(arg0 context.Context, arg1 *oauth2.Token) (*oidc.IDToken, error)
VerifyIDToken mocks base method.
type MockIOIDCAuthenticatorMockRecorder ¶
type MockIOIDCAuthenticatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIOIDCAuthenticatorMockRecorder is the mock recorder for MockIOIDCAuthenticator.
func (*MockIOIDCAuthenticatorMockRecorder) AuthCodeURL ¶
func (mr *MockIOIDCAuthenticatorMockRecorder) AuthCodeURL(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AuthCodeURL indicates an expected call of AuthCodeURL.
func (*MockIOIDCAuthenticatorMockRecorder) Exchange ¶
func (mr *MockIOIDCAuthenticatorMockRecorder) Exchange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Exchange indicates an expected call of Exchange.
func (*MockIOIDCAuthenticatorMockRecorder) GetTokenSource ¶
func (mr *MockIOIDCAuthenticatorMockRecorder) GetTokenSource(arg0, arg1 interface{}) *gomock.Call
GetTokenSource indicates an expected call of GetTokenSource.
func (*MockIOIDCAuthenticatorMockRecorder) ValidateJWTAccessToken ¶
func (mr *MockIOIDCAuthenticatorMockRecorder) ValidateJWTAccessToken(arg0 interface{}) *gomock.Call
ValidateJWTAccessToken indicates an expected call of ValidateJWTAccessToken.
func (*MockIOIDCAuthenticatorMockRecorder) VerifyIDToken ¶
func (mr *MockIOIDCAuthenticatorMockRecorder) VerifyIDToken(arg0, arg1 interface{}) *gomock.Call
VerifyIDToken indicates an expected call of VerifyIDToken.