Documentation
¶
Index ¶
- func GenerateAndSetAuthTokenForHTTPRequestHeader(req *http.Request, data string, signKey string, ttl time.Duration) error
- func GenerateAuthToken(data string, signKey string, ttl time.Duration) (string, error)
- func ReadAuthTokenData(rawToken string, signKey string) (string, error)
- func ReadAuthTokenDataFromHTTPRequest(rCtx *app.RequestContext, signKey string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAuthToken ¶
func ReadAuthTokenDataFromHTTPRequest ¶
func ReadAuthTokenDataFromHTTPRequest(rCtx *app.RequestContext, signKey string) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.