namespace OliverBooth.Common.Data.Web.Users;
///
/// Represents a temporary token used to correlate MFA attempts with the user.
///
public interface IMfaToken
{
///
/// Gets a value indicating the number of attempts made with this token.
///
/// The number of attempts.
int Attempts { get; }
///
/// Gets the date and time at which this token was created.
///
/// The creation timestamp.
DateTimeOffset Created { get; }
///
/// Gets the date and time at which this token expires.
///
/// The expiration timestamp.
DateTimeOffset Expires { get; }
///
/// Gets the 512-bit token for MFA.
///
/// The temporary MFA token.
string Token { get; }
///
/// Gets the user to whom this token is associated.
///
/// The user.
IUser User { get; }
}