SignInManager<TUser>.TwoFactorRecoveryCodeSignInAsync(String) Method

Definition

Signs in the user without two factor authentication using a two factor recovery code.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ TwoFactorRecoveryCodeSignInAsync(System::String ^ recoveryCode);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> TwoFactorRecoveryCodeSignInAsync (string recoveryCode);
abstract member TwoFactorRecoveryCodeSignInAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.TwoFactorRecoveryCodeSignInAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Public Overridable Function TwoFactorRecoveryCodeSignInAsync (recoveryCode As String) As Task(Of SignInResult)

Parameters

recoveryCode
String

The two factor recovery code.

Returns

Applies to