Backend login and register

This commit is contained in:
2026-02-19 13:49:01 +01:00
parent 0b6bb019b6
commit 93a78e4614
62 changed files with 11588 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
using Domain.Entities;
namespace Application.Interfaces;
public interface IJwtService
{
Task<string> GenerateTokenAsync(User user);
Task<string> GenerateAndSaveRefreshTokenAsync(User user);
Task<User?> ValidateRefreshTokenAsync(int userId, string refreshToken);
}