Documentation ¶
Index ¶
- func CreateAccessToken(user *domain.User, secret string, expiry int) (accessToken string, err error)
- func CreateRefreshToken(user *domain.User, secret string, expiry int) (refreshToken string, err error)
- func ExtractIDFromToken(requestToken string, secret string) (string, error)
- func IsAuthorized(requestToken string, secret string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccessToken ¶
func CreateRefreshToken ¶
func ExtractIDFromToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.