Table of Contents

Interface IPushedAuthorizationResponseGenerator

Namespace
Fdyay.IdentityServer.ResponseHandling
Assembly
Fdyay.IdentityServer.Core.dll

Stores a validated push and answers with its reference.

public interface IPushedAuthorizationResponseGenerator

Remarks

Duende 8.0.1's IPushedAuthorizationResponseGenerator, measured: a urn:ietf:params:oauth:request_uri: reference, the request stored under it with its expiry, and request_uri and expires_in answered.

Methods

CreateResponseAsync(ValidatedPushedAuthorizationRequest, CancellationToken)

Stores a validated pushed request and builds the response for the client.

Task<PushedAuthorizationResponse> CreateResponseAsync(ValidatedPushedAuthorizationRequest request, CancellationToken ct)

Parameters

request ValidatedPushedAuthorizationRequest

The validated pushed authorization request.

ct CancellationToken

Cancels the storage.

Returns

Task<PushedAuthorizationResponse>

A PushedAuthorizationSuccess with the request_uri and its lifetime, or a PushedAuthorizationFailure naming why the push was refused.