auth

package
v0.0.0-...-e7831ad Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy union.Union
View Source
var TokenStrategy auth.Strategy

Functions

func CreateToken

func CreateToken(w http.ResponseWriter, r *http.Request)

func InitAuth

func InitAuth()

func ValidateUser

func ValidateUser(ctx context.Context, r *http.Request, userName, password string) (auth.Info, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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