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