Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureValidTokenMiddleware ¶
func EnsureValidTokenMiddleware(domain, audience string) gin.HandlerFunc
EnsureValidTokenMiddleware is gin middleware to verify the authenticity of a JWT token sent from a client to authenticated endpoints
func GetUserIdFrom ¶
GetUserIdFrom gets the registered users ID from the gin context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.