Documentation ¶
Index ¶
- Variables
- func GenerateJWT(payload map[string]string) (string, error)
- func GeneratePasswordHash(password string) (string, error)
- func ParseJWT(tokenString string) (*jwt.Token, error)
- func RetrieveJWT(token *jwt.Token) (jwt.MapClaims, error)
- func VerifyJWT(token *jwt.Token) bool
- func VerifyPassword(password, passwordHash string) bool
- type Claims
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger logrus.Logger
Functions ¶
func GeneratePasswordHash ¶
func RetrieveJWT ¶
func RetrieveJWT(token *jwt.Token) (jwt.MapClaims, error)
func VerifyPassword ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.