feat: add resolver for verify_otp

This commit is contained in:
Lakhan Samani
2022-07-23 16:44:39 +05:30
parent f6029fb7bf
commit 44280be25a
5 changed files with 149 additions and 2 deletions

View File

@@ -421,6 +421,11 @@ input DeleteEmailTemplateRequest {
id: ID!
}
input VerifyOTPRequest {
email: String!
otp: String!
}
type Mutation {
signup(params: SignUpInput!): AuthResponse!
login(params: LoginInput!): AuthResponse!
@@ -432,6 +437,7 @@ type Mutation {
forgot_password(params: ForgotPasswordInput!): Response!
reset_password(params: ResetPasswordInput!): Response!
revoke(params: OAuthRevokeInput!): Response!
verify_otp(params: VerifyOTPRequest!): AuthResponse!
# admin only apis
_delete_user(params: DeleteUserInput!): Response!
_update_user(params: UpdateUserInput!): User!