maliming
4 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
4 changed files with
9 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.Authentication.OpenIdConnect/Volo/Abp/AspNetCore/Authentication/OpenIdConnect/AbpAspNetCoreAuthenticationOpenIdConnectModule.cs
-
framework/src/Volo.Abp.AspNetCore.Components.Server/Volo/Abp/AspNetCore/Components/Server/AbpAspNetCoreComponentsServerModule.cs
-
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs
-
framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/AbpHttpClientModule.cs
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Volo.Abp.AspNetCore.Authentication.OAuth; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.AspNetCore.Authentication.OAuth; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Abp.MultiTenancy; |
|
|
|
using Volo.Abp.RemoteServices; |
|
|
|
@ -12,5 +13,8 @@ namespace Volo.Abp.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
)] |
|
|
|
public class AbpAspNetCoreAuthenticationOpenIdConnectModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddHttpClient(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -26,6 +26,7 @@ public class AbpAspNetCoreComponentsServerModule : AbpModule |
|
|
|
{ |
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddHttpClient(); |
|
|
|
var serverSideBlazorBuilder = context.Services.AddServerSideBlazor(options => |
|
|
|
{ |
|
|
|
if (context.Services.GetHostingEnvironment().IsDevelopment()) |
|
|
|
|
|
|
|
@ -35,6 +35,7 @@ public class AbpAspNetCoreComponentsWebAssemblyModule : AbpModule |
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddHttpClient(); |
|
|
|
context.Services |
|
|
|
.GetHostBuilder().Logging |
|
|
|
.AddProvider(new AbpExceptionHandlingLoggerProvider(context.Services)); |
|
|
|
|
|
|
|
@ -23,6 +23,7 @@ public class AbpHttpClientModule : AbpModule |
|
|
|
{ |
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddHttpClient(); |
|
|
|
context.Services.AddTransient(typeof(DynamicHttpProxyInterceptorClientProxy<>)); |
|
|
|
} |
|
|
|
} |
|
|
|
|