Abstractions and dtos

This commit is contained in:
Veljko Tosic
2026-02-14 18:45:59 +01:00
parent c2b085ec28
commit 068739c616
7 changed files with 27 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
using AipsCore.Application.Common.Authentication.Models;
using AipsCore.Domain.Models.User;
namespace AipsCore.Application.Common.Authentication;
@@ -6,4 +7,5 @@ public interface IAuthService
{
Task SignUpWithPasswordAsync(User user, string password, CancellationToken cancellationToken = default);
Task<LoginResult> LoginWithEmailAndPasswordAsync(string email, string password, CancellationToken cancellationToken = default);
Task<LoginResult> LoginWithRefreshTokenAsync(RefreshToken refreshToken, CancellationToken cancellationToken = default);
}