ExternalLoginInfo Class¶
Constructors¶
-
ExternalLoginInfo
(System.Security.Claims.ClaimsPrincipal, System.String, System.String, System.String)¶ Creates a new instance of Microsoft.AspNet.Identity.ExternalLoginInfo
Arguments: - externalPrincipal (System.Security.Claims.ClaimsPrincipal) – The System.Security.Claims.ClaimsPrincipal to associate with this login.
- loginProvider (System.String) – The provider associated with this login information.
- providerKey (System.String) – The unique identifier for this user provided by the login provider.
- displayName (System.String) – The display name for this user provided by the login provider.
public ExternalLoginInfo(ClaimsPrincipal externalPrincipal, string loginProvider, string providerKey, string displayName)
-
Properties¶
-
ExternalPrincipal
()¶ Gets or sets the System.Security.Claims.ClaimsPrincipal associated with this login.
Return type: System.Security.Claims.ClaimsPrincipal public ClaimsPrincipal ExternalPrincipal { get; set; }
-