#### [Abblix\.Oidc\.Server](https://www.abblix.com/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common\.Configuration](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration 'Abblix\.Oidc\.Server\.Common\.Configuration')

## 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\.

```csharp
public sealed class NewClientGrantTypesValidator : Microsoft.Extensions.Options.IValidateOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → NewClientGrantTypesValidator

Implements [Microsoft\.Extensions\.Options\.IValidateOptions&lt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.options.ivalidateoptions-1 'Microsoft\.Extensions\.Options\.IValidateOptions\`1')[OidcOptions](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.OidcOptions 'Abblix\.Oidc\.Server\.Common\.Configuration\.OidcOptions')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.options.ivalidateoptions-1 'Microsoft\.Extensions\.Options\.IValidateOptions\`1')

### 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\.
