Documentation ¶
Index ¶
- func AuthMiddleware(next http.Handler) http.Handler
- func CreateRefreshToken() string
- func CreateToken(tokenData *entities.TokenData, permissions []string) (string, time.Time, error)
- func DecodeToken(tokenString string) (*entities.JWTClaims, error)
- func GetAccountIDByJWTToken(token string) (uuid.UUID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRefreshToken ¶
func CreateRefreshToken() string
func CreateToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.