Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetToken ¶
func SetToken(token *Model) *errors.ApplicationError
func ValidateToken ¶
func ValidateToken(tokenString string, tokenType string) *errors.ApplicationError
func VerifyToken ¶
Types ¶
type Model ¶
func CreateAccessToken ¶
func CreateAccessToken(userId string) (*Model, *errors.ApplicationError)
func CreateRefreshToken ¶
func CreateRefreshToken(userId string) (*Model, *errors.ApplicationError)
func ExtractTokenClaims ¶
func ExtractTokenClaims(tokenString string, tokenType string) (*Model, *errors.ApplicationError)
Click to show internal directories.
Click to hide internal directories.