auth

package
v0.0.0-...-9bee2a0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateJWT

func CreateJWT(associationID string, associationName string, exp time.Time, secretKey string) string

func HashPassword

func HashPassword(password string) string

func ParseJWT

func ParseJWT(tokenStr string, secretKey string) (string, error)

func VerifyPassword

func VerifyPassword(password string, hashedPassword string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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