AuthenticationManagerExtensions.GetExternalIdentityAsync Method (IAuthenticationManager, String)
Asynchronously returns 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 Task<ClaimsIdentity> GetExternalIdentityAsync(
this IAuthenticationManager manager,
string externalAuthenticationType
)
public:
[ExtensionAttribute]
static Task<ClaimsIdentity^>^ GetExternalIdentityAsync(
IAuthenticationManager^ manager,
String^ externalAuthenticationType
)
static member GetExternalIdentityAsync :
manager:IAuthenticationManager *
externalAuthenticationType:string -> Task<ClaimsIdentity>
<ExtensionAttribute>
Public Shared Function GetExternalIdentityAsync (
manager As IAuthenticationManager,
externalAuthenticationType As String
) As Task(Of ClaimsIdentity)
Parameters
manager
Type: Microsoft.Owin.Security.IAuthenticationManagerThe authentication manager.
externalAuthenticationType
Type: System.StringThe external authentication type.
Return Value
Type: System.Threading.Tasks.Task<ClaimsIdentity>
The task that completes the operation.
See Also
AuthenticationManagerExtensions Class
Microsoft.Owin.Security Namespace
ASP.NET Identity
Return to top