SignInManager<TUser>.ExternalLoginSignInAsync Method

Definition

Overloads

ExternalLoginSignInAsync(String, String, Boolean, Boolean)

Signs in a user via a previously registered third party login, as an asynchronous operation.

ExternalLoginSignInAsync(String, String, Boolean)

Signs in a user via a previously registered third party login, as an asynchronous operation.

ExternalLoginSignInAsync(String, String, Boolean, Boolean)

Source:
SignInManager.cs
Source:
SignInManager.cs

Signs in a user via a previously registered third party login, as an asynchronous operation.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ ExternalLoginSignInAsync(System::String ^ loginProvider, System::String ^ providerKey, bool isPersistent, bool bypassTwoFactor);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> ExternalLoginSignInAsync (string loginProvider, string providerKey, bool isPersistent, bool bypassTwoFactor);
abstract member ExternalLoginSignInAsync : string * string * bool * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.ExternalLoginSignInAsync : string * string * bool * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Public Overridable Function ExternalLoginSignInAsync (loginProvider As String, providerKey As String, isPersistent As Boolean, bypassTwoFactor As Boolean) As Task(Of SignInResult)

Parameters

loginProvider
String

The login provider to use.

providerKey
String

The unique provider identifier for the user.

isPersistent
Boolean

Flag indicating whether the sign-in cookie should persist after the browser is closed.

bypassTwoFactor
Boolean

Flag indicating whether to bypass two factor authentication.

Returns

The task object representing the asynchronous operation containing the for the sign-in attempt.

Applies to

ExternalLoginSignInAsync(String, String, Boolean)

Source:
SignInManager.cs
Source:
SignInManager.cs

Signs in a user via a previously registered third party login, as an asynchronous operation.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ ExternalLoginSignInAsync(System::String ^ loginProvider, System::String ^ providerKey, bool isPersistent);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> ExternalLoginSignInAsync (string loginProvider, string providerKey, bool isPersistent);
abstract member ExternalLoginSignInAsync : string * string * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.ExternalLoginSignInAsync : string * string * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Public Overridable Function ExternalLoginSignInAsync (loginProvider As String, providerKey As String, isPersistent As Boolean) As Task(Of SignInResult)

Parameters

loginProvider
String

The login provider to use.

providerKey
String

The unique provider identifier for the user.

isPersistent
Boolean

Flag indicating whether the sign-in cookie should persist after the browser is closed.

Returns

The task object representing the asynchronous operation containing the for the sign-in attempt.

Applies to