auth

package
v0.0.0-...-07d49b8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthSkipperFunc

func AuthSkipperFunc(c echo.Context) bool

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func CheckTokenMiddleware

func CheckTokenMiddleware(db *gorm.DB, logger *logrus.Logger) echo.MiddlewareFunc

func GetCurrentTokenID

func GetCurrentTokenID(c echo.Context) (uint, error)

func HashPassword

func HashPassword(password string) (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