#### [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')

## TenantKeyRingPartitions Class

The parts of the key ring kept current: one for each creation of each tenant the catalog serves now, so a tenant
the store drops is no longer rotated, and one it gains is, from the reading that serves it\.

```csharp
public sealed class TenantKeyRingPartitions : Abblix.Jwt.ExternalKeys.IKeyRingPartitions
```

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

Implements [IKeyRingPartitions](https://www.abblix.com/docs/api/abblix-jwt/Abblix.Jwt.ExternalKeys.IKeyRingPartitions 'Abblix\.Jwt\.ExternalKeys\.IKeyRingPartitions')
### Constructors

## TenantKeyRingPartitions\(StoreTenantCatalog, ITenantStore, IOptions\<OidcOptions\>\) Constructor {#Abblix.Oidc.Server.Features.MultiTenancy.TenantKeyRingPartitions.TenantKeyRingPartitions(Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_)}

The parts of the key ring kept current: one for each creation of each tenant the catalog serves now, so a tenant
the store drops is no longer rotated, and one it gains is, from the reading that serves it\.

```csharp
public TenantKeyRingPartitions(Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog catalog, Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore store, Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options);
```
#### Parameters

###### `catalog` [StoreTenantCatalog](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.StoreTenantCatalog') {#Abblix.Oidc.Server.Features.MultiTenancy.TenantKeyRingPartitions.TenantKeyRingPartitions(Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_).catalog}

The tenants served now\.

###### `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.TenantKeyRingPartitions.TenantKeyRingPartitions(Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_).store}

Where the tenants come from\.

###### `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.TenantKeyRingPartitions.TenantKeyRingPartitions(Abblix.Oidc.Server.Features.MultiTenancy.StoreTenantCatalog,Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore,Microsoft.Extensions.Options.IOptions_Abblix.Oidc.Server.Common.Configuration.OidcOptions_).options}

The tenants of the server's settings\.
### Properties

## TenantKeyRingPartitions\.Fixed Property {#Abblix.Oidc.Server.Features.MultiTenancy.TenantKeyRingPartitions.Fixed}

Every partition kept for as long as the ring runs, when they are known before anything is served; null when
partitions are added while it runs\.

```csharp
public System.Collections.Generic.IReadOnlyCollection<string>? Fixed { get; }
```

Implements [Fixed](https://www.abblix.com/docs/api/abblix-jwt/Abblix.Jwt.ExternalKeys.IKeyRingPartitions#Abblix.Jwt.ExternalKeys.IKeyRingPartitions.Fixed 'Abblix\.Jwt\.ExternalKeys\.IKeyRingPartitions\.Fixed')

#### Property Value
[System\.Collections\.Generic\.IReadOnlyCollection&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlycollection-1 'System\.Collections\.Generic\.IReadOnlyCollection\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlycollection-1 'System\.Collections\.Generic\.IReadOnlyCollection\`1')

## TenantKeyRingPartitions\.Kept Property {#Abblix.Oidc.Server.Features.MultiTenancy.TenantKeyRingPartitions.Kept}

The partitions kept now\.

```csharp
public System.Collections.Generic.IReadOnlyCollection<string> Kept { get; }
```

Implements [Kept](https://www.abblix.com/docs/api/abblix-jwt/Abblix.Jwt.ExternalKeys.IKeyRingPartitions#Abblix.Jwt.ExternalKeys.IKeyRingPartitions.Kept 'Abblix\.Jwt\.ExternalKeys\.IKeyRingPartitions\.Kept')

#### Property Value
[System\.Collections\.Generic\.IReadOnlyCollection&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlycollection-1 'System\.Collections\.Generic\.IReadOnlyCollection\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlycollection-1 'System\.Collections\.Generic\.IReadOnlyCollection\`1')
