tough-cookie.createcookieoptions.secure.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > CreateCookieOptions > secure

CreateCookieOptions.secure property

The 'Secure' flag of the cookie indicates if the scope of the cookie is limited to secure channels (e.g.; HTTPS) or not (See RFC6265 Section 5.2.5).

Signature:

secure?: boolean;