fix: improve auth flow and verification

This commit is contained in:
2026-09-03 07:49:30 +03:30
parent 6297df7dfd
commit e7a1f79806
3 changed files with 68 additions and 6 deletions

View File

@@ -5,4 +5,5 @@ public interface IAuthService
Task<SendCodeResponse> SendVerificationCodeAsync(SendCodeRequest request, CancellationToken cancellationToken);
Task<VerifyCodeResponse> VerifyCodeAsync(VerifyCodeRequest request, CancellationToken cancellationToken);
Task<bool> CanResendCodeAsync(string mobile, CancellationToken cancellationToken);
Task<UserDto?> GetUserByTokenAsync(string token, CancellationToken cancellationToken);
}