namespace Shogi.UI.Identity; /// /// Account management services. /// public interface IAccountManagement { /// /// Login service. /// /// User's email. /// User's password. /// The result of the request serialized to . public Task LoginAsync(string email, string password); /// /// Log out the logged in user. /// /// The asynchronous task. public Task LogoutAsync(); /// /// Registration service. /// /// User's email. /// User's password. /// The result of the request serialized to . public Task RegisterAsync(string email, string password); public Task CheckAuthenticatedAsync(); }