authx

package
v0.0.0-...-bf33595 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: GPL-3.0 Imports: 5 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 {
	*oidc.Provider
	oauth2.Config
}

Authenticator is a struct that holds the authentication logic.

func NewAuthenticator

func NewAuthenticator() (*Authenticator, error)

NewAuthenticator creates a new Authenticator.

func (*Authenticator) VerifyIDToken

func (a *Authenticator) VerifyIDToken(ctx contextx.Contextx, token *oauth2.Token) (*oidc.IDToken, error)

VerifyIDToken verifies the ID token.

Jump to

Keyboard shortcuts

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