Documentation ¶
Index ¶
- func LoginPost(c *gin.Context)
- func LogoutPost(c *gin.Context)
- func OtpPost(c *gin.Context)
- func Reauth(c *gin.Context)
- func RegisterPost(c *gin.Context)
- func RegisterRoutes(rg *gin.RouterGroup)
- func TokenServiceGetPublicKey(c *gin.Context)
- type LoginRequestData
- type LoginResponse
- type OtpRequestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogoutPost ¶
func RegisterPost ¶
func RegisterRoutes ¶
func RegisterRoutes(rg *gin.RouterGroup)
Types ¶
type LoginRequestData ¶
type LoginResponse ¶
type LoginResponse struct { Scopes []*pufferpanel.Scope `json:"scopes,omitempty"` OtpNeeded bool `json:"otpNeeded,omitempty"` }
type OtpRequestData ¶
type OtpRequestData struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.