Skip to content

IUpdateClientResponseFormatter Interface

Formats the result of updating a client configuration (RFC 7592 §2.2) into an Microsoft.AspNetCore.Http.IResult.

C#
public interface IUpdateClientResponseFormatter

Derived
UpdateClientResponseFormatter

Methods

IUpdateClientResponseFormatter.FormatResponseAsync(UpdateClientRequest, Result<ReadClientSuccessfulResponse,OidcError>) Method

Formats the update result (200 with the updated client configuration, or the OAuth error).

C#
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> FormatResponseAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError> response);

Parameters

request UpdateClientRequest
response Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>

Returns

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