14 references to Strict
Microsoft.AspNetCore.Antiforgery (2)
AntiforgeryOptions.cs (2)
20SameSite = SameSiteMode.Strict, 48/// <item><description><see cref="CookieBuilder.SameSite"/> defaults to <see cref="SameSiteMode.Strict"/>.</description></item>
Microsoft.AspNetCore.Authentication.Test (1)
CookieTests.cs (1)
388o.Cookie.SameSite = SameSiteMode.Strict;
Microsoft.AspNetCore.CookiePolicy.Test (9)
CookieChunkingTests.cs (1)
32SameSite = Http.SameSiteMode.Strict,
CookieConsentTests.cs (5)
239options.MinimumSameSitePolicy = Http.SameSiteMode.Strict; 244Assert.Equal(Http.SameSiteMode.Strict, context.CookieOptions.SameSite); 418options.MinimumSameSitePolicy = Http.SameSiteMode.Strict; 597options.MinimumSameSitePolicy = Http.SameSiteMode.Strict; 602Assert.Equal(Http.SameSiteMode.Strict, context.CookieOptions.SameSite);
CookiePolicyTests.cs (3)
43context.Response.Cookies.Append("E", "E", new CookieOptions { SameSite = Http.SameSiteMode.Strict }); 163MinimumSameSitePolicy = Http.SameSiteMode.Strict 259context.Response.Cookies.Append("C", "C", new CookieOptions() { SameSite = Http.SameSiteMode.Strict });
Microsoft.AspNetCore.Http.Tests (1)
CookieOptionsTests.cs (1)
28SameSite = SameSiteMode.Strict,
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
CookieTempDataProviderOptions.cs (1)
41/// <see cref="SameSiteMode.Strict"/> may cause browsers to not send back the cookie to the server in an