Skip to content

IRemoveClientResponseFormatter Interface

Defines an interface for formatting responses when removing a client.

C#
public interface IRemoveClientResponseFormatter

Derived
RemoveClientResponseFormatter

Methods

IRemoveClientResponseFormatter.FormatResponseAsync(ClientRequest, Result<RemoveClientSuccessfulResponse,OidcError>) Method

Formats the response asynchronously when removing a client.

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

Parameters

request ClientRequest

The original request to remove the client.

response Abblix.Utils.Result<RemoveClientSuccessfulResponse,OidcError>

The response indicating the result of the removal operation.

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.