Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewToken ¶
func NewToken( payload jwt.MapClaims, signingKey string, secondsDuration time.Duration, ) (string, error)
NewToken generates and returns new HS256 signed JWT token.
func ParseUnverifiedJWT ¶
ParseUnverifiedJWT parses JWT token and returns its claims but DOES NOT verify the signature.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.