Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken creates a JWT token based on the claims provided by the caller.
func ExtractUserId ¶
ExtractUserId returns the authenticated user's ID from the JWT token provided
func ValidateToken ¶
ValidateToken validates a provided JWT token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.