idimpl

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalSigner

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

func ProvideLocalSigner

func ProvideLocalSigner(keyService signingkeys.Service, features featuremgmt.FeatureToggles) (*LocalSigner, error)

func (*LocalSigner) SignIDToken

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

type Service

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

func ProvideService

func ProvideService(
	cfg *setting.Cfg, signer auth.IDSigner, cache remotecache.CacheStorage,
	features featuremgmt.FeatureToggles, authnService authn.Service,
	reg prometheus.Registerer,
) *Service

func (*Service) RemoveIDToken

func (s *Service) RemoveIDToken(ctx context.Context, id identity.Requester) error

func (*Service) SignIdentity

func (s *Service) SignIdentity(ctx context.Context, id identity.Requester) (string, error)

Jump to

Keyboard shortcuts

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