You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
651 B
21 lines
651 B
3 years ago
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
using Volo.Abp.Identity;
|
||
|
using Volo.Abp.Modularity;
|
||
|
|
||
|
namespace Sanhe.Abp.Identity
|
||
|
{
|
||
|
[DependsOn(
|
||
|
typeof(Volo.Abp.Identity.AbpIdentityHttpApiClientModule),
|
||
|
typeof(AbpIdentityApplicationContractsModule))]
|
||
|
public class AbpIdentityHttpApiClientModule : AbpModule
|
||
|
{
|
||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||
|
{
|
||
|
context.Services.AddHttpClientProxies(
|
||
|
typeof(AbpIdentityApplicationContractsModule).Assembly,
|
||
|
IdentityRemoteServiceConsts.RemoteServiceName
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
}
|