Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseToken ¶
Types ¶
type IJWTAuthentication ¶
type IJWTAuthentication interface {
SignToken() string
}
func JWTAuthentication ¶
func JWTAuthentication(tokenType TokenType, claims *entityuser.UserTokenClaimsEntity) (IJWTAuthentication, error)
func RepeatToken ¶
func RepeatToken(claims *entityuser.UserTokenClaimsEntity, expireTimestamp int64) IJWTAuthentication
User for Refresh Token when we need ratain expire time in refresh token
Click to show internal directories.
Click to hide internal directories.