Files
FACULTATE-HEALTHCARE_MANAGER/frontend/Services/Authentication/IAuthenticationService.cs
T
2024-05-21 12:10:53 +03:00

15 lines
557 B
C#

using HealthcareManagerUiWebAssem.Models;
namespace HealthcareManagerUiWebAssem.Services.Authentication;
public interface IAuthenticationService
{
Task<ApiResponse<string>> Login(UserLoginModel loginModel);
Task<ApiResponse<string>> Register(UserRegisterModel registerModel);
Task<ApiResponse<object>> ResetPassword(ResetPasswordModel resetPasswordModel);
Task<ApiResponse<string>> ResetJwt(string token);
Task Logout();
Task<string> GetAuthToken();
Task RemoveAuthToken();
Task<UserInformation?> GetUserInformation();
}