jwt

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JwtErrorSessionExpired = "SESSION_EXPIRED"
	JwtErrorUnauthorized   = "UNAUTHORIZED"
	JwtErrorValidation     = "JWT_VALIDATION_ERROR"
	JwtErrorTokenParse     = "JWT_TOKEN_PARSE_ERROR"
	JwtErrorNoJwksEndpoint = "JWT_JWKS_ENDPOINT_MISSING"
	JwtErrorOther          = "OTHER"
)

Variables

This section is empty.

Functions

func MiddlewareWithErr

func MiddlewareWithErr(context interface{}, s *session.Session, app application.MobileConnectApp) error

Types

type VerifyError

type VerifyError struct {
	ErrorType string
	Error     error
}

func Middleware

func Middleware(context interface{}, s *session.Session, app application.MobileConnectApp) VerifyError

Jump to

Keyboard shortcuts

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