5 references to VerifyTwoFactorTokenAsync
Microsoft.AspNetCore.Identity (3)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
284if (!await userManager.VerifyTwoFactorTokenAsync(user, userManager.Options.Tokens.AuthenticatorTokenProvider, tfaRequest.TwoFactorCode))
SignInManager.cs (2)
918if (await UserManager.VerifyTwoFactorTokenAsync(user, Options.Tokens.AuthenticatorTokenProvider, code)) 982if (await UserManager.VerifyTwoFactorTokenAsync(user, provider, code))
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
133var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
133var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(