Documentation
¶
Overview ¶
Package mock_loader is a generated GoMock package.
Index ¶
- type MockLoader
- type MockLoaderMockRecorder
- type MockProvider
- func (m *MockProvider) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) Exchange(ctx context.Context, code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error)
- func (m *MockProvider) Verify(ctx context.Context, rawIDToken string) (*oidc.IDToken, error)
- type MockProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLoader ¶
type MockLoader struct {
// contains filtered or unexported fields
}
MockLoader is a mock of Loader interface.
func NewMockLoader ¶
func NewMockLoader(ctrl *gomock.Controller) *MockLoader
NewMockLoader creates a new mock instance.
func (*MockLoader) EXPECT ¶
func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoader) SetLoginURL ¶
func (m *MockLoader) SetLoginURL(arg0 string)
SetLoginURL mocks base method.
type MockLoaderMockRecorder ¶
type MockLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockLoaderMockRecorder is the mock recorder for MockLoader.
func (*MockLoaderMockRecorder) LoginURL ¶
func (mr *MockLoaderMockRecorder) LoginURL() *gomock.Call
LoginURL indicates an expected call of LoginURL.
func (*MockLoaderMockRecorder) Provider ¶
func (mr *MockLoaderMockRecorder) Provider(ctx any) *gomock.Call
Provider indicates an expected call of Provider.
func (*MockLoaderMockRecorder) SetLoginURL ¶
func (mr *MockLoaderMockRecorder) SetLoginURL(arg0 any) *gomock.Call
SetLoginURL indicates an expected call of SetLoginURL.
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) AuthCodeURL ¶
func (m *MockProvider) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string
AuthCodeURL mocks base method.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) AuthCodeURL ¶
func (mr *MockProviderMockRecorder) AuthCodeURL(state any, opts ...any) *gomock.Call
AuthCodeURL indicates an expected call of AuthCodeURL.