auth

package
v0.0.0-...-6904822 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = echojwt.Config{
	NewClaimsFunc: func(c echo.Context) jwt.Claims {
		return new(core.TokenClaims)
	},
	SigningKey: core.TokenSecret,
}

Functions

func LoginHandler

func LoginHandler(c echo.Context) error

func RegisterHandler

func RegisterHandler(c echo.Context) error

func Setup

func Setup(g *echo.Group)

func UserHandler

func UserHandler(c echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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