Skip to content

IAuthorizationResponseFormatter Interface

Formats an authorization response into an Microsoft.AspNetCore.Http.IResult - delivering it to the client's redirect URI via query, fragment or form_post, redirecting to an interaction page, or surfacing a no-redirect error.

C#
public interface IAuthorizationResponseFormatter

Derived
AuthorizationResponseFormatter

Methods

IAuthorizationResponseFormatter.FormatResponseAsync(AuthorizationRequest, AuthorizationResponse) Method

Formats the authorization endpoint result.

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

The original authorization request.

response AuthorizationResponse

The encoded authorization response from the core handler.

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>
An Microsoft.AspNetCore.Http.IResult delivering the response.