Skip to main content

IRevocationRequestValidator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Revocation.Interfaces

IRevocationRequestValidator Interface

Represents the capability to validate revocation requests. The authorization server validates client credentials (for confidential clients) and checks if the token was issued to the requesting client. If validation fails, the request is refused, and an error message is provided to the client by the authorization server.

public interface IRevocationRequestValidator

Derived
RevocationRequestValidator

Methods

IRevocationRequestValidator.ValidateAsync(RevocationRequest, ClientRequest) Method

Validates a revocation request.

System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest,Abblix.Oidc.Server.Common.OidcError>> ValidateAsync(Abblix.Oidc.Server.Model.RevocationRequest revocationRequest, Abblix.Oidc.Server.Model.ClientRequest clientRequest);

Parameters

revocationRequest RevocationRequest

The revocation request to be validated.

clientRequest ClientRequest

Additional client request information for contextual validation.

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ValidRevocationRequest,OidcError>>
A task representing the asynchronous operation with the validation result.