23 references to LocalRedirect
Identity.ExternalClaims (6)
Pages\Account\ExternalLogin.cshtml.cs (2)
87return LocalRedirect(Url.GetLocalUrl(returnUrl)); 135return LocalRedirect(Url.GetLocalUrl(returnUrl));
Pages\Account\Login.cshtml.cs (1)
80return LocalRedirect(Url.GetLocalUrl(returnUrl));
Pages\Account\LoginWith2fa.cshtml.cs (1)
83return LocalRedirect(Url.GetLocalUrl(returnUrl));
Pages\Account\LoginWithRecoveryCode.cshtml.cs (1)
76return LocalRedirect(Url.GetLocalUrl(returnUrl));
Pages\Account\Register.cshtml.cs (1)
82return LocalRedirect(Url.GetLocalUrl(returnUrl));
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
111return LocalRedirect(returnUrl);
Microsoft.AspNetCore.Identity.UI (14)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (2)
148return LocalRedirect(returnUrl); 217return LocalRedirect(returnUrl);
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
134return LocalRedirect(returnUrl);
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
133return LocalRedirect(returnUrl);
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
116return LocalRedirect(returnUrl ?? Url.Content("~/"));
Areas\Identity\Pages\V4\Account\Logout.cshtml.cs (1)
51return LocalRedirect(returnUrl);
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
157return LocalRedirect(returnUrl);
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (2)
148return LocalRedirect(returnUrl); 217return LocalRedirect(returnUrl);
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
134return LocalRedirect(returnUrl);
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
133return LocalRedirect(returnUrl);
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
116return LocalRedirect(returnUrl ?? Url.Content("~/"));
Areas\Identity\Pages\V5\Account\Logout.cshtml.cs (1)
51return LocalRedirect(returnUrl);
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
157return LocalRedirect(returnUrl);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
PageModelTest.cs (2)
137var result = pageModel.LocalRedirect(url); 207() => pageModel.LocalRedirect(localUrl: url),