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

## RevocationRequest Class

The token revocation request \(RFC 7009\)\. The bound properties, `BindAsync` and the projection onto the core
model are generated from [RevocationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.RevocationRequest 'Abblix\.Oidc\.Server\.Model\.RevocationRequest') by the Minimal API model source generator\.

```csharp
public record RevocationRequest : System.IEquatable<Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest>
```

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

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[RevocationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest 'Abblix\.Oidc\.Server\.MinimalApi\.Model\.RevocationRequest')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Properties

## RevocationRequest\.Token Property {#Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest.Token}

The `token` parameter \(RFC 7009 §2\.1\): the access token or refresh token string the client
is asking the authorization server to revoke\. Required\.

```csharp
public string Token { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## RevocationRequest\.TokenTypeHint Property {#Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest.TokenTypeHint}

The optional `token_type_hint` \(RFC 7009 §2\.1\) advising whether [Token](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.RevocationRequest#Abblix.Oidc.Server.Model.RevocationRequest.Token 'Abblix\.Oidc\.Server\.Model\.RevocationRequest\.Token') is an
`access_token` or `refresh_token`, allowing the server to look it up faster\.

```csharp
public string? TokenTypeHint { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
### Methods

## RevocationRequest\.BindAsync\(HttpContext\) Method {#Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest.BindAsync(Microsoft.AspNetCore.Http.HttpContext)}

Binds the model from the request's form, query, headers and TLS connection\.

```csharp
public static System.Threading.Tasks.ValueTask<Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest?> BindAsync(Microsoft.AspNetCore.Http.HttpContext context);
```
#### Parameters

###### `context` [Microsoft\.AspNetCore\.Http\.HttpContext](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.httpcontext 'Microsoft\.AspNetCore\.Http\.HttpContext') {#Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest.BindAsync(Microsoft.AspNetCore.Http.HttpContext).context}

#### Returns
[System\.Threading\.Tasks\.ValueTask&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1 'System\.Threading\.Tasks\.ValueTask\`1')[RevocationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest 'Abblix\.Oidc\.Server\.MinimalApi\.Model\.RevocationRequest')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1 'System\.Threading\.Tasks\.ValueTask\`1')
### Operators

## RevocationRequest\.implicit operator RevocationRequest\(RevocationRequest\) Operator {#Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest.op_ImplicitAbblix.Oidc.Server.Model.RevocationRequest(Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest)}

Projects the transport\-bound model onto its core counterpart\.

```csharp
public static Abblix.Oidc.Server.Model.RevocationRequest implicit operator Abblix.Oidc.Server.Model.RevocationRequest(Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest request);
```
#### Parameters

###### `request` [RevocationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest 'Abblix\.Oidc\.Server\.MinimalApi\.Model\.RevocationRequest') {#Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest.op_ImplicitAbblix.Oidc.Server.Model.RevocationRequest(Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest).request}

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