AuthenticationManagerExtensions.GetExternalLoginInfo Method
Retrieves the external login information.
Namespace: Microsoft.Owin.Security
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Overload List
Name | Description | |
---|---|---|
GetExternalLoginInfo(IAuthenticationManager) | Extracts the login information out of an external identity. |
|
GetExternalLoginInfo(IAuthenticationManager, String, String) | Extracts the login information out of an external identity. |
See Also
AuthenticationManagerExtensions Class
Microsoft.Owin.Security Namespace
Return to top
AuthenticationManagerExtensions.GetExternalLoginInfo Method (IAuthenticationManager)
Extracts the login information out of an external identity.
Syntax
public static ExternalLoginInfo GetExternalLoginInfo(
this IAuthenticationManager manager
)
public:
[ExtensionAttribute]
static ExternalLoginInfo^ GetExternalLoginInfo(
IAuthenticationManager^ manager
)
static member GetExternalLoginInfo :
manager:IAuthenticationManager -> ExternalLoginInfo
<ExtensionAttribute>
Public Shared Function GetExternalLoginInfo (
manager As IAuthenticationManager
) As ExternalLoginInfo
Parameters
manager
Type: Microsoft.Owin.Security.IAuthenticationManagerThe authentication manager.
Return Value
Type: Microsoft.AspNet.Identity.Owin.ExternalLoginInfo
The external login information.
See Also
Return to top
AuthenticationManagerExtensions.GetExternalLoginInfo Method (IAuthenticationManager, String, String)
Extracts the login information out of an external identity.
Syntax
public static ExternalLoginInfo GetExternalLoginInfo(
this IAuthenticationManager manager,
string xsrfKey,
string expectedValue
)
public:
[ExtensionAttribute]
static ExternalLoginInfo^ GetExternalLoginInfo(
IAuthenticationManager^ manager,
String^ xsrfKey,
String^ expectedValue
)
static member GetExternalLoginInfo :
manager:IAuthenticationManager *
xsrfKey:string *
expectedValue:string -> ExternalLoginInfo
<ExtensionAttribute>
Public Shared Function GetExternalLoginInfo (
manager As IAuthenticationManager,
xsrfKey As String,
expectedValue As String
) As ExternalLoginInfo
Parameters
manager
Type: Microsoft.Owin.Security.IAuthenticationManagerThe authentication manager.
xsrfKey
Type: System.StringThe key that will be used to find the user ID to verify.
expectedValue
Type: System.StringThe value expected to be found using the xsrfKey in the AuthenticationResult.Properties dictionary.
Return Value
Type: Microsoft.AspNet.Identity.Owin.ExternalLoginInfo
The external login information.
See Also
Return to top