共用方式為


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

這兩個因素修復程式碼。

傳回

適用於