32 writes to LoginPath
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
820options.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)
56using var host = await CreateHost(o => o.LoginPath = "/login"); 188o.LoginPath = new PathString("/login"); 315o.LoginPath = new PathString("/login"); 358o.LoginPath = new PathString("/login"); 371o.LoginPath = new PathString("/login"); 393o.LoginPath = new PathString("/login"); 1259o.LoginPath = new PathString("/page"); 1275o.LoginPath = new PathString("/page"); 1302.ConfigureServices(s => s.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/page")))) 1415.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/login")))) 1437.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/login")))) 1536.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/page")))) 1559o.LoginPath = loginPath; 1581o.LoginPath = "/loginpath"; 1603o.LoginPath = "/testpath"; 1626o.LoginPath = "/testpath"; 1648o.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";
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)