Documentation
¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func ExtractClaimsFromToken(tokenString string) (jwt.MapClaims, error)
- func GenerateToken(userID uuid.UUID, userEmail string) (string, error)
- func HashPassword(password string) (string, error)
- func VerifyToken(tokenString string) (jwt.MapClaims, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
Compare a plain-text password with a hashed password
func ExtractClaimsFromToken ¶
func GenerateToken ¶
Generate Auth token for user with his UUID
func VerifyToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.