1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
79
_userManager
= userManager;
11 references to _userManager
Microsoft.AspNetCore.Identity.UI (11)
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (11)
86
var user = await
_userManager
.GetUserAsync(User);
89
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
92
CurrentLogins = await
_userManager
.GetLoginsAsync(user);
109
var user = await
_userManager
.GetUserAsync(User);
112
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
115
var result = await
_userManager
.RemoveLoginAsync(user, loginProvider, providerKey);
134
var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl,
_userManager
.GetUserId(User));
140
var user = await
_userManager
.GetUserAsync(User);
143
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
146
var userId = await
_userManager
.GetUserIdAsync(user);
153
var result = await
_userManager
.AddLoginAsync(user, info);