package
Version:
v1.2.7
Opens a new window with list of versions in this module.
Published: Dec 13, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AuthenticateUser validates the user and generates a JWT token
type Claims struct {
Email string `json:"email"`
ID uint `json:"id"`
Username string `json:"username"`
FullName string `json:"full_name"`
jwt.StandardClaims
}
Claims defines the structure of the JWT payload
Source Files
¶
Click to show internal directories.
Click to hide internal directories.