namespace EnvelopeGenerator.Web.Models; /// /// Represents the parameters for two-factor authentication (2FA) registration. /// public class TFARegParams { /// /// The maximum allowed time for completing the registration process. /// public TimeSpan TimeLimit { get; init; } = new(0, 30, 0); /// /// The deadline for registration, calculated as the current time plus the . /// public DateTime Deadline => DateTime.Now.AddTicks(TimeLimit.Ticks); }