Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IssueAccessToken ¶
IssueAccessToken issues signed string of access token.
func IssueRefreshToken ¶
IssueRefreshToken issues signed string of refresh token.
Types ¶
type Claims ¶
type Claims struct {
Type string `json:"type"`
jwt.RegisteredClaims
}
Claims is a custom claims for jwt token.
Click to show internal directories.
Click to hide internal directories.