This commit is contained in:
Mussie Teshome
2023-07-28 00:45:01 +07:00
committed by GitHub
7 changed files with 266 additions and 80 deletions

View File

@@ -129,9 +129,9 @@ type Error struct {
}
type ForgotPasswordInput struct {
Email string `json:"email"`
State *string `json:"state"`
RedirectURI *string `json:"redirect_uri"`
EmailOrPhone string `json:"email_or_phone"`
State *string `json:"state"`
RedirectURI *string `json:"redirect_uri"`
}
type GenerateJWTKeysInput struct {
@@ -258,9 +258,10 @@ type ResendVerifyEmailInput struct {
}
type ResetPasswordInput struct {
Token string `json:"token"`
Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"`
TokenOrCode string `json:"token_or_code"`
Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"`
PhoneNumber *string `json:"phone_number"`
}
type Response struct {