|
|
|
@ -53,7 +53,7 @@ namespace Volo.Abp.Identity |
|
|
|
options.ClaimsIdentity.RoleClaimType = AbpClaimTypes.Role; |
|
|
|
}); |
|
|
|
|
|
|
|
AddAbpIdentityOptionsFactory(context.Services); |
|
|
|
context.Services.AddAbpDynamicOptions<IdentityOptions, AbpIdentityOptionsManager>(); |
|
|
|
} |
|
|
|
|
|
|
|
public override void PostConfigureServices(ServiceConfigurationContext context) |
|
|
|
@ -82,10 +82,5 @@ namespace Volo.Abp.Identity |
|
|
|
typeof(OrganizationUnit) |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
private static void AddAbpIdentityOptionsFactory(IServiceCollection services) |
|
|
|
{ |
|
|
|
services.AddAbpDynamicOptions<IdentityOptions, AbpIdentityOptionsManager>(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|