Untitled

mail@pastecode.io avatar
unknown
csharp
2 years ago
328 B
1
Indexable
Never
    public interface IAuthenticator
    {
        Account CurrentAccount { get; }
        bool IsLoggedIn { get; }
        event Action StateChanged;
        Task<RegistrationResult> Register(string email, string password, string confirmPassword);
        Task Login(string email, string password);
        void Logout();
    }