Documentation ¶
Index ¶
- func ClaimsFromToken(claim jwt.Claims, token string, key []byte) error
- func GetToken(c *gin.Context) (string, error)
- func ParamS(param string, c *gin.Context) string
- func QueryS(param string, c *gin.Context) string
- func Sanitize(param string) string
- func SignClaims(claims jwt.Claims, key []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimsFromToken ¶
ClaimsFromToken parses the claims from the token
func SignClaims ¶
SignClaims signs the claims i.e. creates a token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.