Skip to main content

Definition

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

Syntax

Microsoft.Restier.Core.Submit.IChangeSetItemAuthorizer

Summary

Represents a change set item authorizer.

Methods

AuthorizeAsync Abstract

Asynchronously authorizes the ChangeSetItem.

Syntax

System.Threading.Tasks.Task<bool> AuthorizeAsync(Microsoft.Restier.Core.Submit.SubmitContext context, Microsoft.Restier.Core.Submit.ChangeSetItem item, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Submit.SubmitContextThe submit context.
itemMicrosoft.Restier.Core.Submit.ChangeSetItemA change set item to be authorized.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

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