update auth for refresh tokens and token invalidation

This commit is contained in:
voltsrage
2026-06-26 04:32:01 +08:00
parent 9777a335c5
commit abb33de5c1
20 changed files with 1183 additions and 12 deletions
@@ -4,5 +4,6 @@ public class JwtOptions
public string Secret { get; set; } = null!;
public string Issuer { get; set; } = null!;
public string Audience { get; set; } = null!;
public int ExpiryMinutes { get; set; } = 480;
public int ExpiryMinutes { get; set; } = 15;
public int RefreshTokenExpiryDays { get; set; } = 7;
}