Interface IClientConfigurationValidator
- Namespace
- Fdyay.IdentityServer.Validation
- Assembly
- Fdyay.IdentityServer.Core.dll
Decides whether a client registration can be served.
public interface IClientConfigurationValidator
Remarks
Duende 8.0.1's IClientConfigurationValidator, measured: asked by ValidatingClientStore<T> on every
read, which answers a refused registration as no client and raises InvalidClientConfigurationEvent. Registered
with AddClientConfigurationValidator<T>(); the default is DefaultClientConfigurationValidator.
Methods
ValidateAsync(ClientConfigurationValidationContext, CancellationToken)
Checks the context's registration, refusing it through SetError(string).
Task ValidateAsync(ClientConfigurationValidationContext context, CancellationToken ct)
Parameters
contextClientConfigurationValidationContextThe registration, and where a refusal is recorded.
ctCancellationTokenCancels the check.
Returns
- Task
A task that completes when the check has run.