public AbpUserClaimsPrincipalFactory(
     UserManager <IdentityUser> userManager,
     RoleManager <IdentityRole> roleManager,
     IOptions <IdentityOptions> options,
     ICurrentPrincipalAccessor currentPrincipalAccessor,
     IAbpClaimsPrincipalFactory abpClaimsPrincipalFactory)
     : base(
         userManager,
         roleManager,
         options)
 {
     CurrentPrincipalAccessor  = currentPrincipalAccessor;
     AbpClaimsPrincipalFactory = abpClaimsPrincipalFactory;
 }
Пример #2
0
 public JhUserClaimsPrincipalFactory(UserManager <IdentityUser> userManager, RoleManager <Volo.Abp.Identity.IdentityRole> roleManager, IOptions <IdentityOptions> options, ICurrentPrincipalAccessor currentPrincipalAccessor, IAbpClaimsPrincipalFactory abpClaimsPrincipalFactory) : base(userManager, roleManager, options, currentPrincipalAccessor, abpClaimsPrincipalFactory)
 {
 }
Пример #3
0
 public AbpClaimsPrincipalFactory_Test()
 {
     _abpClaimsPrincipalFactory = GetRequiredService <IAbpClaimsPrincipalFactory>();
 }