Share via


ExternalLoginInfo(ClaimsPrincipal, String, String, String) Constructor

Definition

Creates a new instance of ExternalLoginInfo

public:
 ExternalLoginInfo(System::Security::Claims::ClaimsPrincipal ^ principal, System::String ^ loginProvider, System::String ^ providerKey, System::String ^ displayName);
public ExternalLoginInfo (System.Security.Claims.ClaimsPrincipal principal, string loginProvider, string providerKey, string displayName);
new Microsoft.AspNetCore.Identity.ExternalLoginInfo : System.Security.Claims.ClaimsPrincipal * string * string * string -> Microsoft.AspNetCore.Identity.ExternalLoginInfo
Public Sub New (principal As ClaimsPrincipal, loginProvider As String, providerKey As String, displayName As String)

Parameters

principal
ClaimsPrincipal

The ClaimsPrincipal to associate with this login.

loginProvider
String

The provider associated with this login information.

providerKey
String

The unique identifier for this user provided by the login provider.

displayName
String

The display name for the login provider.

Applies to