Documentation ¶
Index ¶
Constants ¶
View Source
const ( REDIRECT_LOGIN = "login" REDIRECT_VERIFY_DEVICE = "verifyDevice" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct { ServicesGroup *service.ServicesGroup // contains filtered or unexported fields }
func DefaultAuthController ¶
func DefaultAuthController(routes *routes.Routes, sg *service.ServicesGroup) *AuthController
func (*AuthController) Default ¶
func (ac *AuthController) Default()
type MyCustomClaims ¶
type MyCustomClaims struct { jwt.StandardClaims // contains filtered or unexported fields }
type VerifyDeviceDisplay ¶
type VerifyDeviceDisplay struct {
DeviceCode string `json:"deviceCode" binding:"required"`
}
Verify device form structure
Click to show internal directories.
Click to hide internal directories.