Backend login and register
This commit is contained in:
14
src/Application/Interfaces/IAuthenticationService.cs
Normal file
14
src/Application/Interfaces/IAuthenticationService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Application.Common.Results;
|
||||
using Application.DTOs;
|
||||
using Application.Models;
|
||||
|
||||
namespace Application.Interfaces;
|
||||
|
||||
public interface IAuthenticationService
|
||||
{
|
||||
Task<Result> RegisterAsync(RegisterRequest request);
|
||||
Task<Result> LoginAsync(LoginRequest request);
|
||||
Task<Result> RefreshTokensAsync(RefreshTokenRequest request);
|
||||
Task<Result> SendResetEmailAsync(string email);
|
||||
Task<Result> ResetPasswordAsync(ResetPasswordDto resetPasswordDto);
|
||||
}
|
||||
Reference in New Issue
Block a user