middleware

package
v0.0.0-...-5dd8136 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TokenKey = "token"

Variables

This section is empty.

Functions

func GetToken

func GetToken(ctx context.Context) (*jwt.Token, bool)

func VerifyOpenIdConnectJwtToken

func VerifyOpenIdConnectJwtToken(issuer, signingAlgorithm string, next http.Handler) http.Handler

Types

type ErrorMessage

type ErrorMessage struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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