Skip to content
Abblix

IRegisterClientHandler Interface

Handles POST requests to the registration endpoint per RFC 7591 §3 and the OpenID Connect Dynamic Client Registration 1.0 specification, validating supplied metadata and provisioning a new client.

C#
public interface IRegisterClientHandler

Derived
RegisterClientHandler

Methods

IRegisterClientHandler.HandleAsync(ClientRegistrationRequest) Method

Validates the supplied client metadata and, on success, creates the client record, generates credentials, and issues the registration access token used for later management operations (RFC 7592).

C#
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 as defined in RFC 7591 §2 and OIDC Dynamic Client Registration 1.0.

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ClientRegistrationSuccessResponse,OidcError>>
A successful response per RFC 7591 §3.2.1 (containing client_id, client_secret, registration_access_token, etc.) or an error per §3.2.2.