oidc

package module
v0.0.0-...-068faf5 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJWKS

func ConvertJWKS(i *meshauth.TrustConfig) error

func NewChecker

func NewChecker()

Types

type AuthOIDC

type AuthOIDC struct {
	Audience string
	// contains filtered or unexported fields
}

func (*AuthOIDC) CheckJwt

func (a *AuthOIDC) CheckJwt(password string) (tok map[string]string, e error)

func (*AuthOIDC) Init

func (a *AuthOIDC) Init(ctx context.Context, v *meshauth.TrustConfig) error

func (*AuthOIDC) InitJWT

func (a *AuthOIDC) InitJWT(issuers []string)

func (*AuthOIDC) Verify

func (a *AuthOIDC) Verify(ctx context.Context, v *meshauth.TrustConfig, raw string) error

Jump to

Keyboard shortcuts

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