laatzen/LaaProductionWeb/LaaProduction.Personalization/Interfaces/IAccountManager.cs
Stoyan Zlatev e32e553bfc clr types
2024-12-18 15:25:14 +01:00

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);
}
}