2021-12-08 23:43:14 +08:00
|
|
|
package api
|
|
|
|
|
2023-01-01 23:26:21 +08:00
|
|
|
type SignIn struct {
|
2022-11-23 22:27:21 +08:00
|
|
|
Username string `json:"username"`
|
2022-02-04 16:51:48 +08:00
|
|
|
Password string `json:"password"`
|
2021-12-08 23:43:14 +08:00
|
|
|
}
|
|
|
|
|
2023-02-19 09:50:30 +08:00
|
|
|
type SSOSignIn struct {
|
|
|
|
IdentityProviderID int `json:"identityProviderId"`
|
|
|
|
Code string `json:"code"`
|
|
|
|
RedirectURI string `json:"redirectUri"`
|
|
|
|
}
|
|
|
|
|
2023-01-01 23:26:21 +08:00
|
|
|
type SignUp struct {
|
2022-11-23 22:27:21 +08:00
|
|
|
Username string `json:"username"`
|
2022-02-04 16:51:48 +08:00
|
|
|
Password string `json:"password"`
|
2021-12-08 23:43:14 +08:00
|
|
|
}
|