Skip to content

RemoveClientResponseFormatter Class

Formats a client-removal result (RFC 7592 §2.3) as Microsoft.AspNetCore.Http.IResult: an empty 204 on success, or the JSON OAuth error on failure.

C#
public class RemoveClientResponseFormatter : Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IRemoveClientResponseFormatter

Inheritance System.Object → RemoveClientResponseFormatter

Implements IRemoveClientResponseFormatter

Methods

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

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

C#
public 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>

Implements FormatResponseAsync(ClientRequest, Result<RemoveClientSuccessfulResponse,OidcError>)

Returns

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