Skip to content

IPushedAuthorizationResponseFormatter Interface

Formats the response to a pushed authorization request (RFC 9126) into an Microsoft.AspNetCore.Http.IResult.

C#
public interface IPushedAuthorizationResponseFormatter

Derived
PushedAuthorizationResponseFormatter

Methods

IPushedAuthorizationResponseFormatter.FormatResponseAsync(AuthorizationRequest, AuthorizationResponse) Method

Formats the PAR result (201 with the request URI on success, JSON OAuth error otherwise).

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

Parameters

request AuthorizationRequest
response AuthorizationResponse

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>