auth

package
v0.0.0-...-56bdb5d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication(next http.Handler) http.Handler

func BasicAuth

func BasicAuth(req *http.Request) error

func GenerateToken

func GenerateToken(userID string) (string, error)

func JwtAuthentication

func JwtAuthentication(authHeader string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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