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 })); 782var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password }); 829var loginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password }); 852await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }), 855AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] })); 857await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }), 860var recoveryLoginResponse = await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[1] }); 884AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] })); 887await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }), 898var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password }); 918await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }), 922var sessionLoginResponse = await client.PostAsJsonAsync("/identity/login?useSessionCookies=true", new { Email, Password, twoFactorCode }); 931var sessionLoginResponse2 = await client.PostAsJsonAsync("/identity/login?useCookies=true&useSessionCookies=true", new { Email, Password, twoFactorCode }); 940var persistentLoginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password, twoFactorCode }); 989var newPassword = $"{Password}!"; 1012await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }), 1070await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }), 1134var loginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email, Password }); 1184var secondLoginResponse = await client.PostAsJsonAsync("/identity/login?useCookies=true", new { Email = newEmail, Password }); 1205var newPassword = $"{Password}!"; 1209AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword })); 1214await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }), 1240var newPassword = $"{Password}!"; 1249var infoPostResponse = await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword, newEmail }); 1260await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }), 1295AssertOkAndEmpty(await client.PostAsJsonAsync("/identity/register", new { Email, Password })); 1304AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password })); 1425AssertOkAndEmpty(await client.PostAsJsonAsync($"{groupPrefix}/register", new { email, Password })); 1433await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }); 1434var loginResponse = await client.PostAsJsonAsync("/identity/login", new { email, Password }); 1455await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),