middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorAuthHeaderNotExists = "Authorization header does not exists"
	ErrorAuthHeaderInvalid   = "Invalid authorization header"
	ErrorAuthFailed          = "Unable to authenticate user"
)

Variables

This section is empty.

Functions

func AuthOneJwtCallableWithConfig

func AuthOneJwtCallableWithConfig(cfg *jwtverifier.JwtVerifier, f func(*jwtverifier.UserInfo)) echo.MiddlewareFunc

func AuthOneJwtWithConfig

func AuthOneJwtWithConfig(cfg *jwtverifier.JwtVerifier) echo.MiddlewareFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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