feat(infra): add RefreshTokenDays to JwtOptions and AuthOptions config
This commit is contained in:
@@ -5,6 +5,7 @@ public sealed class JwtOptions
|
||||
public string Issuer { get; set; } = "sigcm2.api";
|
||||
public string Audience { get; set; } = "sigcm2.web";
|
||||
public int AccessTokenMinutes { get; set; } = 60;
|
||||
public int RefreshTokenDays { get; set; } = 7;
|
||||
|
||||
/// <summary>Path to private.pem file (dev). Used if PrivateKey is null.</summary>
|
||||
public string? PrivateKeyPath { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user