identity: handle errors when sending/verifying sms otp codes

This commit is contained in:
Abdullah Atta
2026-05-08 11:08:55 +05:00
parent 30fdaae36c
commit 159fe0e376
3 changed files with 36 additions and 14 deletions
@@ -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);
}
}