Release v1.0.0 #16
@ -14,7 +14,6 @@ public static class SecureConfiguration
|
|||||||
{
|
{
|
||||||
services.AddSecurityServices(configuration);
|
services.AddSecurityServices(configuration);
|
||||||
|
|
||||||
services.AddSingleton<IAccessToken, JwtTokenService>();
|
|
||||||
services.AddSingleton<IRevokedToken, MemoryRevokedTokenService>();
|
services.AddSingleton<IRevokedToken, MemoryRevokedTokenService>();
|
||||||
|
|
||||||
if (configuration.Get<GeneralConfig>()?.CacheSettings?.TypeDatabase == CacheSettings.CacheEnum.Redis)
|
if (configuration.Get<GeneralConfig>()?.CacheSettings?.TypeDatabase == CacheSettings.CacheEnum.Redis)
|
||||||
|
Reference in New Issue
Block a user