NewClientGrantTypesValidator Class
Refuses, while a host serving dynamic client registration or client ID metadata documents is still starting, grant types for new clients that are an empty set or hold a blank or null value.
public sealed class NewClientGrantTypesValidator : Microsoft.Extensions.Options.IValidateOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions>Inheritance System.Object → NewClientGrantTypesValidator
Implements Microsoft.Extensions.Options.IValidateOptions<OidcOptions>
Remarks
Every registration is held to the set, so an empty one refuses each of them, and a blank or null value names no grant type a client can request. Only those two are checked here: a misspelled value, or one padded with spaces, still starts the host, and a client requesting that grant type is refused. Registered with dynamic client registration and with client ID metadata documents, the two ways a client is built by the set: a document client's grant types are narrowed to it, so an empty set leaves every document refused.