UpdateClientResponseFormatter Class
Provides a response formatter for update client responses per RFC 7592 Section 2.2.
public class UpdateClientResponseFormatter : Abblix.Oidc.Server.Mvc.Formatters.Interfaces.IUpdateClientResponseFormatterInheritance System.Object → UpdateClientResponseFormatter
Implements IUpdateClientResponseFormatter
Constructors
UpdateClientResponseFormatter(IUriResolver) Constructor
Provides a response formatter for update client responses per RFC 7592 Section 2.2.
public UpdateClientResponseFormatter(Abblix.Oidc.Server.Mvc.IUriResolver uriResolver);Parameters
uriResolver IUriResolver
The URI resolver for generating client management URLs.
Methods
UpdateClientResponseFormatter.FormatResponseAsync(UpdateClientRequest, Result<ReadClientSuccessfulResponse,OidcError>) Method
Formats a response for updating a client asynchronously.
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> 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
The client update request.
response Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>
The client response model.
Implements FormatResponseAsync(UpdateClientRequest, Result<ReadClientSuccessfulResponse,OidcError>)
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task representing the asynchronous operation, with the formatted response as an Microsoft.AspNetCore.Mvc.ActionResult.
Per RFC 7592, returns 200 OK with updated client configuration on success.