AuthenticationManagerExtensions.GetExternalIdentity Method (IAuthenticationManager, String)
Return the identity associated with the default external authentication type
Namespace: Microsoft.Owin.Security
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Syntax
public static ClaimsIdentity GetExternalIdentity(
this IAuthenticationManager manager,
string externalAuthenticationType
)
public:
[ExtensionAttribute]
static ClaimsIdentity^ GetExternalIdentity(
IAuthenticationManager^ manager,
String^ externalAuthenticationType
)
static member GetExternalIdentity :
manager:IAuthenticationManager *
externalAuthenticationType:string -> ClaimsIdentity
<ExtensionAttribute>
Public Shared Function GetExternalIdentity (
manager As IAuthenticationManager,
externalAuthenticationType As String
) As ClaimsIdentity
Parameters
- manager
Type: Microsoft.Owin.Security.IAuthenticationManager
- externalAuthenticationType
Type: System.String
Return Value
Type: System.Security.Claims.ClaimsIdentity
See Also
AuthenticationManagerExtensions Class
Microsoft.Owin.Security Namespace
Return to top