78 references to PocoUser
Microsoft.AspNetCore.Identity.Test (78)
SignInManagerTest.cs (33)
34var user = new PocoUser { UserName = "Foo" }; 64var user = new PocoUser { UserName = "Foo" }; 121var user = new PocoUser { UserName = "Foo" }; 144var user = new PocoUser { UserName = "Foo" }; 168var user = new PocoUser { UserName = "Foo" }; 196var user = new PocoUser { UserName = "Foo" }; 240var user = new PocoUser { UserName = "Foo" }; 266var user = new PocoUser { UserName = "Foo" }; 303var user = new PocoUser { UserName = "Foo" }; 358var user = new PocoUser { UserName = "Foo" }; 399var user = new PocoUser { UserName = "Foo" }; 432var user = new PocoUser { UserName = "Foo" }; 479var user = new PocoUser { UserName = "Foo" }; 516var user = new PocoUser { UserName = "Foo" }; 565var user = new PocoUser { UserName = "Foo" }; 604var user = new PocoUser { UserName = "Foo" }; 657var user = new PocoUser { UserName = "Foo" }; 716var user = new PocoUser { UserName = "Foo" }; 751var user = new PocoUser { UserName = "Foo" }; 777var user = new PocoUser { UserName = "Foo" }; 835var user = new PocoUser { UserName = "Foo" }; 878var user = new PocoUser { UserName = "Foo" }; 905var user = new PocoUser { UserName = "Foo" }; 934var user = new PocoUser { UserName = "Foo" }; 992var user = new PocoUser { UserName = "Foo" }; 1033var user = new PocoUser { Id = "foo", UserName = "Foo" }; 1064var user = new PocoUser { Id = "foo", UserName = "Foo" }; 1095var user = new PocoUser { Id = "foo", UserName = "Foo" }; 1139var user = new PocoUser { UserName = "Foo" }; 1162var user = new PocoUser { UserName = "Foo" }; 1187var user = new PocoUser { UserName = "Foo" }; 1226var user = new PocoUser { UserName = "Foo" }; 1252var user = new PocoUser { UserName = "Foo" };
src\Identity\test\Shared\PocoModel\PocoUser.cs (1)
23public PocoUser(string userName) : this()
UserClaimsPrincipalFactoryTest.cs (1)
45var user = new PocoUser { UserName = "Foo", Email = "foo@bar.com" };
UserManagerTest.cs (40)
68var user = new PocoUser { UserName = "Foo" }; 87var user = new PocoUser { UserName = "Foo", SecurityStamp = "sssss" }; 107var user = new PocoUser { UserName = "Foo", Email = "Foo@foo.com" }; 128var user = new PocoUser { UserName = "Foo" }; 146var user = new PocoUser { UserName = "Foo" }; 166var user = new PocoUser { UserName = "Foo", Email = "email" }; 188var user = new PocoUser(); 208var user = new PocoUser { UserName = "Foo" }; 226var user = new PocoUser { UserName = "Foo" }; 243var user = new PocoUser { UserName = "Foo" }; 262var user = new PocoUser { Email = "Foo" }; 279var user = new PocoUser { Email = "Foo" }; 303var user = new PocoUser { Email = "Foo" }; 321var user = new PocoUser { UserName = "Foo", Email = "Bar" }; 340var user = new PocoUser { UserName = "Foo" }; 378var user = new PocoUser { UserName = "Foo" }; 418var user = new PocoUser { UserName = "Foo" }; 442var user = new PocoUser { UserName = "Foo" }; 479var user = new PocoUser { UserName = "Foo" }; 505var user = new PocoUser { UserName = "Foo" }; 526var user = new PocoUser { UserName = "Foo" }; 547var user = new PocoUser { UserName = "Foo" }; 570var user = new PocoUser { UserName = "Foo" }; 601var user = new PocoUser { UserName = "nulldude" }; 618var user = new PocoUser { UserName = "nulldude" }; 634var user = new PocoUser { UserName = "Foo" }; 655var user = new PocoUser { UserName = "Foo" }; 712var user = new PocoUser(); 742() => manager.VerifyChangePhoneNumberTokenAsync(new PocoUser(), "1", "111-111-1111")); 744() => manager.GenerateChangePhoneNumberTokenAsync(new PocoUser(), "111-111-1111")); 801await Assert.ThrowsAsync<NotImplementedException>(() => manager.GenerateUserTokenAsync(new PocoUser(), "A", "purpose")); 898await Assert.ThrowsAsync<NotImplementedException>(() => manager.GenerateUserTokenAsync(new PocoUser(), TokenOptions.DefaultProvider, "purpose")); 988IdentityResultAssert.IsFailure(await manager.CreateAsync(new PocoUser(), "password"), 998IdentityResultAssert.IsFailure(await manager.CreateAsync(new PocoUser(), "password")); 1004var user = new PocoUser() { UserName = Guid.NewGuid().ToString() }; 1027async () => await manager.CreateAsync(new PocoUser(), null)); 1041await Assert.ThrowsAsync<ArgumentNullException>("roles", async () => await manager.AddToRolesAsync(new PocoUser(), null)); 1042await Assert.ThrowsAsync<ArgumentNullException>("roles", async () => await manager.RemoveFromRolesAsync(new PocoUser(), null)); 1757var user = new PocoUser() { UserName = "dupeEmail", Email = "dupe@email.com" }; 1758var user2 = new PocoUser() { UserName = "dupeEmail2", Email = "dupe@email.com" };
UserValidatorTest.cs (3)
29var user = new PocoUser { UserName = input }; 51var user = new PocoUser { UserName = userName }; 79var user = new PocoUser { UserName = userName };