24 references to IsRedirect
Microsoft.AspNetCore.Identity.FunctionalTests (24)
AuthorizationTests.cs (1)
50var location = ResponseAssert.IsRedirect(response);
Pages\Account\ExternalLogin.cs (2)
33var redirect = ResponseAssert.IsRedirect(response); 45var redirect = ResponseAssert.IsRedirect(response);
Pages\Account\ForgotPassword.cs (1)
24var goToForgotPasswordConfirmation = ResponseAssert.IsRedirect(response);
Pages\Account\Login.cs (4)
38var goToContosoLogin = ResponseAssert.IsRedirect(externalFormResponse); 66var loggedInLocation = ResponseAssert.IsRedirect(loggedIn); 89var lockedOut = ResponseAssert.IsRedirect(loginAttempt); 110var loggedInLocation = ResponseAssert.IsRedirect(loggedIn);
Pages\Account\LoginWith2fa.cs (1)
33var goToIndex = ResponseAssert.IsRedirect(response);
Pages\Account\LoginWithRecoveryCode.cs (1)
26var goToIndex = ResponseAssert.IsRedirect(response);
Pages\Account\Manage\DeleteUser.cs (1)
23var deleteLocation = ResponseAssert.IsRedirect(loggedIn);
Pages\Account\Manage\Email.cs (2)
39var goToManage = ResponseAssert.IsRedirect(response); 52var goToManage = ResponseAssert.IsRedirect(response);
Pages\Account\Manage\EnableAuthenticator.cs (1)
39var goToShowRecoveryCodes = ResponseAssert.IsRedirect(sendCodeResponse);
Pages\Account\Manage\Index.cs (1)
77var goToSetPassword = ResponseAssert.IsRedirect(response);
Pages\Account\Manage\LinkExternalLogin.cs (1)
25var goToLinkExternalLogin = ResponseAssert.IsRedirect(linkExternalLogin);
Pages\Account\Manage\ManageExternalLogin.cs (2)
26var goToLinkedExternalLogin = ResponseAssert.IsRedirect(linkedExternalLogin); 28var goToManageExternalLogin = ResponseAssert.IsRedirect(externalLoginResponse);
Pages\Account\Register.cs (3)
29var goToContosoLogin = ResponseAssert.IsRedirect(externalFormResponse); 46var registeredLocation = ResponseAssert.IsRedirect(registered); 63var registeredLocation = ResponseAssert.IsRedirect(registered);
Pages\Account\ResetPassword.cs (1)
35var goToResetPasswordConfirmation = ResponseAssert.IsRedirect(resetPasswordResponse);
Pages\Contoso\Login.cs (2)
41var goToExternalLogin = ResponseAssert.IsRedirect(contosoResponse); 45var goToIndex = ResponseAssert.IsRedirect(externalLogInResponse);