Interface IAuthorizeInteractionResponseGenerator
- Namespace
- Fdyay.IdentityServer.ResponseHandling
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Decides whether a validated authorize request can be answered now, or needs the user first. Duende's.
public interface IAuthorizeInteractionResponseGenerator
Remarks
Registered with AddAuthorizeInteractionResponseGenerator<T>(). The default,
AuthorizeInteractionResponseGenerator, is open: derive from it to change one step.
Methods
ProcessInteractionAsync(ValidatedAuthorizeRequest, ConsentResponse?, CancellationToken)
Task<InteractionResponse> ProcessInteractionAsync(ValidatedAuthorizeRequest request, ConsentResponse? consent, CancellationToken ct)
Parameters
requestValidatedAuthorizeRequestThe validated request.
consentConsentResponseThe decision the user has just made on the consent page, or null.
ctCancellationTokenCancels the processing.