// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.Enums { /// /// Cookie same site values. /// /// /// See https://source.chromium.org/chromium/chromium/src/+/master:net/cookies/cookie_constants.h /// public enum CookieSameSite { /// /// Unspecified /// Unspecified = 0, /// /// Cookies will be sent in all contexts, i.e sending cross-origin is allowed. /// None used to be the default value, but recent browser versions made Lax the default value to have reasonably robust defense against some classes of cross-site request forgery (CSRF) attacks. /// NoRestriction, /// /// Cookies are allowed to be sent with top-level navigations and will be sent along with GET request initiated by third party website. This is the default value in modern browsers. /// LaxMode, /// /// Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites. /// StrictMode } }