Created SessionController and UserSessionReader

+ tests for UserSessionReader
This commit is contained in:
Artemy
2025-07-24 17:03:51 +07:00
parent 19f1ccdfd5
commit 15f9370dbe
7 changed files with 224 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Govor.Contracts.DTOs;
public record SessionDto
{
public Guid Id { get; init; }
public string DeviceInfo { get; init; } = string.Empty;
public DateTime CreatedAt { get; init; }
public DateTime ExpiresAt { get; init; }
public bool IsRevoked { get; init; }
}