15 lines
454 B
C#
15 lines
454 B
C#
namespace LctMonolith.Application.Options;
|
|
|
|
/// <summary>
|
|
/// JWT issuing configuration loaded from appsettings (section Jwt).
|
|
/// </summary>
|
|
public class JwtOptions
|
|
{
|
|
public string Key { get; set; } = string.Empty;
|
|
public string Issuer { get; set; } = string.Empty;
|
|
public string Audience { get; set; } = string.Empty;
|
|
public int AccessTokenMinutes { get; set; } = 60;
|
|
public int RefreshTokenDays { get; set; } = 7;
|
|
}
|
|
|