Documentation ¶
Index ¶
- func CheckPasswordHash(password, hash string) error
- func GetBearerToken(headers http.Header) (string, error)
- func HashPassword(password string) (string, error)
- func MakeJWT(userId uuid.UUID, tokenSecret string, expiresIn time.Duration) (string, error)
- func MakeRefreshToken() (string, error)
- func ValidateJWT(tokenString, tokenSecret string) (uuid.UUID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
func MakeRefreshToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.