Documentation ¶
Index ¶
Constants ¶
View Source
const AuthCookieName = "Session"
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
HashPassword Hash a models.User password
func ResetCookie ¶
func SetAuthJWTCookie ¶
func SetAuthJWTCookie(content AuthCookieContent, c *gin.Context) error
Types ¶
type AuthCookieContent ¶
Click to show internal directories.
Click to hide internal directories.