Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.OperationSyntax
Summary
Represents a operation authorizer.Methods
AuthorizeAsync Abstract
Asynchronously authorizes the Operation.Syntax
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.