oidc

package
v0.1.250 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package oidc is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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