Files
ShopSolution-backend/Webshop.Application/Services/Auth/IAuthService.cs
Tizian.Breuch 5f8b8f3971 resend
2025-07-29 15:40:47 +02:00

15 lines
633 B
C#

// src/Webshop.Application/Services/Auth/IAuthService.cs
using System.Threading.Tasks;
using Webshop.Application.DTOs.Auth;
namespace Webshop.Application.Services.Auth
{
public interface IAuthService
{
Task<AuthResponseDto> RegisterUserAsync(RegisterRequestDto request);
Task<AuthResponseDto> LoginUserAsync(LoginRequestDto request);
Task<AuthResponseDto> LoginAdminAsync(LoginRequestDto request);
Task<(bool Success, string ErrorMessage)> ConfirmEmailAsync(string userId, string token);
Task<(bool Success, string ErrorMessage)> ResendEmailConfirmationAsync(string email);
}
}