Interface ICustomBackchannelAuthenticationValidator
- Namespace
- Fdyay.IdentityServer.Validation
- Assembly
- Fdyay.IdentityServer.Core.dll
A host's own checks on a backchannel authentication request, after this server's.
public interface ICustomBackchannelAuthenticationValidator
Remarks
Duende 8.0.1's ICustomBackchannelAuthenticationValidator, measured: called once the request is valid and its
user resolved, it may refuse the request — the client is told invalid_request — or accept custom parameters
into Properties. Registered with
AddCustomBackchannelAuthenticationRequestValidator<T>(); the default accepts everything and adds nothing.
Methods
ValidateAsync(CustomBackchannelAuthenticationRequestValidationContext, CancellationToken)
Runs the host's checks, refusing the request by replacing the context's result with an error result.
Task ValidateAsync(CustomBackchannelAuthenticationRequestValidationContext customValidationContext, CancellationToken ct)
Parameters
customValidationContextCustomBackchannelAuthenticationRequestValidationContextThe validated request, whose ValidationResult the validator may replace.
ctCancellationTokenCancels the validation.
Returns
- Task
A task that completes when the checks have run.