10 writes to HttpOnly
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
263options.HttpOnly = true;
Microsoft.AspNetCore.CookiePolicy.Test (3)
CookieChunkingTests.cs (1)
31HttpOnly = true,
CookiePolicyTests.cs (2)
32context.Response.Cookies.Append("B", "B", new CookieOptions { HttpOnly = false }); 34context.Response.Cookies.Append("D", "D", new CookieOptions { HttpOnly = true });
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
113HttpOnly = HttpOnly,
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
42HttpOnly = options.HttpOnly;
Microsoft.AspNetCore.Http.Tests (2)
CookieOptionsTests.cs (1)
23HttpOnly = true,
ResponseCookiesTest.cs (1)
186HttpOnly = true,
Microsoft.AspNetCore.Rewrite (2)
UrlActions\ChangeCookieAction.cs (2)
49HttpOnly = HttpOnly, 61HttpOnly = HttpOnly,
11 references to HttpOnly
Microsoft.AspNetCore.Antiforgery.Test (4)
DefaultAntiforgeryTokenStoreTest.cs (4)
389Assert.True(cookies.Options!.HttpOnly); 428Assert.True(cookies.Options!.HttpOnly); 468Assert.True(cookies.Options!.HttpOnly); 507Assert.True(cookies.Options!.HttpOnly);
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
261if (!options.HttpOnly)
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
48/// Determines the value that will be set on <see cref="CookieOptions.HttpOnly"/>.
Microsoft.AspNetCore.Http.Features (2)
CookieOptions.cs (2)
42HttpOnly = options.HttpOnly; 119HttpOnly = HttpOnly,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
CookieTempDataProviderTest.cs (3)
176Assert.True(cookieInfo.Options.HttpOnly); 211Assert.True(cookieInfo.Options.HttpOnly); 261Assert.True(cookieInfo.Options.HttpOnly);