auth

package
v0.0.0-...-d7024bd Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(req *http.Request, accessSecret string) error

func SignInHandler

func SignInHandler(cfg *config.Config, rc *rdb.Client) gin.HandlerFunc

func ValidateToken

func ValidateToken(req *http.Request, accessSecret string) (*jwt.Token, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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