16 lines
440 B
C#
Raw Normal View History

namespace Avalonia_API.Authentication
{
public sealed class JwtOptions
{
public string Issuer { get; set; } = "Avalonia-API";
public string Audience { get; set; } = "Avalonia-Client";
public string SigningKey { get; set; } = "change-this-development-signing-key-at-least-32-bytes";
public int AccessTokenMinutes { get; set; } = 60;
public int RefreshTokenDays { get; set; } = 30;
}
}