Skip to content

OptionsTenantStore Class

The tenants declared in Tenants, which change only with a restart.

C#
public sealed class OptionsTenantStore : Abblix.Oidc.Server.Features.MultiTenancy.ITenantStore

Inheritance System.Object → OptionsTenantStore

Implements ITenantStore

Constructors

OptionsTenantStore(IOptions<OidcOptions>) Constructor

The tenants declared in Tenants, which change only with a restart.

C#
public OptionsTenantStore(Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options);

Parameters

options Microsoft.Extensions.Options.IOptions<OidcOptions>

The settings declaring the tenants.

Methods

OptionsTenantStore.ListAsync(CancellationToken) Method

Every tenant the store holds.

C#
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Abblix.Oidc.Server.Features.MultiTenancy.StoredTenant>> ListAsync(System.Threading.CancellationToken cancellationToken);

Parameters

cancellationToken System.Threading.CancellationToken

Implements ListAsync(CancellationToken)

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<StoredTenant>>