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