AuthorizationFilterAttribute.IAuthorizationFilter.ExecuteAuthorizationFilterAsync Method
Executes the authorization filter during synchronization.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Task<HttpResponseMessage> IAuthorizationFilter.ExecuteAuthorizationFilterAsync( HttpActionContext actionContext, CancellationToken cancellationToken, Func<Task<HttpResponseMessage>> continuation )
Parameters
- actionContext
- Type: System.Web.Http.Controllers.HttpActionContext
The action context, which encapsulates information for using AuthorizationFilterAttribute.
- cancellationToken
- Type: System.Threading.CancellationToken
The cancellation token that cancels the operation.
- continuation
- Type: System.Func<Task<HttpResponseMessage>>
A continuation of the operation.
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>The authorization filter during synchronization.
Implements
IAuthorizationFilter.ExecuteAuthorizationFilterAsync(HttpActionContext, CancellationToken, Func<Task<HttpResponseMessage>>)
Show: