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.
41 lines
1.1 KiB
41 lines
1.1 KiB
using Localization.Resources.AbpUi;
|
|
using Volo.Abp.Account;
|
|
using Volo.Abp.FeatureManagement;
|
|
using Volo.Abp.Identity;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.PermissionManagement.HttpApi;
|
|
using Volo.Abp.SettingManagement;
|
|
using Volo.Abp.TenantManagement;
|
|
using Win_in.Sfs.Auth.Localization;
|
|
|
|
namespace Win_in.Sfs.Auth;
|
|
|
|
[DependsOn(
|
|
typeof(AuthApplicationContractsModule),
|
|
typeof(AbpAccountHttpApiModule),
|
|
typeof(AbpIdentityHttpApiModule),
|
|
typeof(AbpPermissionManagementHttpApiModule),
|
|
typeof(AbpTenantManagementHttpApiModule),
|
|
typeof(AbpFeatureManagementHttpApiModule),
|
|
typeof(AbpSettingManagementHttpApiModule)
|
|
)]
|
|
public class AuthHttpApiModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
ConfigureLocalization();
|
|
}
|
|
|
|
private void ConfigureLocalization()
|
|
{
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Get<AuthResource>()
|
|
.AddBaseTypes(
|
|
typeof(AbpUiResource)
|
|
);
|
|
});
|
|
}
|
|
}
|
|
|