ProfileSigningKeysCheck Class
Refuses a tenant declaring a client its security profile holds to certain signature algorithms (FAPI 1.0 Part 2 section 8.6, FAPI 2.0 section 5.4.1) when no signing key of the tenant produces an algorithm the client is configured for, instead of failing when the first ID token or JWT response is signed for it.
public sealed class ProfileSigningKeysCheck : Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheckInheritance System.Object → ProfileSigningKeysCheck
Implements ITenantsCheck
Constructors
ProfileSigningKeysCheck(SigningAlgorithmsProvider, IKeyCustodian) Constructor
Refuses a tenant declaring a client its security profile holds to certain signature algorithms (FAPI 1.0 Part 2 section 8.6, FAPI 2.0 section 5.4.1) when no signing key of the tenant produces an algorithm the client is configured for, instead of failing when the first ID token or JWT response is signed for it.
public ProfileSigningKeysCheck(Abblix.Jwt.SigningAlgorithmsProvider signingAlgorithms, Abblix.Jwt.ExternalKeys.IKeyCustodian? custodian=null);Parameters
signingAlgorithms SigningAlgorithmsProvider
Tells which algorithms a key signs with.
custodian IKeyCustodian
Present when the keys are held by an external custodian, in which case they live outside the tenant's settings and the absence of one there says nothing. It is a registration marker only and is never called here.
Methods
ProfileSigningKeysCheck.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.
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.