25 lines
603 B
C#
25 lines
603 B
C#
namespace LaaProduction.Personalization.Interfaces
|
|
{
|
|
using LaaProduction.SharedModels;
|
|
|
|
using System;
|
|
using System.Security.Principal;
|
|
|
|
public interface IAccountManager
|
|
{
|
|
bool ChangePassword(string password, string bearer);
|
|
|
|
IPrincipal GetClaimsPrincipal(string token);
|
|
|
|
bool? Login(LDAPLoginModel model, out string bearer);
|
|
|
|
string Login(UserLoginModel model);
|
|
|
|
void ResetPassword(short employeeId);
|
|
|
|
void SetPassword(short employeeId, string password);
|
|
|
|
bool? Register(LDAPRegisterModel model, out string bearer);
|
|
}
|
|
}
|