25 references to SameSiteMode
System.Web (25)
Configuration\FormsAuthenticationConfiguration.cs (4)
190
typeof(
SameSiteMode
),
191
SameSiteMode
.Lax,
377
public
SameSiteMode
CookieSameSite {
379
return (
SameSiteMode
)base[_propCookieSameSite];
Configuration\HttpCookiesSection.cs (5)
27
new ConfigurationProperty("sameSite", typeof(
SameSiteMode
), (
SameSiteMode
)(-1) /* Unspecified */, new SameSiteConverter(), null, ConfigurationPropertyOptions.None);
91
[ConfigurationProperty("sameSite", DefaultValue = (
SameSiteMode
)(-1) /* Unspecified */)]
92
public
SameSiteMode
SameSite {
94
return (
SameSiteMode
)base[_propSameSite];
Configuration\SessionStateSection.cs (4)
208
typeof(
SameSiteMode
),
209
SameSiteMode
.Lax,
447
public
SameSiteMode
CookieSameSite {
449
return (
SameSiteMode
)base[_propCookieSameSite];
HttpCookie.cs (10)
43
private
SameSiteMode
_sameSite;
275
public
SameSiteMode
SameSite {
429
SameSiteMode
sameSite = (
SameSiteMode
)(-1);
430
if(Enum.TryParse<
SameSiteMode
>(attributeValue, true, out sameSite)) {
487
if(_sameSite > (AppSettings.SuppressSameSiteNone ?
SameSiteMode
.None : (
SameSiteMode
)(-1) /* Unspecified */)) {
522
public SameSiteConverter() : base(typeof(
SameSiteMode
)) { }
529
return (
SameSiteMode
)(-1);
536
if (value is
SameSiteMode
&& destinationType == typeof(string))
Security\FormsAuthentication.cs (2)
684
public static
SameSiteMode
CookieSameSite { get { Initialize(); return _cookieSameSite; }}
798
private static
SameSiteMode
_cookieSameSite;