mock_loader

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_loader is a generated GoMock package.

Index

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) LoginURL

func (m *MockLoader) LoginURL() string

LoginURL mocks base method.

func (*MockLoader) Provider

func (m *MockLoader) Provider(ctx context.Context) (loader.Provider, error)

Provider mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProvider) Exchange

func (m *MockProvider) Exchange(ctx context.Context, code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error)

Exchange mocks base method.

func (*MockProvider) Verify

func (m *MockProvider) Verify(ctx context.Context, rawIDToken string) (*oidc.IDToken, error)

Verify mocks base method.

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.

func (*MockProviderMockRecorder) Exchange

func (mr *MockProviderMockRecorder) Exchange(ctx, code any, opts ...any) *gomock.Call

Exchange indicates an expected call of Exchange.

func (*MockProviderMockRecorder) Verify

func (mr *MockProviderMockRecorder) Verify(ctx, rawIDToken any) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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