Skip to content

IRegisterClientResponseFormatter Interface

Defines an interface for formatting client registration responses.

C#
public interface IRegisterClientResponseFormatter

Derived
RegisterClientResponseFormatter

Methods

IRegisterClientResponseFormatter.FormatResponseAsync(ClientRegistrationRequest, Result<ClientRegistrationSuccessResponse,OidcError>) Method

Formats the given client registration response asynchronously.

C#
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.ClientRegistrationRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ClientRegistrationSuccessResponse,Abblix.Oidc.Server.Common.OidcError> response);

Parameters

request ClientRegistrationRequest

The original client registration request.

response Abblix.Utils.Result<ClientRegistrationSuccessResponse,OidcError>

The client registration response to format.

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task representing the asynchronous operation. The task result contains the formatted Microsoft.AspNetCore.Mvc.ActionResult.