1 write to CookieOptions
Microsoft.AspNetCore.CookiePolicy (1)
AppendCookieContext.cs (1)
24
CookieOptions
= options;
6 references to CookieOptions
Microsoft.AspNetCore.CookiePolicy.Test (5)
CookieConsentTests.cs (3)
244
Assert.Equal(Http.SameSiteMode.Strict, context.
CookieOptions
.SameSite);
247
context.
CookieOptions
.Extensions.Add("extension");
602
Assert.Equal(Http.SameSiteMode.Strict, context.
CookieOptions
.SameSite);
CookiePolicyTests.cs (2)
370
OnAppendCookie = c => c.
CookieOptions
.Extensions.Add("extension")
421
OnAppendCookie = c => c.
CookieOptions
.Extensions.Add("ext")
OpenIdConnectSample (1)
Startup.cs (1)
89
options.OnAppendCookie = cookieContext => CheckSameSite(cookieContext.Context, cookieContext.
CookieOptions
);