mirror of
https://github.com/usememos/memos.git
synced 2024-12-25 04:13:07 +03:00
d0b8b076cf
* feat: implement sign in with SSO * chore: update * chore: update * chore: update
18 lines
371 B
Go
18 lines
371 B
Go
package api
|
|
|
|
type SignIn struct {
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
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"`
|
|
}
|