Skip to content

IRemoveClientResponseFormatter Interface

Formats the result of removing a client (RFC 7592 §2.3) into an Microsoft.AspNetCore.Http.IResult.

C#
public interface IRemoveClientResponseFormatter

Derived
RemoveClientResponseFormatter

Methods

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

Formats the removal result (empty 204 on success, or the OAuth error).

C#
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> 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
response Abblix.Utils.Result<RemoveClientSuccessfulResponse,OidcError>

Returns

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