memos/api/auth.go

18 lines
371 B
Go
Raw Normal View History

2021-12-08 18:43:14 +03:00
package api
type SignIn struct {
Username string `json:"username"`
Password string `json:"password"`
2021-12-08 18:43:14 +03:00
}
type SSOSignIn struct {
IdentityProviderID int `json:"identityProviderId"`
Code string `json:"code"`
RedirectURI string `json:"redirectUri"`
}
type SignUp struct {
Username string `json:"username"`
Password string `json:"password"`
2021-12-08 18:43:14 +03:00
}