namespace SIGCM2.Application.Auth;

/// <summary>
/// Configuration values for authentication token generation.
/// Populated from the "Jwt" configuration section via IOptions in the Infrastructure layer.
/// Lives in Application to avoid circular dependency with Infrastructure.
/// </summary>
public sealed class AuthOptions
{
    public int AccessTokenMinutes { get; set; } = 60;
    public int RefreshTokenDays { get; set; } = 7;

    // Password policy — configurable, secure defaults
    public int PasswordMinLength { get; set; } = 8;
    public bool PasswordRequireLetter { get; set; } = true;
    public bool PasswordRequireDigit { get; set; } = true;
}
