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