Documentation
¶
Index ¶
- func CheckAPIKey(c *gin.Context)
- func CheckCookie(c *gin.Context)
- func DeleteCookie(c *gin.Context)
- func GetDefault(c *gin.Context)
- func GetLogin(c *gin.Context)
- func GetLogout(c *gin.Context)
- func PostLogin(c *gin.Context)
- func SetCookie(c *gin.Context, adminID string)
- func VerifyJWTToken(c *gin.Context)
- type Authentication
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Authentication struct {
Email string `json:"email" form:"email"`
Password string `json:"password" form:"password"`
}
Authentication ...
func (Authentication) GetCurrentUser ¶
func (Authentication) GetCurrentUser(context *admin.Context) qor.CurrentUser
GetCurrentUser ...
Click to show internal directories.
Click to hide internal directories.