feat random bullshit GO!
This commit is contained in:
14
LctMonolith/Application/Options/JwtOptions.cs
Normal file
14
LctMonolith/Application/Options/JwtOptions.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user