#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Endpoints\.Revocation\.Interfaces](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Revocation.Interfaces '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\.

```csharp
public interface IRevocationRequestValidator
```

Derived  
↳ [RevocationRequestValidator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Revocation.RevocationRequestValidator 'Abblix\.Oidc\.Server\.Endpoints\.Revocation\.RevocationRequestValidator')
### Methods

## IRevocationRequestValidator\.ValidateAsync\(RevocationRequest, ClientRequest\) Method {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.IRevocationRequestValidator.ValidateAsync(Abblix.Oidc.Server.Model.RevocationRequest,Abblix.Oidc.Server.Model.ClientRequest)}

Validates a revocation request\.

```csharp
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](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.RevocationRequest 'Abblix\.Oidc\.Server\.Model\.RevocationRequest') {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.IRevocationRequestValidator.ValidateAsync(Abblix.Oidc.Server.Model.RevocationRequest,Abblix.Oidc.Server.Model.ClientRequest).revocationRequest}

The revocation request to be validated\.

###### `clientRequest` [ClientRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.ClientRequest 'Abblix\.Oidc\.Server\.Model\.ClientRequest') {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.IRevocationRequestValidator.ValidateAsync(Abblix.Oidc.Server.Model.RevocationRequest,Abblix.Oidc.Server.Model.ClientRequest).clientRequest}

Additional client request information for contextual validation\.

#### Returns
[System\.Threading\.Tasks\.Task&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')[Abblix\.Utils\.Result&lt;](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2')[ValidRevocationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest 'Abblix\.Oidc\.Server\.Endpoints\.Revocation\.Interfaces\.ValidRevocationRequest')[,](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2')[OidcError](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.OidcError 'Abblix\.Oidc\.Server\.Common\.OidcError')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')  
A task representing the asynchronous operation with the validation result\.
