Files
Heimdall/src/Heimdall.Domain/Entities/LoginChallenge.cs
T

14 lines
466 B
C#

namespace Heimdall.Domain.Entities;
/// <summary>Short-lived password proof. Only the SHA-256 digest of the opaque token is stored.</summary>
public class LoginChallenge
{
public string Id { get; set; } = "";
public Guid UserId { get; set; }
public string SecurityStamp { get; set; } = "";
public DateTime ExpiresAt { get; set; }
public int Attempts { get; set; }
public bool Verifying { get; set; }
public bool Consumed { get; set; }
}