ServiceAuthenticationFilter.ChallengeAsync Method (HttpAuthenticationChallengeContext, CancellationToken)
Issues an authentication challenge to the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating the challenge generation to that middleware.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
public virtual Task ChallengeAsync( HttpAuthenticationChallengeContext context, CancellationToken cancellationToken )
Parameters
- context
-
Type:
System.Web.Http.Filters.HttpAuthenticationChallengeContext
The context.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Show: