1 write to _userManager
Identity.ExternalClaims (1)
Pages\Account\Manage\ResetAuthenticator.cshtml.cs (1)
25
_userManager
= userManager;
6 references to _userManager
Identity.ExternalClaims (6)
Pages\Account\Manage\ResetAuthenticator.cshtml.cs (6)
30
var user = await
_userManager
.GetUserAsync(User);
33
throw new ApplicationException($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
41
var user = await
_userManager
.GetUserAsync(User);
44
throw new ApplicationException($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
47
await
_userManager
.SetTwoFactorEnabledAsync(user, false);
48
await
_userManager
.ResetAuthenticatorKeyAsync(user);