56 references to Url
Identity.ExternalClaims (11)
Pages\Account\ExternalLogin.cshtml.cs (3)
58var redirectUrl = Url.Page("./ExternalLogin", pageHandler: "Callback", values: new { returnUrl }); 87return LocalRedirect(Url.GetLocalUrl(returnUrl)); 135return LocalRedirect(Url.GetLocalUrl(returnUrl));
Pages\Account\ForgotPassword.cshtml.cs (1)
51var callbackUrl = Url.ResetPasswordCallbackLink(user.Id, code, Request.Scheme);
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\Manage\ExternalLogins.cshtml.cs (1)
79var redirectUrl = Url.Page("./ExternalLogins", pageHandler: "LinkLoginCallback");
Pages\Account\Manage\Index.cshtml.cs (1)
124var callbackUrl = Url.EmailConfirmationLink(user.Id, code, Request.Scheme);
Pages\Account\Register.cshtml.cs (2)
78var callbackUrl = Url.EmailConfirmationLink(user.Id, code, Request.Scheme); 82return LocalRedirect(Url.GetLocalUrl(returnUrl));
IdentitySample.DefaultUI (2)
Areas\Identity\Pages\Account\Register.cshtml.cs (2)
78returnUrl = returnUrl ?? Url.Content("~/"); 96var callbackUrl = Url.Page(
Microsoft.AspNetCore.Identity.UI (34)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (4)
120var redirectUrl = Url.Page("./ExternalLogin", pageHandler: "Callback", values: new { returnUrl }); 127returnUrl = returnUrl ?? Url.Content("~/"); 172returnUrl = returnUrl ?? Url.Content("~/"); 202var callbackUrl = Url.Page(
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
77var callbackUrl = Url.Page(
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (2)
110returnUrl ??= Url.Content("~/"); 122returnUrl ??= Url.Content("~/");
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
116returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
116return LocalRedirect(returnUrl ?? Url.Content("~/"));
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (2)
142var callbackUrl = Url.Page( 175var callbackUrl = Url.Page(
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
133var redirectUrl = Url.Page("./ExternalLogins", pageHandler: "LinkLoginCallback");
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (2)
125returnUrl ??= Url.Content("~/"); 142var callbackUrl = Url.Page(
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (2)
62returnUrl = returnUrl ?? Url.Content("~/"); 78EmailConfirmationUrl = Url.Page(
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
89var callbackUrl = Url.Page(
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (4)
120var redirectUrl = Url.Page("./ExternalLogin", pageHandler: "Callback", values: new { returnUrl }); 127returnUrl = returnUrl ?? Url.Content("~/"); 172returnUrl = returnUrl ?? Url.Content("~/"); 202var callbackUrl = Url.Page(
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
77var callbackUrl = Url.Page(
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (2)
110returnUrl ??= Url.Content("~/"); 122returnUrl ??= Url.Content("~/");
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
116returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
116return LocalRedirect(returnUrl ?? Url.Content("~/"));
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (2)
142var callbackUrl = Url.Page( 175var callbackUrl = Url.Page(
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
133var redirectUrl = Url.Page("./ExternalLogins", pageHandler: "LinkLoginCallback");
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (2)
125returnUrl ??= Url.Content("~/"); 142var callbackUrl = Url.Page(
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (2)
62returnUrl = returnUrl ?? Url.Content("~/"); 78EmailConfirmationUrl = Url.Page(
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
89var callbackUrl = Url.Page(
Microsoft.AspNetCore.Mvc.RazorPages (8)
PageModel.cs (8)
938UrlHelper = Url, 967UrlHelper = Url, 1055UrlHelper = Url, 1084UrlHelper = Url, 1139UrlHelper = Url, 1164UrlHelper = Url, 1224UrlHelper = Url, 1249UrlHelper = Url,
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageModelTest.cs (1)
1807Assert.Same(urlHelper, pageModel.Url);