Skip to content

ClientIdsCheck Class

Refuses a tenant declaring two clients under one id, or under ids that differ only in the case of their letters.

C#
public sealed class ClientIdsCheck : Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheck

Inheritance System.Object → ClientIdsCheck

Implements ITenantsCheck

Remarks

A request names a client by its id exactly, but no tenant holds two clients under ids differing only in case (Abblix.Oidc.Server.Features.ClientInformation.ClientIdComparison.Held), so the client registry cannot hold both and fails when it is first built - on a request, with an error that names neither client.

Methods

ClientIdsCheck.Check(IReadOnlyCollection<TenantDefinition>, OidcOptions) Method

What is wrong with tenants, judged as the whole list the server would serve with the server's own settings options.

C#
public System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Features.MultiTenancy.TenantRefusal> Check(System.Collections.Generic.IReadOnlyCollection<Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition> tenants, Abblix.Oidc.Server.Common.Configuration.OidcOptions options);

Parameters

tenants System.Collections.Generic.IReadOnlyCollection<TenantDefinition>
options OidcOptions

Implements Check(IReadOnlyCollection<TenantDefinition>, OidcOptions)

Returns

System.Collections.Generic.IEnumerable<TenantRefusal>

Remarks

The server's settings are handed in rather than read from the options pipeline, since the list the settings declare is judged while those very settings are being validated.