UpdateClientHandler Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.DynamicClientManagement
UpdateClientHandler Class
Handles client configuration update requests in OAuth 2.0 Dynamic Client Registration Management protocol per RFC 7592. Coordinates validation and processing to securely update registered client information.
public class UpdateClientHandler : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IUpdateClientHandler
Inheritance System.Object → UpdateClientHandler
Implements IUpdateClientHandler
Constructors
UpdateClientHandler(IUpdateClientRequestValidator, IUpdateClientRequestProcessor) Constructor
Handles client configuration update requests in OAuth 2.0 Dynamic Client Registration Management protocol per RFC 7592. Coordinates validation and processing to securely update registered client information.
public UpdateClientHandler(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IUpdateClientRequestValidator validator, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IUpdateClientRequestProcessor processor);
Parameters
validator IUpdateClientRequestValidator
Validates client authentication and authorization for configuration updates.
processor IUpdateClientRequestProcessor
Updates and formats client configuration data.
Methods
UpdateClientHandler.HandleAsync(UpdateClientRequest) Method
Processes a client configuration update request per RFC 7592 Section 2.2.
public 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 client authentication and updated metadata.
Implements HandleAsync(UpdateClientRequest)
Returns
System.Threading.Tasks.Task<Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>>
A task that results in updated client configuration or an error response.
Exceptions
UnexpectedTypeException
Thrown if the validation result does not match expected types.
Remarks
This method serves as a critical part of dynamic client management, allowing for the secure update of client configurations. It ensures that only valid and authorized requests are processed, safeguarding against unauthorized modifications to client information.