SignInManager<TUser>.ExternalLoginSignInAsync SignInManager<TUser>.ExternalLoginSignInAsync SignInManager<TUser>.ExternalLoginSignInAsync Method

Definition

Overloads

ExternalLoginSignInAsync(String, String, Boolean, Boolean) ExternalLoginSignInAsync(String, String, Boolean, Boolean) ExternalLoginSignInAsync(String, String, Boolean, Boolean)

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

ExternalLoginSignInAsync(String, String, Boolean) ExternalLoginSignInAsync(String, String, Boolean) ExternalLoginSignInAsync(String, String, Boolean)

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

ExternalLoginSignInAsync(String, String, Boolean, Boolean) ExternalLoginSignInAsync(String, String, Boolean, Boolean) ExternalLoginSignInAsync(String, String, Boolean, Boolean)

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 (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 String String

The login provider to use.

providerKey
String String String

The unique provider identifier for the user.

isPersistent
Boolean Boolean Boolean

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

bypassTwoFactor
Boolean Boolean Boolean

Flag indicating whether to bypass two factor authentication.

Returns

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

ExternalLoginSignInAsync(String, String, Boolean) ExternalLoginSignInAsync(String, String, Boolean) ExternalLoginSignInAsync(String, String, Boolean)

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 (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 String String

The login provider to use.

providerKey
String String String

The unique provider identifier for the user.

isPersistent
Boolean Boolean 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