Skip to content

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.

C#
public sealed class TenantKeyRingPartitions : Abblix.Jwt.ExternalKeys.IKeyRingPartitions

Inheritance System.Object → TenantKeyRingPartitions

Implements IKeyRingPartitions

Constructors

TenantKeyRingPartitions(StoreTenantCatalog, ITenantStore, IOptions<OidcOptions>) Constructor

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.

C#
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

The tenants served now.

store ITenantStore

Where the tenants come from.

options Microsoft.Extensions.Options.IOptions<OidcOptions>

The tenants of the server's settings.

Properties

TenantKeyRingPartitions.Fixed Property

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.

C#
public System.Collections.Generic.IReadOnlyCollection<string>? Fixed { get; }

Implements Fixed

Property Value

System.Collections.Generic.IReadOnlyCollection<System.String>

TenantKeyRingPartitions.Kept Property

The partitions kept now.

C#
public System.Collections.Generic.IReadOnlyCollection<string> Kept { get; }

Implements Kept

Property Value

System.Collections.Generic.IReadOnlyCollection<System.String>