Documentation ¶
Index ¶
Constants ¶
View Source
const ExpireCount = 2
View Source
const ExpireRefreshCount = 168
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtCustomClaims ¶
type JwtCustomRefreshClaims ¶
type JwtCustomRefreshClaims struct { ID uint `json:"id"` jwt.StandardClaims }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewTokenService ¶
func (*Service) CreateAccessToken ¶
Click to show internal directories.
Click to hide internal directories.