authorizer

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTAuthorizer

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

func NewJWT

func NewJWT(keyKeeper auth.KeyStore) (*JWTAuthorizer, error)

func (*JWTAuthorizer) Authenticate

func (d *JWTAuthorizer) Authenticate(tokenString string, myAudience string) (*auth.ClientClaims, error)

func (*JWTAuthorizer) Running

func (d *JWTAuthorizer) Running() bool

func (*JWTAuthorizer) Shutdown

func (d *JWTAuthorizer) Shutdown() error

Jump to

Keyboard shortcuts

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