authz

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 10 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
}

Authenticator implements the OIDC authentication

func NewAuthenticator

func NewAuthenticator(appConfig *utils.AppConfig, m monitoring.MetricsI) (*Authenticator, error)

NewAuthenticator creates new Authenticator

func (*Authenticator) VerifyToken

func (a *Authenticator) VerifyToken() echo.MiddlewareFunc

VerifyToken verifies if the JWT token from request header is valid

Jump to

Keyboard shortcuts

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