18 references to RedirectToPage
Identity.ExternalClaims (1)
Pages\Account\Login.cshtml.cs (1)
84
return
RedirectToPage
("./LoginWith2fa", new { ReturnUrl = returnUrl, RememberMe = Input.RememberMe });
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
106
return
RedirectToPage
("RegisterConfirmation", new { email = Input.Email });
Microsoft.AspNetCore.Identity.UI (12)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (4)
131
return
RedirectToPage
("./Login", new { ReturnUrl = returnUrl });
137
return
RedirectToPage
("./Login", new { ReturnUrl = returnUrl });
178
return
RedirectToPage
("./Login", new { ReturnUrl = returnUrl });
213
return
RedirectToPage
("./RegisterConfirmation", new { Email = Input.Email });
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
138
return
RedirectToPage
("./LoginWith2fa", new { ReturnUrl = returnUrl, RememberMe = Input.RememberMe });
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
152
return
RedirectToPage
("RegisterConfirmation", new { email = Input.Email, returnUrl = returnUrl });
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (4)
131
return
RedirectToPage
("./Login", new { ReturnUrl = returnUrl });
137
return
RedirectToPage
("./Login", new { ReturnUrl = returnUrl });
178
return
RedirectToPage
("./Login", new { ReturnUrl = returnUrl });
213
return
RedirectToPage
("./RegisterConfirmation", new { Email = Input.Email });
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
138
return
RedirectToPage
("./LoginWith2fa", new { ReturnUrl = returnUrl, RememberMe = Input.RememberMe });
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
152
return
RedirectToPage
("RegisterConfirmation", new { email = Input.Email, returnUrl = returnUrl });
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageModel.cs (2)
1266
=>
RedirectToPage
(pageName: null, routeValues: routeValues);
1274
=>
RedirectToPage
(pageName, routeValues: null);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageModelTest.cs (1)
1036
var result = pageModel.
RedirectToPage
(pageName, routeValues);
RazorPagesWebSite (1)
Pages\Redirects\RedirectFromModel.cs (1)
11
public IActionResult OnGet() =>
RedirectToPage
("/Pages/Redirects/Redirect", new { id = 12 });