SignInManager<TUser>.TwoFactorRecoveryCodeSignInAsync(String) 方法

定义

使用双因素恢复代码在没有双因素身份验证的情况下登录用户。

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)

参数

recoveryCode
String

两个因素恢复代码。

返回

适用于