mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
UserSessionRevoker
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user