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