#### [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')

## ValidRevocationRequest Class

Represents a valid revocation request, including the request model and the associated token, if available\.

```csharp
public record ValidRevocationRequest : System.IEquatable<Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → ValidRevocationRequest

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[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')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Constructors

## ValidRevocationRequest\(RevocationRequest, JsonWebToken\) Constructor {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest.ValidRevocationRequest(Abblix.Oidc.Server.Model.RevocationRequest,Abblix.Jwt.JsonWebToken)}

Initializes a valid revocation request with the provided model and token\.

```csharp
public ValidRevocationRequest(Abblix.Oidc.Server.Model.RevocationRequest model, Abblix.Jwt.JsonWebToken token);
```
#### Parameters

###### `model` [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.ValidRevocationRequest.ValidRevocationRequest(Abblix.Oidc.Server.Model.RevocationRequest,Abblix.Jwt.JsonWebToken).model}

###### `token` [JsonWebToken](https://www.abblix.com/en/docs/api/abblix-jwt/Abblix.Jwt.JsonWebToken 'Abblix\.Jwt\.JsonWebToken') {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest.ValidRevocationRequest(Abblix.Oidc.Server.Model.RevocationRequest,Abblix.Jwt.JsonWebToken).token}
### Properties

## ValidRevocationRequest\.Model Property {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest.Model}

The revocation request model\.

```csharp
public Abblix.Oidc.Server.Model.RevocationRequest Model { get; }
```

#### Property Value
[RevocationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.RevocationRequest 'Abblix\.Oidc\.Server\.Model\.RevocationRequest')

## ValidRevocationRequest\.Token Property {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest.Token}

The associated token, if available\.

```csharp
public Abblix.Jwt.JsonWebToken? Token { get; }
```

#### Property Value
[JsonWebToken](https://www.abblix.com/en/docs/api/abblix-jwt/Abblix.Jwt.JsonWebToken 'Abblix\.Jwt\.JsonWebToken')
### Methods

## ValidRevocationRequest\.InvalidToken\(RevocationRequest\) Method {#Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest.InvalidToken(Abblix.Oidc.Server.Model.RevocationRequest)}

Creates a valid revocation request for an invalid token without a token association\.

```csharp
public static Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest InvalidToken(Abblix.Oidc.Server.Model.RevocationRequest model);
```
#### Parameters

###### `model` [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.ValidRevocationRequest.InvalidToken(Abblix.Oidc.Server.Model.RevocationRequest).model}

#### Returns
[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')

### Remarks
Invalid tokens do not cause an error response since the client cannot handle such an error in a reasonable way\.
Moreover, the purpose of the revocation request, invalidating the particular token, is already achieved\.
See https://www.rfc-editor.org/rfc/rfc7009\#section-2.2
