idp

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	configuration librepo.Configuration,
	customConfig config.CustomConfiguration,
	logging librepo.Logging,
) repository.IdentityProvider

Types

type Impl

type Impl struct {
	Configuration       librepo.Configuration
	CustomConfiguration config.CustomConfiguration
	Logging             librepo.Logging

	IDPClient aurestclientapi.Client
	PEMKeySet []string
}

func (*Impl) GetKeySet

func (r *Impl) GetKeySet(ctx context.Context) []string

func (*Impl) IsIdentityProvider

func (r *Impl) IsIdentityProvider() bool

func (*Impl) ObtainKeySet

func (r *Impl) ObtainKeySet(ctx context.Context) error

func (*Impl) Setup

func (r *Impl) Setup() error

func (*Impl) SetupConnector added in v0.33.0

func (r *Impl) SetupConnector(ctx context.Context) error

func (*Impl) VerifyToken

func (r *Impl) VerifyToken(ctx context.Context, token string) error

Jump to

Keyboard shortcuts

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