1 write to Context
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
21
Context
= context;
10 references to Context
Microsoft.AspNetCore.CookiePolicy (10)
ResponseCookiesWrapper.cs (10)
42
: Options.CheckConsentNeeded(
Context
);
56
var cookie =
Context
.Request.Cookies[Options.ConsentCookie.Name!];
69
if (!HasConsent && !
Context
.Response.HasStarted)
71
var cookieOptions = Options.ConsentCookie.Build(
Context
);
81
if (HasConsent && !
Context
.Response.HasStarted)
83
var cookieOptions = Options.ConsentCookie.Build(
Context
);
96
var options = Options.ConsentCookie.Build(
Context
);
168
var context = new AppendCookieContext(
Context
, options, key, value)
205
var context = new DeleteCookieContext(
Context
, options, key)
240
if (
Context
.Request.IsHttps && !options.Secure)