idtest

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

type MockService struct {
	SignIdentityFn  func(ctx context.Context, identity identity.Requester) (string, error)
	RemoveIDTokenFn func(ctx context.Context, identity identity.Requester) error
}

func (*MockService) RemoveIDToken

func (m *MockService) RemoveIDToken(ctx context.Context, identity identity.Requester) error

func (*MockService) SignIdentity

func (m *MockService) SignIdentity(ctx context.Context, identity identity.Requester) (string, error)

type MockSigner

type MockSigner struct {
	SignIDTokenFn func(ctx context.Context, claims *auth.IDClaims) (string, error)
}

func (*MockSigner) SignIDToken

func (s *MockSigner) SignIDToken(ctx context.Context, claims *auth.IDClaims) (string, error)

Jump to

Keyboard shortcuts

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