auth.go 371 B

1234567891011121314151617
  1. package api
  2. type SignIn struct {
  3. Username string `json:"username"`
  4. Password string `json:"password"`
  5. }
  6. type SSOSignIn struct {
  7. IdentityProviderID int `json:"identityProviderId"`
  8. Code string `json:"code"`
  9. RedirectURI string `json:"redirectUri"`
  10. }
  11. type SignUp struct {
  12. Username string `json:"username"`
  13. Password string `json:"password"`
  14. }