Skip to main content

IRegisterClientRequestValidator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces

IRegisterClientRequestValidator Interface

Validates client metadata supplied to the registration endpoint per RFC 7591 §2 and OpenID Connect Dynamic Client Registration 1.0. Produces a typed ValidClientRegistrationRequest on success or an OidcError describing the rejected metadata field.

public interface IRegisterClientRequestValidator

Derived
RegisterClientRequestValidator
UpdateClientRegistrationValidator

Methods

IRegisterClientRequestValidator.ValidateAsync(ClientRegistrationRequest) Method

Validates the request and returns either the typed valid form or the first error encountered.

System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ValidClientRegistrationRequest,Abblix.Oidc.Server.Common.OidcError>> ValidateAsync(Abblix.Oidc.Server.Model.ClientRegistrationRequest request);

Parameters

request ClientRegistrationRequest

The raw registration request to validate.

Returns

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