oidc

package
v1.4.5-d2iq Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterAudiences

func GetClusterAudiences(clientID string, scopes []string) []string

getClusterAudiences returns list of expected audiences in the OIDC token. The DKA OIDC client is requesting tokens for TFA client. The verifier should make sure that all requested audiences are in the token.

Types

type Verifier

type Verifier interface {
	Verify(ctx context.Context, rawIDToken string) (*oidc.IDToken, error)
}

func NewAudienceVerifier

func NewAudienceVerifier(verifier *oidc.IDTokenVerifier, audiences []string) Verifier

Jump to

Keyboard shortcuts

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