auth

package
v0.0.0-...-7bf0c42 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWTAuthenticationMiddleware

func JWTAuthenticationMiddleware(next http.Handler) http.Handler

JWTAuthenticationMiddleware defined to intercept request before passing to the next middleware or handler

Types

type RequestContextKey

type RequestContextKey string

RequestContextKey defined

const (
	// CtxKey context defined
	CtxKey RequestContextKey = "userObj"
)

Jump to

Keyboard shortcuts

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