Skip to content

TenantListValidator Class

Refuses to start a server whose settings declare a tenant any check of a tenant list refuses, or reread the tenants at a period the timer cannot keep.

C#
public sealed class TenantListValidator : Microsoft.Extensions.Options.IValidateOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions>

Inheritance System.Object → TenantListValidator

Implements Microsoft.Extensions.Options.IValidateOptions<OidcOptions>

Constructors

TenantListValidator(IEnumerable<ITenantsCheck>) Constructor

Refuses to start a server whose settings declare a tenant any check of a tenant list refuses, or reread the tenants at a period the timer cannot keep.

C#
public TenantListValidator(System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck> checks);

Parameters

checks System.Collections.Generic.IEnumerable<ITenantsCheck>

The checks of a tenant list.