Files
TechHelper/TechHelper.Client/HttpRepository/IAuthenticationClientService.cs
2025-05-23 19:03:00 +08:00

18 lines
710 B
C#

using Entities.DTO;
using System.Net;
namespace TechHelper.Client.HttpRepository
{
public interface IAuthenticationClientService
{
Task<ResponseDto> RegisterUserAsync(UserForRegistrationDto userForRegistrationDto);
Task<AuthResponseDto> LoginAsync(UserForAuthenticationDto userForAuthenticationDto);
Task LogoutAsync();
Task<string> RefreshTokenAsync();
Task<HttpStatusCode> ForgotPasswordAsync(ForgotPasswordDto forgotPasswordDto);
Task<ResetPasswordResponseDto> ResetPasswordAsync(ResetPasswordDto resetPasswordDto);
Task<HttpStatusCode> EmailConfirmationAsync(string email, string token);
Task<AuthResponseDto> LoginVerfication(TwoFactorVerificationDto twoFactorVerificationDto);
}
}