20 references to GetUserNameAsync
Microsoft.AspNetCore.Identity.Specification.Tests (12)
UserManagerSpecificationTests.cs (12)
671
var username = await manager.
GetUserNameAsync
(user);
1500
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
1504
var newEmail = await manager.
GetUserNameAsync
(user) + "@en.vec";
1522
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
1526
var newEmail = await manager.
GetUserNameAsync
(user) + "@en.vec";
1549
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
1553
var newEmail = await manager.
GetUserNameAsync
(user) + "@en.vec";
1571
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
1575
var newEmail = await manager.
GetUserNameAsync
(user) + "@en.vec";
1594
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
1617
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
1642
var email = await manager.
GetUserNameAsync
(user) + "@diddly.bop";
Microsoft.AspNetCore.Identity.Test (3)
SignInManagerTest.cs (1)
96
manager.Setup(m => m.
GetUserNameAsync
(user)).ReturnsAsync(user.UserName);
UserClaimsPrincipalFactoryTest.cs (1)
50
userManager.Setup(m => m.
GetUserNameAsync
(user)).ReturnsAsync(user.UserName);
UserManagerTest.cs (1)
1051
async () => await manager.
GetUserNameAsync
(null));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
80
var userName = await _userManager.
GetUserNameAsync
(user);
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
80
var userName = await _userManager.
GetUserNameAsync
(user);
Microsoft.Extensions.Identity.Core (3)
UserClaimsPrincipalFactory.cs (1)
74
var userName = await UserManager.
GetUserNameAsync
(user).ConfigureAwait(false);
UserManager.cs (1)
622
var normalizedName = NormalizeName(await
GetUserNameAsync
(user).ConfigureAwait(false));
UserValidator.cs (1)
55
var userName = await manager.
GetUserNameAsync
(user).ConfigureAwait(false);