namespace MealPlan.Api.Services;
/// Strongly-typed JWT settings bound from the "Jwt" configuration section / env vars.
public class JwtOptions
{
public const string SectionName = "Jwt";
public string Secret { get; set; } = string.Empty;
public string Issuer { get; set; } = string.Empty;
public string Audience { get; set; } = string.Empty;
/// Access-token lifetime in minutes. Defaults to 15 per the security spec.
public int AccessTokenMinutes { get; set; } = 15;
/// Refresh-token lifetime in days. Defaults to 7 per the security spec.
public int RefreshTokenDays { get; set; } = 7;
}