SignInManager<TUser>.TwoFactorRecoveryCodeSignInAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.