Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePassword ¶
比较加密后的密码和未加密的密码,如果一致返回true,如果不一致返回false
Types ¶
type JwtCustomClaims ¶
func ParseToken ¶
func ParseToken(tokenStr string) (JwtCustomClaims, error)
Click to show internal directories.
Click to hide internal directories.