Skip to content

ClientAssertionAudiencesCheck Class

Refuses a tenant declaring a client whose assertion audiences lack the issuer identifier or name a value the enumeration does not define.

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

Inheritance System.Object → ClientAssertionAudiencesCheck

Implements ITenantsCheck

Remarks

RFC 10070 section 4 holds every client to the issuer identifier, and the other values only widen what it may write beside that. A set without the issuer would refuse every assertion a conforming client sends, and configuration binds a number to an enumeration whatever its value, so either would otherwise let the host start and fail each authentication of that client, a refusal seen only in the log. A value left at zero reads as the issuer alone and passes.

Methods

ClientAssertionAudiencesCheck.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.