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