8 writes to AccessDeniedPath
Cookies (1)
Startup.cs (1)
38options.AccessDeniedPath = "/account/denied";
CustomPolicyProvider (1)
Startup.cs (1)
32options.AccessDeniedPath = "/account/denied";
Microsoft.AspNetCore.Authentication.Cookies (1)
PostConfigureCookieAuthenticationOptions.cs (1)
60options.AccessDeniedPath = CookieAuthenticationDefaults.AccessDeniedPath;
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (3)
59using var host = await CreateHost(o => o.AccessDeniedPath = "/denied"); 1454.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.AccessDeniedPath = new PathString("/denied")))) 1622.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.AccessDeniedPath = new PathString("/denied"))))
Microsoft.AspNetCore.Identity.UI (1)
IdentityDefaultUIConfigureOptions.cs (1)
57options.AccessDeniedPath = $"/{IdentityUIDefaultAreaName}/Account/AccessDenied";
PathSchemeSelection (1)
Startup.cs (1)
35options.AccessDeniedPath = "/account/denied";
2 references to AccessDeniedPath
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (1)
469var accessDeniedUri = Options.AccessDeniedPath + QueryString.Create(Options.ReturnUrlParameter, returnUrl);
PostConfigureCookieAuthenticationOptions.cs (1)
58if (!options.AccessDeniedPath.HasValue)