Skip to content

NewClientOfflineAccessValidator Class

Refuses, while the host is still starting, an offline access for new clients that the enumeration does not define.

C#
public sealed class NewClientOfflineAccessValidator : Microsoft.Extensions.Options.IValidateOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions>

Inheritance System.Object → NewClientOfflineAccessValidator

Implements Microsoft.Extensions.Options.IValidateOptions<OidcOptions>

Remarks

Configuration binds a number to an enumeration whatever its value, and every client registering after startup takes this one, so a mistyped value would fail each registration and each authorization request of those clients with an error that names neither the setting nor the value.