Exemple #1
0
 public MultiTenancyMiddleware(
     ITenantConfigurationProvider tenantConfigurationProvider,
     ICurrentTenant currentTenant)
 {
     _tenantConfigurationProvider = tenantConfigurationProvider;
     _currentTenant = currentTenant;
 }
Exemple #2
0
 public MultiTenancyMiddleware(
     ITenantConfigurationProvider tenantConfigurationProvider,
     ICurrentTenant currentTenant,
     IOptions <AbpAspNetCoreMultiTenancyOptions> options)
 {
     _tenantConfigurationProvider = tenantConfigurationProvider;
     _currentTenant = currentTenant;
     _options       = options.Value;
 }
Exemple #3
0
 public AbpSecurityStampValidator(
     IOptions <SecurityStampValidatorOptions> options,
     SignInManager <IdentityUser> signInManager,
     ISystemClock systemClock,
     ILoggerFactory loggerFactory,
     ITenantConfigurationProvider tenantConfigurationProvider,
     ICurrentTenant currentTenant)
     : base(
         options,
         signInManager,
         systemClock,
         loggerFactory)
 {
     TenantConfigurationProvider = tenantConfigurationProvider;
     CurrentTenant = currentTenant;
 }