Skip to main content

ReadClientHandler Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement

ReadClientHandler Class

Handles client configuration retrieval requests in OAuth 2.0 Dynamic Client Registration protocol. Coordinates validation and processing to securely fetch registered client information.

public class ReadClientHandler : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IReadClientHandler

Inheritance System.Object → ReadClientHandler

Implements IReadClientHandler

Constructors

ReadClientHandler(IClientRequestValidator, IReadClientRequestProcessor) Constructor

Handles client configuration retrieval requests in OAuth 2.0 Dynamic Client Registration protocol. Coordinates validation and processing to securely fetch registered client information.

public ReadClientHandler(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IClientRequestValidator validator, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IReadClientRequestProcessor processor);

Parameters

validator IClientRequestValidator

Validates client authentication and authorization for configuration access.

processor IReadClientRequestProcessor

Retrieves and formats client configuration data.

Methods

ReadClientHandler.HandleAsync(ClientRequest) Method

Validates the registration access token and resolves the addressed client, then delegates to the processor to build the read-client response per RFC 7592 §2.1.

public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError>> HandleAsync(Abblix.Oidc.Server.Model.ClientRequest clientRequest);

Parameters

clientRequest ClientRequest

The incoming RFC 7592 read request.

Implements HandleAsync(ClientRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>>
The current client metadata or an error result.