auth

package
v0.0.0-...-9be0976 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWTAuthWrapper

func JWTAuthWrapper(token *token.Token, privateHandle PrivateCheckerType, loginHandler http.Handler) plugin.Handler

JWTAuthWrapper

Types

type PrivateCheckerType

type PrivateCheckerType func(username string, w http.ResponseWriter, r *http.Request) bool

Jump to

Keyboard shortcuts

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