Share via


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
System_CAPS_pubmethodSystem_CAPS_static GetExternalLoginInfo(IAuthenticationManager)

Extracts the login information out of an external identity.

System_CAPS_pubmethodSystem_CAPS_static 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

Return Value

Type: Microsoft.AspNet.Identity.Owin.ExternalLoginInfo

The external login information.

See Also

ASP.NET Identity

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

  • xsrfKey
    Type: System.String

    The key that will be used to find the user ID to verify.

  • expectedValue
    Type: System.String

    The 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

ASP.NET Identity

Return to top