uaa

package
v0.0.0-...-7a6a509 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	Fetch(ctx context.Context, url string) (jwk.Set, error)
}

type KeyFetcher

type KeyFetcher struct {
	UAAURL  string
	Fetcher Fetcher
}

func NewKeyFetcher

func NewKeyFetcher(ctx context.Context, uaaConf config.UaaConfig) (*KeyFetcher, error)

func (*KeyFetcher) Fetch

func (ukf *KeyFetcher) Fetch(token *jwt.Token) (interface{}, error)

Jump to

Keyboard shortcuts

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