Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccessToken ¶
CreateAccessToken ...
func CreateTokenString ¶
CreateTokenString ...
Types ¶
type AccessClaims ¶
type AccessClaims struct {
Info Info `json:"info"`
jwt.StandardClaims
}
AccessClaims ...
func GetClaimsFromAccessToken ¶
func GetClaimsFromAccessToken(tokenString string, secretKey string) (AccessClaims, error)
GetClaimsFromAccessToken ...
Click to show internal directories.
Click to hide internal directories.