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