namespace CalledIt.Api.Authentication;

public sealed class JwtOptions
{
    public const string SectionName = "Jwt";

    public string Issuer { get; init; } = "CalledIt";
    public string Audience { get; init; } = "CalledIt.Client";
    public string Key { get; init; } = string.Empty;
    public int ExpirationMinutes { get; init; } = 15;

    public int RefreshTokenDays { get; init; } = 14;
}
