Revert "Merge branch 'main' of https://github.com/manojown/authorizer into feat/couchbase-db-support"

This reverts commit 2052b850a3, reversing
changes made to fe862a50e5.
This commit is contained in:
manoj
2022-12-29 20:14:06 +05:30
parent 2052b850a3
commit 303c59ac91
45 changed files with 2439 additions and 2002 deletions

View File

@@ -3,10 +3,10 @@
package model
type AddEmailTemplateRequest struct {
EventName string `json:"event_name"`
Subject string `json:"subject"`
Template string `json:"template"`
Design *string `json:"design"`
EventName string `json:"event_name"`
Subject string `json:"subject"`
Template string `json:"template"`
Design string `json:"design"`
}
type AddWebhookRequest struct {
@@ -151,7 +151,6 @@ type LoginInput struct {
Password string `json:"password"`
Roles []string `json:"roles"`
Scope []string `json:"scope"`
State *string `json:"state"`
}
type MagicLinkLoginInput struct {
@@ -200,14 +199,12 @@ type PaginationInput struct {
}
type ResendOTPRequest struct {
Email string `json:"email"`
State *string `json:"state"`
Email string `json:"email"`
}
type ResendVerifyEmailInput struct {
Email string `json:"email"`
Identifier string `json:"identifier"`
State *string `json:"state"`
Email string `json:"email"`
Identifier string `json:"identifier"`
}
type ResetPasswordInput struct {
@@ -241,7 +238,6 @@ type SignUpInput struct {
Scope []string `json:"scope"`
RedirectURI *string `json:"redirect_uri"`
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled"`
State *string `json:"state"`
}
type TestEndpointRequest struct {
@@ -412,14 +408,12 @@ type VerificationRequests struct {
}
type VerifyEmailInput struct {
Token string `json:"token"`
State *string `json:"state"`
Token string `json:"token"`
}
type VerifyOTPRequest struct {
Email string `json:"email"`
Otp string `json:"otp"`
State *string `json:"state"`
Email string `json:"email"`
Otp string `json:"otp"`
}
type Webhook struct {