Documentation ¶
Index ¶
- func ExtractToken(r *http.Request) string
- func ExtractTokenMetadata(r *http.Request) (access.Description, error)
- func GenUUID() string
- func Hash(secret string) (string, error)
- func PasswordMatch(hashedPassword, password string) bool
- func TokenValid(r *http.Request) error
- func VerifyToken(r *http.Request) (*jwt.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractToken ¶
func ExtractTokenMetadata ¶
func ExtractTokenMetadata(r *http.Request) (access.Description, error)
Extract token info
func PasswordMatch ¶
func TokenValid ¶
func VerifyToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.