Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CookieLoginHandler ¶
CookieLoginHandler handles a cookie based JWT token
func GetAuthMiddleware ¶
func GetAuthMiddleware() *jwt.GinJWTMiddleware
GetAuthMiddleware returns a gin middleware for JWT with cookie based auth
func GetUserName ¶
GetUserName returns the username based of the gin.Context
func ValidateIntInput ¶
ValidateIntInput checks if a the value is bigger than the specified maxValue
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.