mock_auth

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_auth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIdentityProvider

type MockIdentityProvider struct {
	// contains filtered or unexported fields
}

MockIdentityProvider is a mock of IdentityProvider interface.

func NewMockIdentityProvider

func NewMockIdentityProvider(ctrl *gomock.Controller) *MockIdentityProvider

NewMockIdentityProvider creates a new mock instance.

func (*MockIdentityProvider) EXPECT

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

func (*MockIdentityProvider) Resolve

func (m *MockIdentityProvider) Resolve(ctx context.Context, id string) (*auth.Identity, error)

Resolve mocks base method.

func (*MockIdentityProvider) String

func (m *MockIdentityProvider) String() string

String mocks base method.

func (*MockIdentityProvider) URL

func (m *MockIdentityProvider) URL() url.URL

URL mocks base method.

func (*MockIdentityProvider) Validate

func (m *MockIdentityProvider) Validate(ctx context.Context, token jwt.Token) (*auth.Identity, error)

Validate mocks base method.

type MockIdentityProviderMockRecorder

type MockIdentityProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockIdentityProviderMockRecorder is the mock recorder for MockIdentityProvider.

func (*MockIdentityProviderMockRecorder) Resolve

func (mr *MockIdentityProviderMockRecorder) Resolve(ctx, id any) *gomock.Call

Resolve indicates an expected call of Resolve.

func (*MockIdentityProviderMockRecorder) String

String indicates an expected call of String.

func (*MockIdentityProviderMockRecorder) URL

URL indicates an expected call of URL.

func (*MockIdentityProviderMockRecorder) Validate

func (mr *MockIdentityProviderMockRecorder) Validate(ctx, token any) *gomock.Call

Validate indicates an expected call of Validate.

type MockResolver

type MockResolver struct {
	// contains filtered or unexported fields
}

MockResolver is a mock of Resolver interface.

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance.

func (*MockResolver) EXPECT

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

func (*MockResolver) Resolve

func (m *MockResolver) Resolve(ctx context.Context, id string) (*auth.Identity, error)

Resolve mocks base method.

func (*MockResolver) Validate

func (m *MockResolver) Validate(ctx context.Context, token jwt.Token) (*auth.Identity, error)

Validate mocks base method.

type MockResolverMockRecorder

type MockResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) Resolve

func (mr *MockResolverMockRecorder) Resolve(ctx, id any) *gomock.Call

Resolve indicates an expected call of Resolve.

func (*MockResolverMockRecorder) Validate

func (mr *MockResolverMockRecorder) Validate(ctx, token any) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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