Table of Contents

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

request ValidatedAuthorizeRequest

The validated request.

consent ConsentResponse

The decision the user has just made on the consent page, or null.

ct CancellationToken

Cancels the processing.

Returns

Task<InteractionResponse>