oidc

package
v0.0.0-...-e2d6795 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 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 Authenticator

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

func NewAuthenticator

func NewAuthenticator(users *users.UserComponent, opt Options) *Authenticator

func (*Authenticator) GetAudience

func (a *Authenticator) GetAudience() string

func (*Authenticator) GetIssuer

func (a *Authenticator) GetIssuer() string

func (*Authenticator) UserFromJWT

func (a *Authenticator) UserFromJWT(ctx context.Context, token string) (*userapi.User, error)

type Options

type Options struct {
	Issuer   string
	Audience string
}

Jump to

Keyboard shortcuts

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