53 references to Password
Microsoft.AspNetCore.Identity.FunctionalTests (53)
MapIdentityApiTests.cs (53)
46AssertOkAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Email, Password }));
55AssertBadRequestAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Password }));
65await AssertValidationProblemAsync(await client.PostAsJsonAsync("/identity/register", new { Email = "invalid", Password }),
76AssertOkAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Email, Password }));
77await AssertValidationProblemAsync(await client.PostAsJsonAsync("/identity/register", new { Email, Password }),
87await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
110var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
143var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
180var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
211var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password });
236=> client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password }));
259var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
295var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
340var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
447await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
474AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
549await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
562AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
670var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
715await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
718AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, twoFactorCode }));
728var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
752await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
755var recoveryLoginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] });
769AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
780var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
827var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
850await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
853AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }));
855await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }),
858var recoveryLoginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[1] });
882AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] }));
885await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }),
896var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password });
916await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
920var sessionLoginResponse = await client.PostAsJsonAsync("/identity/login?useSessionCookies=true", new { Email, Password, twoFactorCode });
929var sessionLoginResponse2 = await client.PostAsJsonAsync("/identity/login?useCookies=true&useSessionCookies=true", new { Email, Password, twoFactorCode });
938var persistentLoginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password, twoFactorCode });
987var newPassword = $"{Password}!";
1010await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }),
1068await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }),
1132var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password });
1182var secondLoginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email = newEmail, Password });
1203var newPassword = $"{Password}!";
1207AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword }));
1212await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1238var newPassword = $"{Password}!";
1247var infoPostResponse = await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword, newEmail });
1258await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1385AssertOkAndEmpty(await client.PostAsJsonAsync($"{groupPrefix}/register", new { email, Password }));
1393await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password });
1394var loginResponse = await client.PostAsJsonAsync("/identity/login", new { email, Password });
1415await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),