Перейти к содержимому
Abblix
Эта страница ещё не переведена.

IUpdateClientHandler Interface

Defines a contract for handling requests to update client configurations, as part of client management in OAuth 2.0 and OpenID Connect frameworks per RFC 7592 Section 2.2.

C#
public interface IUpdateClientHandler

Derived
UpdateClientHandler

Methods

IUpdateClientHandler.HandleAsync(UpdateClientRequest) Method

Asynchronously handles a request to update a client's configuration details.

C#
System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError>> HandleAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.UpdateClientRequest request);

Parameters

request UpdateClientRequest

The update request containing the client authentication and updated metadata.

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>>
A task that returns the updated client's configuration details or an error response.

Remarks

This method processes the incoming request to update a client's configuration per RFC 7592. It validates the request to ensure proper authentication via registration_access_token, validates the updated metadata, and updates the client configuration. The response includes all client metadata with potentially updated registration_access_token.