1 type derived from UserLoginInfo
Microsoft.AspNetCore.Identity (1)
ExternalLoginInfo.cs (1)
12public class ExternalLoginInfo : UserLoginInfo
13 instantiations of UserLoginInfo
Identity.DefaultUI.WebSite (1)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (1)
191.Select(l => new UserLoginInfo(l.LoginProvider, l.ProviderKey, l.ProviderDisplayName)).ToList();
Microsoft.AspNetCore.Identity.EntityFrameworkCore (2)
UserOnlyStore.cs (1)
417.Select(l => new UserLoginInfo(l.LoginProvider, l.ProviderKey, l.ProviderDisplayName)).ToListAsync(cancellationToken);
UserStore.cs (1)
532.Select(l => new UserLoginInfo(l.LoginProvider, l.ProviderKey, l.ProviderDisplayName)).ToListAsync(cancellationToken);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (3)
SqlStoreOnlyUsersTestBase.cs (1)
146IdentityResultAssert.IsSuccess(await manager.AddLoginAsync(user, new UserLoginInfo("provider", user.Id.ToString(), "display")));
SqlStoreTestBase.cs (1)
248IdentityResultAssert.IsSuccess(await manager.AddLoginAsync(user, new UserLoginInfo("provider", user.Id.ToString(), "display")));
UserStoreEncryptPersonalDataTest.cs (1)
81var login = new UserLoginInfo("loginProvider", "<key>", "display");
Microsoft.AspNetCore.Identity.InMemory.Test (2)
ControllerTest.cs (1)
102IdentityResultAssert.IsSuccess(await userManager.AddLoginAsync(user, new UserLoginInfo(authScheme, externalId, "whatever")));
InMemoryUserStore.cs (1)
191.Select(l => new UserLoginInfo(l.LoginProvider, l.ProviderKey, l.ProviderDisplayName)).ToList();
Microsoft.AspNetCore.Identity.Specification.Tests (4)
UserManagerSpecificationTests.cs (4)
580IdentityResultAssert.IsSuccess(await manager.AddLoginAsync(user, new UserLoginInfo(provider, providerKey, display))); 600var login = new UserLoginInfo("Provider", userId, "display"); 640var login = new UserLoginInfo("Provider", userId, "display"); 901var login = new UserLoginInfo("Provider", "key", "display");
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1057async () => await manager.AddLoginAsync(null, new UserLoginInfo("", "", "")));
47 references to UserLoginInfo
Identity.DefaultUI.WebSite (3)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (3)
158public virtual Task AddLoginAsync(TUser user, UserLoginInfo login, 188public Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 190IList<UserLoginInfo> result = user.Logins
Identity.ExternalClaims (1)
Pages\Account\Manage\ExternalLogins.cshtml.cs (1)
29public IList<UserLoginInfo> CurrentLogins { get; set; }
IdentitySample.Mvc (2)
Models\ManageViewModels\IndexViewModel.cs (1)
12public IList<UserLoginInfo> Logins { get; set; }
Models\ManageViewModels\ManageLoginsViewModel.cs (1)
11public IList<UserLoginInfo> CurrentLogins { get; set; }
Microsoft.AspNetCore.Identity.EntityFrameworkCore (6)
UserOnlyStore.cs (3)
370public override Task AddLoginAsync(TUser user, UserLoginInfo login, 408/// The <see cref="Task"/> for the asynchronous operation, containing a list of <see cref="UserLoginInfo"/> for the specified <paramref name="user"/>, if any. 410public override async Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
UserStore.cs (3)
485public override Task AddLoginAsync(TUser user, UserLoginInfo login, 523/// The <see cref="Task"/> for the asynchronous operation, containing a list of <see cref="UserLoginInfo"/> for the specified <paramref name="user"/>, if any. 525public override async Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
UserStoreEncryptPersonalDataTest.cs (1)
81var login = new UserLoginInfo("loginProvider", "<key>", "display");
UserStoreWithGenericsTest.cs (1)
223protected override IdentityUserLoginWithContext CreateUserLogin(IdentityUserWithGenerics user, UserLoginInfo login)
Microsoft.AspNetCore.Identity.InMemory.Test (3)
InMemoryUserStore.cs (3)
158public virtual Task AddLoginAsync(TUser user, UserLoginInfo login, 188public Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 190IList<UserLoginInfo> result = user.Logins
Microsoft.AspNetCore.Identity.Specification.Tests (3)
UserManagerSpecificationTests.cs (3)
600var login = new UserLoginInfo("Provider", userId, "display"); 640var login = new UserLoginInfo("Provider", userId, "display"); 901var login = new UserLoginInfo("Provider", "key", "display");
Microsoft.AspNetCore.Identity.Test (6)
UserManagerTest.cs (6)
1298public Task AddLoginAsync(PocoUser user, UserLoginInfo login, CancellationToken cancellationToken = default(CancellationToken)) 1308public Task<IList<UserLoginInfo>> GetLoginsAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 1310return Task.FromResult<IList<UserLoginInfo>>(new List<UserLoginInfo>()); 1578public Task AddLoginAsync(PocoUser user, UserLoginInfo login, CancellationToken cancellationToken = default(CancellationToken)) 1588public Task<IList<UserLoginInfo>> GetLoginsAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
70foreach (var l in logins)
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
22public IList<UserLoginInfo>? CurrentLogins { get; set; }
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
70foreach (var l in logins)
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
22public IList<UserLoginInfo>? CurrentLogins { get; set; }
Microsoft.Extensions.Identity.Core (13)
IUserLoginStore.cs (5)
18/// Adds an external <see cref="UserLoginInfo"/> to the specified <paramref name="user"/>. 21/// <param name="login">The external <see cref="UserLoginInfo"/> to add to the specified <paramref name="user"/>.</param> 24Task AddLoginAsync(TUser user, UserLoginInfo login, CancellationToken cancellationToken); 43/// The <see cref="Task"/> for the asynchronous operation, containing a list of <see cref="UserLoginInfo"/> for the specified <paramref name="user"/>, if any. 45Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken);
UserLoginInfo.cs (3)
12/// Creates a new instance of <see cref="UserLoginInfo"/> 25/// Gets or sets the provider for this instance of <see cref="UserLoginInfo"/>. 27/// <value>The provider for the this instance of <see cref="UserLoginInfo"/></value>
UserManager.cs (5)
938/// Adds an external <see cref="UserLoginInfo"/> to the specified <paramref name="user"/>. 941/// <param name="login">The external <see cref="UserLoginInfo"/> to add to the specified <paramref name="user"/>.</param> 946public virtual async Task<IdentityResult> AddLoginAsync(TUser user, UserLoginInfo login) 968/// The <see cref="Task"/> for the asynchronous operation, containing a list of <see cref="UserLoginInfo"/> for the specified <paramref name="user"/>, if any. 970public virtual async Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user)
Microsoft.Extensions.Identity.Stores (4)
UserStoreBase.cs (4)
80protected virtual TUserLogin CreateUserLogin(TUser user, UserLoginInfo login) 395public abstract Task AddLoginAsync(TUser user, UserLoginInfo login, CancellationToken cancellationToken = default(CancellationToken)); 413/// The <see cref="Task"/> for the asynchronous operation, containing a list of <see cref="UserLoginInfo"/> for the specified <paramref name="user"/>, if any. 415public abstract Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken));