ServiceAuthenticationFilter.AuthenticateAsync Method (IAuthenticationManager)

 

Asynchronously authenticates the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating authentication to that middleware.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

[DebuggerStepThroughAttribute]
protected virtual Task<IPrincipal> AuthenticateAsync(
	IAuthenticationManager authenticationManager
)

Parameters

authenticationManager
Type: Microsoft.Owin.Security.IAuthenticationManager

The IAuthenticationManager to use for performing the authentication.

Return Value

Type: System.Threading.Tasks.Task<IPrincipal>

A Task<TResult> representing the authentication operation.

Return to top
Show: