> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# IOperationAuthorizer

> Represents a operation authorizer.

## Definition

**Assembly:** Microsoft.Restier.Core.dll

**Namespace:** Microsoft.Restier.Core.Operation

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.Operation.IOperationAuthorizer
```

## Summary

Represents a operation authorizer.

## Methods

### &#x20;AuthorizeAsync Abstract

Asynchronously authorizes the Operation.

#### Syntax

```csharp theme={"dark"}
System.Threading.Tasks.Task<bool> AuthorizeAsync(Microsoft.Restier.Core.Operation.OperationContext context, System.Threading.CancellationToken cancellationToken)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `context` | `Microsoft.Restier.Core.Operation.OperationContext` | The operation context. |
| `cancellationToken` | `System.Threading.CancellationToken` | A cancellation token. |

#### Returns

Type: `System.Threading.Tasks.Task<bool>`
A task that represents the asynchronous operation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.