ClientRequestValidator Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.DynamicClientManagement
ClientRequestValidator Class
Default IClientRequestValidator for the RFC 7592 client configuration endpoint.
First verifies the registration access token is bound to the requested client_id, then
loads the corresponding ClientInfo from storage and
rejects the request when no record exists.
public class ClientRequestValidator : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IClientRequestValidator
Inheritance System.Object → ClientRequestValidator
Implements IClientRequestValidator
Constructors
ClientRequestValidator(IClientInfoProvider, IRegistrationAccessTokenValidator, IRegistrationAccessTokenStore) Constructor
Default IClientRequestValidator for the RFC 7592 client configuration endpoint.
First verifies the registration access token is bound to the requested client_id, then
loads the corresponding ClientInfo from storage and
rejects the request when no record exists.
public ClientRequestValidator(Abblix.Oidc.Server.Features.ClientInformation.IClientInfoProvider clientInfoProvider, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegistrationAccessTokenValidator registrationAccessTokenValidator, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegistrationAccessTokenStore registrationAccessTokenStore);
Parameters
clientInfoProvider IClientInfoProvider
Store consulted for the addressed client.
registrationAccessTokenValidator IRegistrationAccessTokenValidator
Validator for the bearer registration access token.
registrationAccessTokenStore IRegistrationAccessTokenStore
Store holding the jti of each client's current token.
Methods
ClientRequestValidator.ValidateAsync(ClientRequest) Method
Validates the request, returning the resolved ValidClientRequest on success or an OidcError describing the rejection.
public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ValidClientRequest,Abblix.Oidc.Server.Common.OidcError>> ValidateAsync(Abblix.Oidc.Server.Model.ClientRequest request);
Parameters
request ClientRequest
The client management request to validate.
Implements ValidateAsync(ClientRequest)
Returns
System.Threading.Tasks.Task<Abblix.Utils.Result<ValidClientRequest,OidcError>>