| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- const CookieParam = {
- /**
- * Cookie name.
- */
- name: '',
- /**
- * Cookie value.
- */
- value: '',
- /**
- * The request-URI to associate with the setting of the cookie. This value can affect the
- * default domain, path, source port, and source scheme values of the created cookie.
- */
- url: undefined,
- /**
- * Cookie domain.
- */
- domain: undefined,
- /**
- * Cookie path.
- */
- path: undefined,
- /**
- * True if cookie is secure.
- */
- secure: undefined,
- /**
- * True if cookie is http-only.
- */
- httpOnly: undefined,
- /**
- * Cookie SameSite type.
- */
- sameSite: undefined,
- /**
- * Cookie expiration date, session cookie if not set
- */
- expires: undefined,
- /**
- * Cookie Priority.
- */
- priority: undefined,
- /**
- * True if cookie is SameParty.
- */
- sameParty: undefined,
- /**
- * Cookie source scheme type.
- */
- sourceScheme: undefined,
- /**
- * Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
- * An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
- * This is a temporary ability and it will be removed in the future.
- */
- sourcePort: undefined,
- }
- module.exports = {
- CookieParam,
- }
|