AuthenticationManagerExtensions.GetExternalLoginInfoAsync Method (IAuthenticationManager)
Extracts login info 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
- manager
Type: Microsoft.Owin.Security.IAuthenticationManager
Return Value
Type: System.Threading.Tasks.Task<ExternalLoginInfo>
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.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).
See Also
Reference
AuthenticationManagerExtensions Class