5 writes to OnDeleteCookie
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookieConsentTests.cs (2)
419
options.
OnDeleteCookie
= context =>
525
options.
OnDeleteCookie
= context =>
CookiePolicyTests.cs (2)
292
OnDeleteCookie
= ctx => ctx.CookieName = "A"
334
OnDeleteCookie
= ctx => ctx.CookieName = "A"
OpenIdConnectSample (1)
Startup.cs (1)
90
options.
OnDeleteCookie
= cookieContext => CheckSameSite(cookieContext.Context, cookieContext.CookieOptions);
4 references to OnDeleteCookie
Microsoft.AspNetCore.CookiePolicy (4)
DeleteCookieContext.cs (1)
10
/// Context for <see cref="CookiePolicyOptions.
OnDeleteCookie
"/> that allows changes to the cookie prior to being deleted.
ResponseCookiesWrapper.cs (3)
186
if (CheckPolicyRequired() || Options.
OnDeleteCookie
!= null)
203
if (Options.
OnDeleteCookie
!= null)
211
Options.
OnDeleteCookie
(context);