UpsertOTP to add or update otp
(ctx context.Context, otp *schemas.OTP)
| 99 | |
| 100 | // UpsertOTP to add or update otp |
| 101 | UpsertOTP(ctx context.Context, otp *schemas.OTP) (*schemas.OTP, error) |
| 102 | // GetOTPByEmail to get otp for a given email address |
| 103 | GetOTPByEmail(ctx context.Context, emailAddress string) (*schemas.OTP, error) |
| 104 | // GetOTPByPhoneNumber to get otp for a given phone number |
no outgoing calls