#### [Abblix\.Oidc\.Server](https://www.abblix.com/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Features\.MultiTenancy](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy 'Abblix\.Oidc\.Server\.Features\.MultiTenancy')

## StoreTenantCatalog Class

The tenants a store of tenants holds, as last read: the checks of the tenant list judge each reading, each
tenant they pass is readied to be served, and the tenants refused or not readied are left out and logged while
the rest are served\.

```csharp
public sealed class StoreTenantCatalog : Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → StoreTenantCatalog

Implements [ITenantCatalog](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantCatalog')

### Remarks
Asked on every request, static files included, so it answers from the last reading and never from the store\.
A tenant whose id, generation and version are unchanged keeps the definition read before, so what was built
from it is not built again\. What was built for a tenant from its definition in force \([Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.InForce\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)](https://learn.microsoft.com/en-us/dotnet/api/abblix.oidc.server.features.multitenancy.storetenantcatalog.inforce#abblix-oidc-server-features-multitenancy-storetenantcatalog-inforce(abblix-oidc-server-features-multitenancy-tenantdefinition) 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.InForce\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)')\) is
not replaced from another definition, so a request still holding one this catalog replaced is answered with what
was built\.
### Constructors

## StoreTenantCatalog\(ILogger\<StoreTenantCatalog\>, ITenantStore, IEnumerable\<ITenantsCheck\>, IEnumerable\<ITenantOpening\>, IEnumerable\<ITenantClosing\>, IOptions\<OidcOptions\>, TimeProvider\) Constructor {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider)}

The tenants a store of tenants holds, as last read: the checks of the tenant list judge each reading, each
tenant they pass is readied to be served, and the tenants refused or not readied are left out and logged while
the rest are served\.

```csharp
public StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog> logger, Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore store, System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck> checks, System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening> openings, System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing> closings, Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options, System.TimeProvider timeProvider);
```
#### Parameters

###### `logger` [Microsoft\.Extensions\.Logging\.ILogger&lt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger-1 'Microsoft\.Extensions\.Logging\.ILogger\`1')[StoreTenantCatalog](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger-1 'Microsoft\.Extensions\.Logging\.ILogger\`1') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).logger}

Records the tenants left out\.

###### `store` [ITenantStore](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantStore') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).store}

Where the tenants are read from\.

###### `checks` [System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[ITenantsCheck](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantsCheck')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).checks}

The checks of the tenant list\. They must refuse an id held twice, as
            [TenantDefinitionsCheck](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinitionsCheck 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinitionsCheck') does, since the tenants served are kept by id\.

###### `openings` [System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[ITenantOpening](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantOpening')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).openings}

What readies each tenant the checks pass before it is first served\.

###### `closings` [System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[ITenantClosing](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantClosing')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).closings}

What lets go of each tenant once it is released\.

###### `options` [Microsoft\.Extensions\.Options\.IOptions&lt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.options.ioptions-1 'Microsoft\.Extensions\.Options\.IOptions\`1')[OidcOptions](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.OidcOptions 'Abblix\.Oidc\.Server\.Common\.Configuration\.OidcOptions')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.options.ioptions-1 'Microsoft\.Extensions\.Options\.IOptions\`1') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).options}

How long the openings of one reading may take, and how long a tenant gone from the store
            is kept\.

###### `timeProvider` [System\.TimeProvider](https://learn.microsoft.com/en-us/dotnet/api/system.timeprovider 'System\.TimeProvider') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.StoreTenantCatalog(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog_,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantOpening_,System.Collections.Generic.IEnumerable_Abblix.Oidc.Server.Features.MultiTenancy.ITenantClosing_,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_,System.TimeProvider).timeProvider}

Tells how long a tenant has been gone from the store\.

### Remarks
Asked on every request, static files included, so it answers from the last reading and never from the store\.
A tenant whose id, generation and version are unchanged keeps the definition read before, so what was built
from it is not built again\. What was built for a tenant from its definition in force \([Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.InForce\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)](https://learn.microsoft.com/en-us/dotnet/api/abblix.oidc.server.features.multitenancy.storetenantcatalog.inforce#abblix-oidc-server-features-multitenancy-storetenantcatalog-inforce(abblix-oidc-server-features-multitenancy-tenantdefinition) 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.InForce\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)')\) is
not replaced from another definition, so a request still holding one this catalog replaced is answered with what
was built\.
### Methods

## StoreTenantCatalog\.FindByAddressAsync\(string, string, CancellationToken\) Method {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken)}

The tenant served at [host](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken).host 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.FindByAddressAsync\(string, string, System\.Threading\.CancellationToken\)\.host') and [path](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken).path 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.FindByAddressAsync\(string, string, System\.Threading\.CancellationToken\)\.path'): the one whose issuer names that
host and, among those, the longest whole\-segment start of the path; null when no issuer covers it\.

```csharp
public System.Threading.Tasks.ValueTask<Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition?> FindByAddressAsync(string host, string path, System.Threading.CancellationToken cancellationToken);
```
#### Parameters

###### `host` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken).host}

###### `path` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken).path}

###### `cancellationToken` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken).cancellationToken}

Implements [FindByAddressAsync\(string, string, CancellationToken\)](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog.FindByAddressAsync(string,string,System.Threading.CancellationToken) 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantCatalog\.FindByAddressAsync\(string, string, System\.Threading\.CancellationToken\)')

#### Returns
[System\.Threading\.Tasks\.ValueTask&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1 'System\.Threading\.Tasks\.ValueTask\`1')[TenantDefinition](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1 'System\.Threading\.Tasks\.ValueTask\`1')

## StoreTenantCatalog\.FindByIdAsync\(string, CancellationToken\) Method {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByIdAsync(string,System.Threading.CancellationToken)}

The tenant registered under [tenantId](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByIdAsync(string,System.Threading.CancellationToken).tenantId 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.FindByIdAsync\(string, System\.Threading\.CancellationToken\)\.tenantId'), compared exactly, or null when there is none\.

```csharp
public System.Threading.Tasks.ValueTask<Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition?> FindByIdAsync(string tenantId, System.Threading.CancellationToken cancellationToken);
```
#### Parameters

###### `tenantId` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByIdAsync(string,System.Threading.CancellationToken).tenantId}

###### `cancellationToken` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.FindByIdAsync(string,System.Threading.CancellationToken).cancellationToken}

Implements [FindByIdAsync\(string, CancellationToken\)](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog.FindByIdAsync(string,System.Threading.CancellationToken) 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantCatalog\.FindByIdAsync\(string, System\.Threading\.CancellationToken\)')

#### Returns
[System\.Threading\.Tasks\.ValueTask&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1 'System\.Threading\.Tasks\.ValueTask\`1')[TenantDefinition](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1 'System\.Threading\.Tasks\.ValueTask\`1')

## StoreTenantCatalog\.RefreshAsync\(CancellationToken\) Method {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.RefreshAsync(System.Threading.CancellationToken)}

Reads the store again and serves what the checks let through\.

```csharp
public System.Threading.Tasks.Task RefreshAsync(System.Threading.CancellationToken cancellationToken);
```
#### Parameters

###### `cancellationToken` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.RefreshAsync(System.Threading.CancellationToken).cancellationToken}

#### Returns
[System\.Threading\.Tasks\.Task](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task 'System\.Threading\.Tasks\.Task')

## StoreTenantCatalog\.Released\(TenantDefinition\) Method {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.Released(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition)}

The token canceled once the store no longer holds the creation of [tenant](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.Released(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition).tenant 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.Released\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)\.tenant') and one refresh
period has passed, for what the server keeps in memory for it to be let go; canceled already for a creation
the last reading released, and never for one the store has not listed\.

```csharp
public System.Threading.CancellationToken Released(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition tenant);
```
#### Parameters

###### `tenant` [TenantDefinition](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.Released(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition).tenant}

#### Returns
[System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken')

## StoreTenantCatalog\.ReleasedOf\(ITenantCatalog, TenantDefinition\) Method {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.ReleasedOf(Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition)}

The token [Released\(TenantDefinition\)](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.Released(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition) 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.Released\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)') gives when [catalog](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.ReleasedOf(Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition).catalog 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog\.ReleasedOf\(Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantCatalog, Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition\)\.catalog') is this server's own; none that is ever
canceled for a catalog of the host's own, which this server cannot tell a tenant is gone from\.

```csharp
public static System.Threading.CancellationToken ReleasedOf(Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog catalog, Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition tenant);
```
#### Parameters

###### `catalog` [ITenantCatalog](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantCatalog') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.ReleasedOf(Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition).catalog}

###### `tenant` [TenantDefinition](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition') {#Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog.ReleasedOf(Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition).tenant}

#### Returns
[System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken')
