Documentation ¶
Index ¶
- func ClearTokenCookie(c *fiber.Ctx)
- func ComparePassword(hashedPassword string, password string) bool
- func GeneratePassword(password string) string
- func GenerateRandomToken() string
- func GenerateToken(userId string) (string, error)
- func SendEmail(to, subject, body string) error
- func SetTokenCookie(c *fiber.Ctx, token string)
- func VerifyToken(tokenString string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearTokenCookie ¶
func ClearTokenCookie(c *fiber.Ctx)
func ComparePassword ¶
func GeneratePassword ¶
func GenerateRandomToken ¶
func GenerateRandomToken() string
func GenerateToken ¶
func SetTokenCookie ¶
func SetTokenCookie(c *fiber.Ctx, token string)
func VerifyToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.