AuthenticationManagerExtensions.GetExternalLoginInfoAsync Method (IAuthenticationManager)

Asynchronously extracts the login information out of an external identity.

Namespace:  Microsoft.Owin.Security
Assembly:  Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetExternalLoginInfoAsync ( _
    manager As IAuthenticationManager _
) As Task(Of ExternalLoginInfo)
'Usage
Dim manager As IAuthenticationManager 
Dim returnValue As Task(Of ExternalLoginInfo)

returnValue = manager.GetExternalLoginInfoAsync()
public static Task<ExternalLoginInfo> GetExternalLoginInfoAsync(
    this IAuthenticationManager manager
)
[ExtensionAttribute]
public:
static Task<ExternalLoginInfo^>^ GetExternalLoginInfoAsync(
    IAuthenticationManager^ manager
)
static member GetExternalLoginInfoAsync : 
        manager:IAuthenticationManager -> Task<ExternalLoginInfo> 
public static function GetExternalLoginInfoAsync(
    manager : IAuthenticationManager
) : Task<ExternalLoginInfo>

Parameters

Return Value

Type: System.Threading.Tasks.Task<ExternalLoginInfo>
The task that completes the asynchronous operation.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAuthenticationManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.108) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.108).

See Also

Reference

AuthenticationManagerExtensions Class

GetExternalLoginInfoAsync Overload

Microsoft.Owin.Security Namespace

Other Resources

ASP.NET Identity