1 write to _userManager
Identity.ExternalClaims (1)
Pages\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
27
_userManager
= userManager;
5 references to _userManager
Identity.ExternalClaims (5)
Pages\Account\Manage\TwoFactorAuthentication.cshtml.cs (5)
41
var user = await
_userManager
.GetUserAsync(User);
44
throw new ApplicationException($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
47
HasAuthenticator = await
_userManager
.GetAuthenticatorKeyAsync(user) != null;
48
Is2faEnabled = await
_userManager
.GetTwoFactorEnabledAsync(user);
49
RecoveryCodesLeft = await
_userManager
.CountRecoveryCodesAsync(user);