using System.Threading.Tasks;
using BlazorPolicyAuth.Models.ViewModels;

namespace BlazorPolicyAuth.App.Services.AuthService;

public interface IAuthService
{
    Task<ServiceResponse<int>> Register(UserRegister request);
    Task<ServiceResponse<string>> Login(UserLogin request);
    Task<ServiceResponse<bool>> ChangePassword(UserChangePassword request);
    Task<bool> IsUserAuthenticated();
}