12 lines
453 B
C#
12 lines
453 B
C#
namespace Tiku.Application.Security;
|
|
|
|
public sealed class JwtOptions
|
|
{
|
|
public string Issuer { get; set; } = "tiku-backend";
|
|
public string Audience { get; set; } = "tiku-api";
|
|
public string SigningKey { get; set; } = "development-only-tiku-signing-key-change-before-production";
|
|
public int AccessTokenMinutes { get; set; } = 30;
|
|
public int RefreshTokenDays { get; set; } = 30;
|
|
public bool ValidateSessions { get; set; } = true;
|
|
}
|