IAuthenticationManager.AuthenticateAsync Method (String[])
Called to perform any number of authentication mechanisms on the current request.
Namespace: Microsoft.Owin.Security
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Function AuthenticateAsync ( _
authenticationTypes As String() _
) As Task(Of IEnumerable(Of AuthenticateResult))
'Usage
Dim instance As IAuthenticationManager
Dim authenticationTypes As String()
Dim returnValue As Task(Of IEnumerable(Of AuthenticateResult))
returnValue = instance.AuthenticateAsync(authenticationTypes)
Task<IEnumerable<AuthenticateResult>> AuthenticateAsync(
string[] authenticationTypes
)
Task<IEnumerable<AuthenticateResult^>^>^ AuthenticateAsync(
array<String^>^ authenticationTypes
)
abstract AuthenticateAsync :
authenticationTypes:string[] -> Task<IEnumerable<AuthenticateResult>>
function AuthenticateAsync(
authenticationTypes : String[]
) : Task<IEnumerable<AuthenticateResult>>
Parameters
- authenticationTypes
Type: System.String[]
Identifies one or more middleware which should attempt to respond.
Return Value
Type: System.Threading.Tasks.Task<IEnumerable<AuthenticateResult>>
Returns the AuthenticationResult information from the middleware which responded. The order is determined by the order the middleware are in the pipeline. Latest added is first in the list.