5 writes to OnDeleteCookie
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookieConsentTests.cs (2)
419options.OnDeleteCookie = context => 525options.OnDeleteCookie = context =>
CookiePolicyTests.cs (2)
292OnDeleteCookie = ctx => ctx.CookieName = "A" 334OnDeleteCookie = ctx => ctx.CookieName = "A"
OpenIdConnectSample (1)
Startup.cs (1)
90options.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)
186if (CheckPolicyRequired() || Options.OnDeleteCookie != null) 203if (Options.OnDeleteCookie != null) 211Options.OnDeleteCookie(context);