DD.WellWorkover.Cloud/AsbCloudApp/Services/IAuthService.cs
2021-04-02 17:28:07 +05:00

15 lines
409 B
C#

using AsbCloudApp.Data;
using System.Security.Claims;
namespace AsbCloudApp.Services
{
public interface IAuthService
{
int ChangePassword(int idUser, string newPassword);
int ChangePassword(string userLogin, string newPassword);
UserTokenDto Login(string login, string password);
string Refresh(ClaimsPrincipal user);
int Register(UserDto userDto);
}
}