IAutofacAuthenticationFilterAuthenticateAsync Method |
Called when a request requires authentication.
Namespace:
Autofac.Integration.WebApi
Assembly:
Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax Task AuthenticateAsync(
HttpAuthenticationContext context,
CancellationToken cancellationToken
)
Function AuthenticateAsync (
context As HttpAuthenticationContext,
cancellationToken As CancellationToken
) As Task
Parameters
- context
- Type: HttpAuthenticationContext
The context for the authentication. - cancellationToken
- Type: System.ThreadingCancellationToken
A cancellation token for signaling task ending.
Return Value
Type:
Task[Missing <returns> documentation for "M:Autofac.Integration.WebApi.IAutofacAuthenticationFilter.AuthenticateAsync(System.Web.Http.Filters.HttpAuthenticationContext,System.Threading.CancellationToken)"]
See Also