Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TokenValidator is the cache token validator TokenValidator gojwtcache.TokenValidator // SetTokenToCache sets the token to the cache SetTokenToCache func( token gojwttoken.Token, id int64, expiresAt time.Time, isValid bool, ) // RevokeTokenFromCache revokes the token from the cache RevokeTokenFromCache func( token gojwttoken.Token, id int64, ) // RevokeRefreshTokenFromCache revokes the refresh token from the cache RevokeRefreshTokenFromCache func( userRefreshTokenID int64, ) // RevokeUserRefreshTokensFromCache revokes the user refresh tokens from the cache RevokeUserRefreshTokensFromCache func(userID int64) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.