36 writes to LoginPath
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
725
options.
LoginPath
= "/login";
ClaimsTransformation (1)
Startup.cs (1)
34
.AddCookie(options => options.
LoginPath
= "/account/login");
Cookies (1)
Startup.cs (1)
39
options.
LoginPath
= "/account/login";
CustomPolicyProvider (1)
Startup.cs (1)
33
options.
LoginPath
= "/account/signin";
Microsoft.AspNetCore.Authentication.Cookies (1)
PostConfigureCookieAuthenticationOptions.cs (1)
52
options.
LoginPath
= CookieAuthenticationDefaults.LoginPath;
Microsoft.AspNetCore.Authentication.Test (17)
CookieTests.cs (17)
47
using var host = await CreateHost(o => o.
LoginPath
= "/login");
131
o.
LoginPath
= new PathString("/login");
258
o.
LoginPath
= new PathString("/login");
301
o.
LoginPath
= new PathString("/login");
314
o.
LoginPath
= new PathString("/login");
336
o.
LoginPath
= new PathString("/login");
1202
o.
LoginPath
= new PathString("/page");
1218
o.
LoginPath
= new PathString("/page");
1245
.ConfigureServices(s => s.AddAuthentication().AddCookie(o => o.
LoginPath
= new PathString("/page"))))
1358
.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.
LoginPath
= new PathString("/login"))))
1380
.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.
LoginPath
= new PathString("/login"))))
1479
.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.
LoginPath
= new PathString("/page"))))
1502
o.
LoginPath
= loginPath;
1524
o.
LoginPath
= "/loginpath";
1546
o.
LoginPath
= "/testpath";
1569
o.
LoginPath
= "/testpath";
1591
o.
LoginPath
= "/testpath";
Microsoft.AspNetCore.Identity (2)
IdentityCookiesBuilderExtensions.cs (1)
51
o.
LoginPath
= new PathString("/Account/Login");
IdentityServiceCollectionExtensions.cs (1)
61
o.
LoginPath
= new PathString("/Account/Login");
Microsoft.AspNetCore.Identity.UI (1)
IdentityDefaultUIConfigureOptions.cs (1)
55
options.
LoginPath
= $"/{IdentityUIDefaultAreaName}/Account/Login";
PathSchemeSelection (1)
Startup.cs (1)
36
options.
LoginPath
= "/account/login";
RazorPagesWebSite (4)
Startup.cs (1)
13
.AddCookie(options => options.
LoginPath
= "/Login");
StartupWithBasePath.cs (1)
21
.AddCookie(options => options.
LoginPath
= "/Login");
StartupWithClientValidationDisabled.cs (1)
14
.AddCookie(options => options.
LoginPath
= "/Login");
StartupWithoutEndpointRouting.cs (1)
14
services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(options => options.
LoginPath
= "/Login");
SecurityWebSite (5)
Startup.cs (1)
19
options.
LoginPath
= "/Home/Login";
StartupWithGlobalDenyAnonymousFilter.cs (1)
18
options.
LoginPath
= "/Home/Login";
StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs (1)
18
options.
LoginPath
= "/Home/Login";
StartupWithRequireAuth.cs (1)
19
options.
LoginPath
= "/Home/Login";
StartupWithUseMvc.cs (1)
19
options.
LoginPath
= "/Home/Login";
SocialSample (1)
Startup.cs (1)
42
.AddCookie(o => o.
LoginPath
= new PathString("/login"))
4 references to LoginPath
Microsoft.AspNetCore.Authentication.Cookies (4)
CookieAuthenticationHandler.cs (3)
374
var shouldHonorReturnUrlParameter = Options.
LoginPath
.HasValue && OriginalPath == Options.
LoginPath
;
483
var loginUri = Options.
LoginPath
+ QueryString.Create(Options.ReturnUrlParameter, redirectUri);
PostConfigureCookieAuthenticationOptions.cs (1)
50
if (!options.
LoginPath
.HasValue)