SignInManager<TUser>.TwoFactorRecoveryCodeSignInAsync(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用双因素恢复代码在没有双因素身份验证的情况下登录用户。
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
两个因素恢复代码。