Untitled

 avatar
unknown
csharp
3 years ago
328 B
1
Indexable
    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();
    }
Editor is loading...