Saltar al contenido
Abblix
Esta página aún no está traducida.

IPushedAuthorizationRequestValidator Interface

Provides validation for pushed authorization requests in an OAuth 2.0 context, ensuring they adhere to protocol specifications. This interface evaluates the conformity of authorization requests with expected parameters and limitations before their acceptance for processing.

C#
public interface IPushedAuthorizationRequestValidator

Derived
PushedAuthorizationRequestValidator

Methods

IPushedAuthorizationRequestValidator.ValidateAsync(AuthorizationRequest, ClientRequest) Method

Asynchronously validates a pushed authorization request against OAuth 2.0 specifications. This method ensures the request meets all necessary criteria and constraints defined for secure processing.

C#
System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.ValidAuthorizationRequest,Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError>> ValidateAsync(Abblix.Oidc.Server.Model.AuthorizationRequest authorizationRequest, Abblix.Oidc.Server.Model.ClientRequest clientRequest);

Parameters

authorizationRequest AuthorizationRequest

The authorization request to be validated.

clientRequest ClientRequest

Additional client request information for contextual validation.

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ValidAuthorizationRequest,AuthorizationRequestValidationError>>
A task that upon completion provides a validation result, indicating either success and validity of the request or the presence of errors.