Ejemplo n.º 1
0
 public TenantService(
     ITenantAccessChecker tenantAccessChecker,
     IAccessScopeFilter tenantContext,
     IGuidKeyedRepository <Tenant> repository,
     ILogger <TenantService> logger,
     ITenantSlugProvider slugProvider
     )
     : base(tenantAccessChecker, tenantContext, repository, logger)
 {
 }
 public MultitenantUserManager(
     IUserStore <TUser> store,
     IOptions <IdentityOptions> optionsAccessor,
     IPasswordHasher <TUser> passwordHasher,
     IEnumerable <IUserValidator <TUser> > userValidators,
     IEnumerable <IPasswordValidator <TUser> > passwordValidators,
     ILookupNormalizer keyNormalizer,
     IdentityErrorDescriber errors,
     IServiceProvider services,
     ILogger <UserManager <TUser> > logger,
     ITenantSlugProvider tenantSlugProvider,
     ITenantService tenantService,
     IUserRepository userRepository)
     : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger)
 {
     _tenantSlugProvider = tenantSlugProvider;
     _tenantService      = tenantService;
     _userRepository     = userRepository;
 }