middleware

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JWTContextKey = &contextKey{"jwt"}

JWTContextKey to set parced token claims to request context

Functions

func JWT

func JWT(ji jwt.Interactor) func(http.Handler) http.Handler

JWT Middleware

func JWTEcho

func JWTEcho(ji jwt.Interactor) echo.MiddlewareFunc

JWTEcho Middleware to use with echo.labstack framework

Types

This section is empty.

Jump to

Keyboard shortcuts

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