Documentation ¶
Index ¶
- func CheckAccessToken(token string) (claims *jwt.CustomClaims, err error)
- func CheckRefreshToken(token string) (claims *jwt.CustomClaims, err error)
- func IssueAccessToken(user *models.UserModel) (claims *jwt.CustomClaims, tokenString string, err error)
- func IssueRefreshToken(user *models.UserModel) (claims *jwt.CustomClaims, tokenString string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAccessToken ¶
func CheckAccessToken(token string) ( claims *jwt.CustomClaims, err error, )
func CheckRefreshToken ¶
func CheckRefreshToken(token string) (claims *jwt.CustomClaims, err error)
func IssueAccessToken ¶
func IssueRefreshToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.