2024-03-02 00:43:56 +00:00
|
|
|
namespace OliverBooth.Common.Data.Web.Users;
|
2024-02-25 17:21:29 +00:00
|
|
|
|
|
|
|
internal sealed class MfaToken : IMfaToken
|
|
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
|
|
public int Attempts { get; set; }
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public DateTimeOffset Created { get; set; }
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public DateTimeOffset Expires { get; set; }
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public string Token { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public IUser User { get; set; } = null!;
|
|
|
|
}
|