UserSessionRevoker

This commit is contained in:
Artemy
2025-07-24 18:05:11 +07:00
parent 15f9370dbe
commit 6a6c3d513d
4 changed files with 68 additions and 3 deletions
@@ -89,6 +89,7 @@ public static class ConfigurationProgramExtensions
services.AddScoped<IHubUserAccessor, HubUserAccessor>();
services.AddScoped<IUserSessionReader, UserSessionReader>();
services.AddScoped<IUserSessionRevoker, UserSessionRevoker>();
}
public static void AddRepositories(this IServiceCollection services)
+1 -1
View File
@@ -12,7 +12,7 @@
"AllowedHosts": "govor-team-govor-88b3.twc1.net;localhost;localhost:7155",
"JwtAccessOption": {
"SecretKey": "Q89eY7zP7C4+TqLmHF4kw9xkF1E8Ru4Zpg+up9wFt9g=",
"Minutes": 25
"Minutes": 5
},
"JwtRefreshOption": {
"RefreshTokenLifetimeDays": 30