using System.Net;
namespace OliverBooth.Data.Web;
internal sealed class Session : ISession
{
///
public DateTimeOffset Created { get; set; }
///
public DateTimeOffset Expires { get; set; }
///
public Guid Id { get; private set; } = Guid.NewGuid();
///
public IPAddress IpAddress { get; set; } = IPAddress.None;
///
public DateTimeOffset LastAccessed { get; set; }
///
public bool RequiresTotp { get; set; }
///
public DateTimeOffset Updated { get; set; }
///
public Guid UserId { get; set; }
}