Documentation ¶
Index ¶
- func GenerateJWTToken(hmacSecret []byte, uuid string, ad time.Duration) (string, time.Time, error)
- func GenerateJWTTokenPair(hmacSecret []byte, uuid string, ad time.Duration, rd time.Duration) (string, time.Time, string, time.Time, error)
- func ProcessJWTToken(hmacSecret []byte, reqToken string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWTToken ¶
GenerateJWTToken Generate the `access token` for the secret key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.