10 references to HttpOnlyPolicy
Microsoft.AspNetCore.CookiePolicy (6)
CookiePolicyOptions.cs (2)
24
public
HttpOnlyPolicy
HttpOnly { get; set; } =
HttpOnlyPolicy
.None;
ResponseCookiesWrapper.cs (4)
108
|| Options.HttpOnly !=
HttpOnlyPolicy
.None
260
case
HttpOnlyPolicy
.Always:
267
case
HttpOnlyPolicy
.None:
270
throw new InvalidOperationException($"Unrecognized {nameof(
HttpOnlyPolicy
)} value {Options.HttpOnly.ToString()}");
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookiePolicyTests.cs (4)
123
HttpOnly =
HttpOnlyPolicy
.Always
143
HttpOnly =
HttpOnlyPolicy
.None
368
HttpOnly =
HttpOnlyPolicy
.Always,
419
HttpOnly =
HttpOnlyPolicy
.Always,