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