#### [Abblix\.Oidc\.Server\.MinimalApi](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi 'index')
### [Abblix\.Oidc\.Server\.MinimalApi\.Formatters](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Formatters 'Abblix\.Oidc\.Server\.MinimalApi\.Formatters')

## UpdateClientResponseFormatter Class

Formats a client\-update result \(RFC 7592 §2\.2\) as [Microsoft\.AspNetCore\.Http\.IResult](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.iresult 'Microsoft\.AspNetCore\.Http\.IResult'): a 200 with the updated client
configuration on success, or the JSON OAuth error on failure\.

```csharp
public class UpdateClientResponseFormatter : Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IUpdateClientResponseFormatter
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → UpdateClientResponseFormatter

Implements [IUpdateClientResponseFormatter](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IUpdateClientResponseFormatter 'Abblix\.Oidc\.Server\.MinimalApi\.Formatters\.Interfaces\.IUpdateClientResponseFormatter')
### Constructors

## UpdateClientResponseFormatter\(RegistrationClientUriBuilder\) Constructor {#Abblix.Oidc.Server.MinimalApi.Formatters.UpdateClientResponseFormatter.UpdateClientResponseFormatter(Abblix.Oidc.Server.MinimalApi.Formatters.RegistrationClientUriBuilder)}

Formats a client\-update result \(RFC 7592 §2\.2\) as [Microsoft\.AspNetCore\.Http\.IResult](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.iresult 'Microsoft\.AspNetCore\.Http\.IResult'): a 200 with the updated client
configuration on success, or the JSON OAuth error on failure\.

```csharp
public UpdateClientResponseFormatter(Abblix.Oidc.Server.MinimalApi.Formatters.RegistrationClientUriBuilder uriBuilder);
```
#### Parameters

###### `uriBuilder` [RegistrationClientUriBuilder](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Formatters.RegistrationClientUriBuilder 'Abblix\.Oidc\.Server\.MinimalApi\.Formatters\.RegistrationClientUriBuilder') {#Abblix.Oidc.Server.MinimalApi.Formatters.UpdateClientResponseFormatter.UpdateClientResponseFormatter(Abblix.Oidc.Server.MinimalApi.Formatters.RegistrationClientUriBuilder).uriBuilder}

Builds the `registration_client_uri` for the client\.
### Methods

## UpdateClientResponseFormatter\.FormatResponseAsync\(UpdateClientRequest, Result\<ReadClientSuccessfulResponse,OidcError\>\) Method {#Abblix.Oidc.Server.MinimalApi.Formatters.UpdateClientResponseFormatter.FormatResponseAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest,Abblix.Utils.Result_Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError_)}

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

```csharp
public 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](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest 'Abblix\.Oidc\.Server\.Endpoints\.DynamicClientManagement\.Interfaces\.UpdateClientRequest') {#Abblix.Oidc.Server.MinimalApi.Formatters.UpdateClientResponseFormatter.FormatResponseAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest,Abblix.Utils.Result_Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError_).request}

###### `response` [Abblix\.Utils\.Result&lt;](https://www.abblix.com/en/docs/api/abblix-utils/Abblix.Utils.Result_TSuccess_TFailure_ 'Abblix\.Utils\.Result\`2')[ReadClientSuccessfulResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse 'Abblix\.Oidc\.Server\.Model\.ReadClientSuccessfulResponse')[,](https://www.abblix.com/en/docs/api/abblix-utils/Abblix.Utils.Result_TSuccess_TFailure_ 'Abblix\.Utils\.Result\`2')[OidcError](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.OidcError 'Abblix\.Oidc\.Server\.Common\.OidcError')[&gt;](https://www.abblix.com/en/docs/api/abblix-utils/Abblix.Utils.Result_TSuccess_TFailure_ 'Abblix\.Utils\.Result\`2') {#Abblix.Oidc.Server.MinimalApi.Formatters.UpdateClientResponseFormatter.FormatResponseAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest,Abblix.Utils.Result_Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError_).response}

Implements [FormatResponseAsync\(UpdateClientRequest, Result&lt;ReadClientSuccessfulResponse,OidcError&gt;\)](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IUpdateClientResponseFormatter#Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IUpdateClientResponseFormatter.FormatResponseAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest,Abblix.Utils.Result_Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError_) 'Abblix\.Oidc\.Server\.MinimalApi\.Formatters\.Interfaces\.IUpdateClientResponseFormatter\.FormatResponseAsync\(Abblix\.Oidc\.Server\.Endpoints\.DynamicClientManagement\.Interfaces\.UpdateClientRequest, Abblix\.Utils\.Result\<Abblix\.Oidc\.Server\.Model\.ReadClientSuccessfulResponse,Abblix\.Oidc\.Server\.Common\.OidcError\>\)')

#### Returns
[System\.Threading\.Tasks\.Task&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')[Microsoft\.AspNetCore\.Http\.IResult](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.iresult 'Microsoft\.AspNetCore\.Http\.IResult')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')
