using AsbCloudApp.Data; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IAuthService { int ChangePassword(int idUser, string newPassword); int ChangePassword(string userLogin, string newPassword); Task LoginAsync(string login, string password, CancellationToken token = default); string Refresh(ClaimsPrincipal user); int Register(UserRegistrationDto userDto); } }