Feature(Auth): Add Login and Refresh Token

This commit is contained in:
Emmanuel Rojas committed 2026-09-04 12:35:11 -05:00
1 parent bd7e505432
commit dcc2e99bb1
20 files changed
+252 -20

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
namespace RT.Domain.Entities;
public class RefreshToken
{
public Guid Id { get; set; } = Guid.NewGuid();
public string UserId { get; set; } = null!;
public string Token { get; set; } = null!;
public DateTime ExpiresAt { get; set; }
public bool IsRevoked { get; set; }
}