AuthenticationHandler.AuthenticateAsync Method
Causes the authentication logic in AuthenticateCore to be performed for the current request at most once and returns the results. Calling Authenticate more than once will always return the original value. This method should always be called instead of calling AuthenticateCore directly.
Namespace: Microsoft.Owin.Security.Infrastructure
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
'Declaration
Public Function AuthenticateAsync As Task(Of AuthenticationTicket)
'Usage
Dim instance As AuthenticationHandler
Dim returnValue As Task(Of AuthenticationTicket)
returnValue = instance.AuthenticateAsync()
public Task<AuthenticationTicket> AuthenticateAsync()
public:
Task<AuthenticationTicket^>^ AuthenticateAsync()
member AuthenticateAsync : unit -> Task<AuthenticationTicket>
public function AuthenticateAsync() : Task<AuthenticationTicket>
Return Value
Type: System.Threading.Tasks.Task<AuthenticationTicket>
The ticket data provided by the authentication logic