15 writes to SameSite
Microsoft.AspNetCore.Http.Features (1)
Microsoft.Net.Http.Headers (5)
Microsoft.Net.Http.Headers.Tests (9)
27 references to SameSite
Microsoft.AspNetCore.Authentication.Test (2)
Microsoft.AspNetCore.CookiePolicy.Test (16)
CookieConsentTests.cs (16)
224Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, consentCookie.SameSite);
229Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, testCookie.SameSite);
272Assert.Equal(Net.Http.Headers.SameSiteMode.Strict, consentCookie.SameSite);
403Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, testCookie.SameSite);
408Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, consentCookie.SameSite);
450Assert.Equal(Net.Http.Headers.SameSiteMode.Strict, consentCookie.SameSite);
515Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, testCookie.SameSite);
579Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, consentCookie.SameSite);
587Assert.Equal(consentCookie.SameSite, manualCookie.SameSite);
632Assert.Equal(Net.Http.Headers.SameSiteMode.Strict, consentCookie.SameSite);
640Assert.Equal(consentCookie.SameSite, manualCookie.SameSite);
677Assert.Equal(Net.Http.Headers.SameSiteMode.Unspecified, consentCookie.SameSite);
685Assert.Equal(consentCookie.SameSite, manualCookie.SameSite);
Microsoft.Net.Http.Headers (9)