provider

package
v0.0.0-...-ab483ee Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JwkMinimumRefreshInterval = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JwksProvider

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

func NewJwksProvider

func NewJwksProvider(ctx context.Context, openidCfg openidconfig.Config) (*JwksProvider, error)

func (*JwksProvider) GetPublicJwkSet

func (p *JwksProvider) GetPublicJwkSet(ctx context.Context) (*jwk.Set, error)

func (*JwksProvider) RefreshPublicJwkSet

func (p *JwksProvider) RefreshPublicJwkSet(ctx context.Context) (*jwk.Set, error)

Jump to

Keyboard shortcuts

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