14 references to Strict
Microsoft.AspNetCore.Antiforgery (2)
AntiforgeryOptions.cs (2)
20
SameSite = 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)
388
o.Cookie.SameSite = SameSiteMode.
Strict
;
Microsoft.AspNetCore.CookiePolicy.Test (9)
CookieChunkingTests.cs (1)
32
SameSite = Http.SameSiteMode.
Strict
,
CookieConsentTests.cs (5)
239
options.MinimumSameSitePolicy = Http.SameSiteMode.
Strict
;
244
Assert.Equal(Http.SameSiteMode.
Strict
, context.CookieOptions.SameSite);
418
options.MinimumSameSitePolicy = Http.SameSiteMode.
Strict
;
597
options.MinimumSameSitePolicy = Http.SameSiteMode.
Strict
;
602
Assert.Equal(Http.SameSiteMode.
Strict
, context.CookieOptions.SameSite);
CookiePolicyTests.cs (3)
43
context.Response.Cookies.Append("E", "E", new CookieOptions { SameSite = Http.SameSiteMode.
Strict
});
163
MinimumSameSitePolicy = Http.SameSiteMode.
Strict
259
context.Response.Cookies.Append("C", "C", new CookieOptions() { SameSite = Http.SameSiteMode.
Strict
});
Microsoft.AspNetCore.Http.Tests (1)
CookieOptionsTests.cs (1)
28
SameSite = 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