mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-12 14:57:08 +02:00
identity: handle errors when sending/verifying sms otp codes
This commit is contained in:
1 parent
30fdaae36c
commit
159fe0e376
3 files changed
+36
-14
No files matched your search
@@ -24,7 +24,7 @@ namespace Streetwriters.Identity.Interfaces
|
||||
{
|
||||
public interface ISMSSender
|
||||
{
|
||||
Task<string> SendOTPAsync(string number, IClient client);
|
||||
Task<string?> SendOTPAsync(string number, IClient client);
|
||||
Task<bool> VerifyOTPAsync(string id, string code);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user