23 references to GetLoginsAsync
Identity.ExternalClaims (1)
Pages\Account\Manage\ExternalLogins.cshtml.cs (1)
46CurrentLogins = await _userManager.GetLoginsAsync(user);
IdentitySample.Mvc (2)
Controllers\ManageController.cs (2)
56Logins = await _userManager.GetLoginsAsync(user), 306var userLogins = await _userManager.GetLoginsAsync(user);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (8)
SqlStoreOnlyUsersTestBase.cs (4)
170Assert.Single((await manager.GetLoginsAsync(userById))); 185Assert.Single((await manager.GetLoginsAsync(userByName))); 200Assert.Single((await manager.GetLoginsAsync(userByLogin))); 216Assert.Single((await manager.GetLoginsAsync(userByEmail)));
SqlStoreTestBase.cs (4)
276Assert.Single((await manager.GetLoginsAsync(userById))); 291Assert.Single((await manager.GetLoginsAsync(userByName))); 306Assert.Single((await manager.GetLoginsAsync(userByLogin))); 333Assert.Single((await manager.GetLoginsAsync(userByEmail)));
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
562var logins = await manager.GetLoginsAsync(user); 581var logins = await manager.GetLoginsAsync(user); 605var logins = await manager.GetLoginsAsync(user); 644var logins = await manager.GetLoginsAsync(user); 653logins = await manager.GetLoginsAsync(user);
Microsoft.AspNetCore.Identity.Test (3)
UserManagerTest.cs (3)
754await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetLoginsAsync(null)); 1069async () => await manager.GetLoginsAsync(null)); 1159await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.GetLoginsAsync(null));
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
69var logins = await _userManager.GetLoginsAsync(user);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
92CurrentLogins = await _userManager.GetLoginsAsync(user);
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
69var logins = await _userManager.GetLoginsAsync(user);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
92CurrentLogins = await _userManager.GetLoginsAsync(user);