38 references to GetUserIdAsync
Microsoft.AspNetCore.Identity (8)
DataProtectorTokenProvider.cs (2)
80var userId = await manager.GetUserIdAsync(user); 125var actualUserId = await manager.GetUserIdAsync(user);
IdentityApiEndpointRouteBuilderExtensions.cs (1)
402var userId = await userManager.GetUserIdAsync(user);
PasskeyHandler.cs (1)
125var userId = user is not null ? await _userManager.GetUserIdAsync(user).ConfigureAwait(false) : null;
SignInManager.cs (4)
202var newUserId = await UserManager.GetUserIdAsync(user); 753var userId = await UserManager.GetUserIdAsync(user); 1190var userId = await UserManager.GetUserIdAsync(user); 1239var userId = await UserManager.GetUserIdAsync(user);
Microsoft.AspNetCore.Identity.UI (24)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
199var 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)
139var userId = await _userManager.GetUserIdAsync(user); 171var 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)
139var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
75var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
86var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
199var 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)
139var userId = await _userManager.GetUserIdAsync(user); 171var 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)
139var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
75var userId = await _userManager.GetUserIdAsync(user);
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
86var userId = await _userManager.GetUserIdAsync(user);
Microsoft.Extensions.Identity.Core (6)
TotpSecurityStampBasedTokenProvider.cs (1)
86var userId = await manager.GetUserIdAsync(user).ConfigureAwait(false);
UserClaimsPrincipalFactory.cs (1)
73var 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)))