namespace HoneyBox.Model.Models.Auth;

/// <summary>
/// JWT配置设置
/// </summary>
public class JwtSettings
{
    /// <summary>
    /// 密钥
    /// </summary>
    public string Secret { get; set; } = string.Empty;

    /// <summary>
    /// 发行者
    /// </summary>
    public string Issuer { get; set; } = string.Empty;

    /// <summary>
    /// 受众
    /// </summary>
    public string Audience { get; set; } = string.Empty;

    /// <summary>
    /// Token过期时间（分钟）
    /// </summary>
    public int ExpirationMinutes { get; set; } = 1440; // 默认24小时

    /// <summary>
    /// 刷新Token过期时间（天）
    /// </summary>
    public int RefreshTokenExpirationDays { get; set; } = 7;
}
