1Panel/backend/app/dto/user.go

19 lines
380 B
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
package dto
type CaptchaResponse struct {
CaptchaID string `json:"captchaID"`
ImagePath string `json:"imagePath"`
}
type UserLoginInfo struct {
2022-09-15 18:43:41 +08:00
Name string `json:"name"`
Token string `json:"token"`
MfaStatus string `json:"mfaStatus"`
MfaSecret string `json:"mfaSecret"`
2022-08-16 23:30:23 +08:00
}
2022-09-14 23:27:17 +08:00
type MfaCredential struct {
Secret string `json:"secret"`
Code string `json:"code"`
}