Share via


IAuthenticationFilter.AuthenticateAsync Method

Authenticates the request.

Namespace:  System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

Task AuthenticateAsync(
    HttpAuthenticationContext context,
    CancellationToken cancellationToken
)

Parameters

Return Value

Type: System.Threading.Tasks.Task
A Task that will perform authentication.

See Also

Reference

IAuthenticationFilter Interface

System.Web.Http.Filters Namespace