public RoleManager( IdentityDbContext db, RoleStore roleStore, IEnumerable <IRoleValidator <Role> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <RoleManager <Role> > logger, IHttpContextAccessor contextAccessor ) : base(roleStore, roleValidators, keyNormalizer, errors, logger, contextAccessor) { _db = db; }
public UserManager( UserStore userStore, IOptions <IdentityOptions> options, PasswordHasher passwordHasher, IEnumerable <IUserValidator <User> > userValidators, IEnumerable <IPasswordValidator <User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <User> > logger //UserWithTenantValidator userWithTenantValidator, //EmailTenantValidator emailTenantValidator ) : base(userStore, options, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger) { _services = services; _db = (IdentityDbContext)_services.GetService(typeof(IdentityDbContext)); Ensure.NotNull(_db, "IdentityDbContext cannot be null"); }
public PageSecurityManager(IdentityDbContext db, ILogger <UserManager <User> > logger) { _db = db; Ensure.NotNull(_db, "IdentityDbContext cannot be null"); }
public UserStore(IdentityDbContext dbContext, IdentityErrorDescriber describer) : base(dbContext, describer) { _db = dbContext; }
public TenantManager(IdentityDbContext identityDb) { _identityDb = identityDb; }
public SecurityPoolManager(IdentityDbContext dbContext, RoleManager roleManager, UserManager userManager) { _db = dbContext; _roleManager = roleManager; _userManager = userManager; }