namespace Modules.User.Application.Settings;

public class JwtSettings
{
    public string SecurityKey { get; set; } = default!;
    public string Issuer { get; set; } = default!;
    public string Audience { get; set; } = default!;

    /// <summary>
    /// short time
    /// </summary>
    public TimeSpan AccessTokenExpireTime { get; set; } = TimeSpan.Zero;
    /// <summary>
    /// long time
    /// </summary>
    public TimeSpan RefreshTokenExpireTime { get; set; } = TimeSpan.Zero;
}