Skip to main content

RegisterClientHandler Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement

RegisterClientHandler Class

Default implementation of IRegisterClientHandler that runs validation (RFC 7591 §2 metadata + OIDC DCR 1.0) followed by processing (credential issuance, persistence, and registration access token generation per RFC 7591 §3.2.1 / RFC 7592 §3).

public class RegisterClientHandler : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegisterClientHandler

Inheritance System.Object → RegisterClientHandler

Implements IRegisterClientHandler

Constructors

RegisterClientHandler(IRegisterClientRequestValidator, IRegisterClientRequestProcessor) Constructor

Default implementation of IRegisterClientHandler that runs validation (RFC 7591 §2 metadata + OIDC DCR 1.0) followed by processing (credential issuance, persistence, and registration access token generation per RFC 7591 §3.2.1 / RFC 7592 §3).

public RegisterClientHandler(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegisterClientRequestValidator validator, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegisterClientRequestProcessor processor);

Parameters

validator IRegisterClientRequestValidator

Validator for the raw registration metadata.

processor IRegisterClientRequestProcessor

Processor that persists the client and constructs the response.

Methods

RegisterClientHandler.HandleAsync(ClientRegistrationRequest) Method

Validates the registration metadata, then provisions the client and returns the RFC 7591 §3.2.1 success response or an error per §3.2.2.

public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ClientRegistrationSuccessResponse,Abblix.Oidc.Server.Common.OidcError>> HandleAsync(Abblix.Oidc.Server.Model.ClientRegistrationRequest clientRegistrationRequest);

Parameters

clientRegistrationRequest ClientRegistrationRequest

The client metadata payload.

Implements HandleAsync(ClientRegistrationRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ClientRegistrationSuccessResponse,OidcError>>