Files
Govor/Govor.Application/Authentication/IAuthService.cs
Artemy a3401ceedf Add SRP password recovery and E2EE reset
Add proof-based password registration, login, enrollment, and change flows, with rate limiting and encrypted recovery-key envelopes. Support explicit E2EE identity resets while preserving historical signer verification, and document and test the new recovery workflows.
2026-10-24 22:19:08 +07:00

14 lines
516 B
C#

using Govor.Domain.Common;
using Govor.Domain.Models;
using Govor.Domain.Models.Users;
using SmartRes;
namespace Govor.Application.Authentication;
public interface IAccountService
{
public Task<Result<User, Error>> RegistrationAsync(string name, string password, Invitation invitation);
public Task<Result<User, Error>> LoginAsync(string name, string password);
public Task<Result<User, Error>> RegistrationWithPasswordProofAsync(string name, PasswordCredentials credentials, Invitation invitation);
}