ServiceAuthenticationFilter::AuthenticateAsync Method (HttpAuthenticationContext^, CancellationToken)
Asynchronously authenticates the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating authentication to that middleware.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
public: [DebuggerStepThroughAttribute] virtual Task^ AuthenticateAsync( HttpAuthenticationContext^ context, CancellationToken cancellationToken )
Parameters
- context
-
Type:
System.Web.Http.Filters::HttpAuthenticationContext^
The authentication context.
- cancellationToken
-
Type:
System.Threading::CancellationToken
The cancellation token.
Show: