mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
Created SessionController and UserSessionReader
+ tests for UserSessionReader
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user