Skip to main content

Documentation Index

Fetch the complete documentation index at: https://easyaf.dev/llms.txt

Use this file to discover all available pages before exploring further.

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Operation

Syntax

Microsoft.Restier.Core.Operation.IOperationAuthorizer

Summary

Represents a operation authorizer.

Methods

AuthorizeAsync Abstract

Asynchronously authorizes the Operation.

Syntax

System.Threading.Tasks.Task<bool> AuthorizeAsync(Microsoft.Restier.Core.Operation.OperationContext context, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Operation.OperationContextThe operation context.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

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