示例#1
0
 protected BaseAuthHelper(ITokenStorage tokenStorage,
                          ITenantStorage tenantStorage, IEnvironmentStorage environmentStorage)
 {
     this.EnvironmentStorage = environmentStorage;
     this.TokenStorage       = tokenStorage;
     this.TenantStorage      = tenantStorage;
 }
示例#2
0
 protected BaseAuthHelper(ITokenStorage tokenStorage,
     ITenantStorage tenantStorage, IEnvironmentStorage environmentStorage)
 {
     this.EnvironmentStorage = environmentStorage;
     this.TokenStorage = tokenStorage;
     this.TenantStorage = tenantStorage;
 }
示例#3
0
 public StorageCheckingProviderGraph(ITenantStorage tenant, IProviderGraph inner)
 {
     Tenant = tenant;
     _inner = inner;
 }
 public TenantService(ITenantIdentificationStrategy tenantIdentificationStrategy, ITenantStorage <T> tenantStorage)
 {
     _tenantIdentificationStrategy = tenantIdentificationStrategy;
     _tenantStorage = tenantStorage;
 }
示例#5
0
 public TenantManager(ITenantStorage tenantStorage)
 {
     _tenantStorage = tenantStorage;
 }
示例#6
0
 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);
 }