55 references to Password
Microsoft.AspNetCore.Identity.FunctionalTests (55)
MapIdentityApiTests.cs (55)
49AssertOkAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Email, Password }));
58AssertBadRequestAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Password }));
68await AssertValidationProblemAsync(await client.PostAsJsonAsync("/identity/register", new { Email = "invalid", Password }),
79AssertOkAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Email, Password }));
80await AssertValidationProblemAsync(await client.PostAsJsonAsync("/identity/register", new { Email, Password }),
90await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
113var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
146var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
183var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
214var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password });
239=> client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password }));
262var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
298var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
343var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
450await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
477AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
552await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
565AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
673var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
718await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
721AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, twoFactorCode }));
731var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
755await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
758var recoveryLoginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] });
772AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
783var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
830var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password });
853await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
856AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }));
858await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }),
861var recoveryLoginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[1] });
885AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] }));
888await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }),
899var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password });
919await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
923var sessionLoginResponse = await client.PostAsJsonAsync("/identity/login?useSessionCookies=true", new { Email, Password, twoFactorCode });
932var sessionLoginResponse2 = await client.PostAsJsonAsync("/identity/login?useCookies=true&useSessionCookies=true", new { Email, Password, twoFactorCode });
941var persistentLoginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password, twoFactorCode });
990var newPassword = $"{Password}!";
1013await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }),
1071await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }),
1135var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password });
1185var secondLoginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email = newEmail, Password });
1206var newPassword = $"{Password}!";
1210AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword }));
1215await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1241var newPassword = $"{Password}!";
1250var infoPostResponse = await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword, newEmail });
1261await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1296AssertOkAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Email, Password }));
1305AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
1426AssertOkAndEmpty(await client.PostAsJsonAsync($"{groupPrefix}/register", new { email, Password }));
1434await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password });
1435var loginResponse = await client.PostAsJsonAsync("/identity/login", new { email, Password });
1456await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),