Release v2.2.0 #51

Merged
leon.hoppe merged 8 commits from dev into main 2024-12-24 13:37:10 +01:00
Showing only changes of commit a323da829f - Show all commits

View File

@@ -29,8 +29,10 @@ public static class HopFrameAuthenticationExtensions {
service.TryAddSingleton<IHttpContextAccessor, HttpContextAccessor>();
service.AddScoped<ITokenContext, TokenContextImplementor>();
service.AddHttpClient();
if (config.CacheProvider == typeof(MemoryCacheProvider))
service.AddMemoryCache();
service.AddHttpClient<OpenIdAccessor>();
service.AddScoped<IOpenIdAccessor, OpenIdAccessor>();
service.AddOptionsFromConfiguration<HopFrameAuthenticationOptions>(configuration);