forked from ddrilling/AsbCloudServer
15 lines
409 B
C#
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);
|
|
}
|
|
} |