Skip to content

IPushedAuthorizationResponseFormatter Interface

Defines the interface for formatting responses to pushed authorization requests.

C#
public interface IPushedAuthorizationResponseFormatter

Derived
PushedAuthorizationResponseFormatter

Methods

IPushedAuthorizationResponseFormatter.FormatResponseAsync(AuthorizationRequest, AuthorizationResponse) Method

Formats the response to a pushed authorization request.

C#
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.AuthorizationRequest request, Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse response);

Parameters

request AuthorizationRequest

The original authorization request.

response AuthorizationResponse

The response from processing the authorization request, which could be a successful pushed authorization response or an error.

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A task that resolves to an action result suitable for returning from an MVC action, representing the formatted response.