Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​ResponseHandling.​IPushedAuthorizationResponseGenerator
Assembly: Duende.IdentityServer
Generates response models for the pushed authorization endpoint (RFC 9126). The response contains a <c>request_uri</c> that the client can use in a subsequent authorization request to reference the pushed authorization parameters, along with the expiration of that URI. This service encapsulates the behavior needed to create a response model from a validated pushed authorization request.
Remarks
The default implementation stores the pushed authorization request and returns the
<c>request_uri</c> and expiration. Override this interface or extend the default
implementation to customize the pushed authorization response, for example to change the
format of the <c>request_uri</c> or to adjust the expiration time.
Methods
System.​Threading.​Tasks.​Task<​PushedAuthorizationResponse>
CreateResponseAsync​(Validation.​ValidatedPushedAuthorizationRequest request,
System.​Threading.​CancellationToken ct)
Asynchronously creates a response model from a validated pushed authorization request.
Returns A task that contains a <see cref="T:Duende.IdentityServer.ResponseHandling.PushedAuthorizationResponse" /> indicating either
success (with the <c>request_uri</c> and expiration) or failure.
request
The validated pushed authorization request.
ct
The cancellation token.