35 references to GetUserIdAsync
Microsoft.AspNetCore.Identity (5)
DataProtectorTokenProvider.cs (2)
80var userId = await manager.GetUserIdAsync(user); 125var actualUserId = await manager.GetUserIdAsync(user);
SignInManager.cs (3)
403var userId = await UserManager.GetUserIdAsync(user); 733var userId = await UserManager.GetUserIdAsync(user); 772var userId = await UserManager.GetUserIdAsync(user);
Microsoft.AspNetCore.Identity.UI (24)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
194var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
128await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
111await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
106await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (2)
140var userId = await _userManager.GetUserIdAsync(user); 175var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
144await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
146var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (1)
74await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
140var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
76var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
87var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
194var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
128await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
111await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (1)
106await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (2)
140var userId = await _userManager.GetUserIdAsync(user); 175var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
144await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
146var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (1)
74await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
140var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
76var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
87var userId = await _userManager.GetUserIdAsync(user);
Microsoft.Extensions.Identity.Core (6)
TotpSecurityStampBasedTokenProvider.cs (1)
86var userId = await manager.GetUserIdAsync(user).ConfigureAwait(false);
UserClaimsPrincipalFactory.cs (1)
72var userId = await UserManager.GetUserIdAsync(user).ConfigureAwait(false);
UserValidator.cs (4)
71!string.Equals(await manager.GetUserIdAsync(owner).ConfigureAwait(false), await manager.GetUserIdAsync(user).ConfigureAwait(false))) 99!string.Equals(await manager.GetUserIdAsync(owner).ConfigureAwait(false), await manager.GetUserIdAsync(user).ConfigureAwait(false)))