PushedAuthorizationResponseFormatter Class
Formats pushed authorization request results as Microsoft.AspNetCore.Http.IResult. PAR is a server-to-server endpoint (RFC 9126): responses are always JSON and errors never redirect.
public class PushedAuthorizationResponseFormatter : Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IPushedAuthorizationResponseFormatterInheritance System.Object → PushedAuthorizationResponseFormatter
Implements IPushedAuthorizationResponseFormatter
Methods
PushedAuthorizationResponseFormatter.FormatResponseAsync(AuthorizationRequest, AuthorizationResponse) Method
Formats the PAR result (201 with the request URI on success, JSON OAuth error otherwise).
public 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
Implements FormatResponseAsync(AuthorizationRequest, AuthorizationResponse)
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>