Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct { }
func (AuthHandler) Login ¶
func (AuthHandler) Login(r requests.LoginRequest, g authenticate.Guard, p auth.UserProvider) (jwt.Token, error)
func (AuthHandler) Register ¶
func (AuthHandler) Register(user models.User, tx *gorm.DB, g authenticate.Guard) (t jwt.Token, e error)
func (AuthHandler) User ¶
func (AuthHandler) User(g authenticate.Guard) authenticate.User
Click to show internal directories.
Click to hide internal directories.