using System.Net;
namespace OliverBooth.Common.Data.Web.Users;
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 string UserAgent { get; set; } = string.Empty;
///
public Guid UserId { get; set; }
}