Deleted dotnet-tools.json (dotnet-ef config) and IIS publish profiles for .NET 7 and .NET 9 (IISProfileNet7Win64.pubxml, IISProfileNet9Win64.pubxml) to clean up unused deployment and tooling files.
17 lines
578 B
C#
17 lines
578 B
C#
namespace EnvelopeGenerator.GeneratorAPI.Models;
|
|
|
|
/// <summary>
|
|
/// Represents the parameters for two-factor authentication (2FA) registration.
|
|
/// </summary>
|
|
public class TFARegParams
|
|
{
|
|
/// <summary>
|
|
/// The maximum allowed time for completing the registration process.
|
|
/// </summary>
|
|
public TimeSpan TimeLimit { get; init; } = new(0, 30, 0);
|
|
|
|
/// <summary>
|
|
/// The deadline for registration, calculated as the current time plus the <see cref="TimeLimit"/>.
|
|
/// </summary>
|
|
public DateTime Deadline => DateTime.Now.AddTicks(TimeLimit.Ticks);
|
|
} |