protected BaseAuthHelper(ITokenStorage tokenStorage, ITenantStorage tenantStorage, IEnvironmentStorage environmentStorage) { this.EnvironmentStorage = environmentStorage; this.TokenStorage = tokenStorage; this.TenantStorage = tenantStorage; }
public StorageCheckingProviderGraph(ITenantStorage tenant, IProviderGraph inner) { Tenant = tenant; _inner = inner; }
public TenantService(ITenantIdentificationStrategy tenantIdentificationStrategy, ITenantStorage <T> tenantStorage) { _tenantIdentificationStrategy = tenantIdentificationStrategy; _tenantStorage = tenantStorage; }
public TenantManager(ITenantStorage tenantStorage) { _tenantStorage = tenantStorage; }
public StorageCheckingPersistenceGraph(ITenantStorage tenant, IPersistenceGraph inner) { _tenant = tenant; _inner = inner; }
/// <summary> /// Set source of tenants. Default is use <see cref="MemoryTenantStorage"/> /// </summary> /// <param name="tenantStorage"></param> /// <returns></returns> public MultiTenantConfigurationBuilder SetTenantStorage(ITenantStorage tenantStorage) { TenantStorage = tenantStorage; return(this); }