10 references to GetTwoFactorEnabledAsync
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
331
IsTwoFactorEnabled = await userManager.
GetTwoFactorEnabledAsync
(user),
SignInManager.cs (1)
1210
await UserManager.
GetTwoFactorEnabledAsync
(user) &&
Microsoft.AspNetCore.Identity.UI (8)
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (1)
58
if (!await _userManager.
GetTwoFactorEnabledAsync
(user))
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
66
var isTwoFactorEnabled = await _userManager.
GetTwoFactorEnabledAsync
(user);
83
var isTwoFactorEnabled = await _userManager.
GetTwoFactorEnabledAsync
(user);
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
85
Is2faEnabled = await _userManager.
GetTwoFactorEnabledAsync
(user);
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (1)
58
if (!await _userManager.
GetTwoFactorEnabledAsync
(user))
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
66
var isTwoFactorEnabled = await _userManager.
GetTwoFactorEnabledAsync
(user);
83
var isTwoFactorEnabled = await _userManager.
GetTwoFactorEnabledAsync
(user);
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
85
Is2faEnabled = await _userManager.
GetTwoFactorEnabledAsync
(user);