Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| domain | false | - | Sets the cookie domain. | - |
| expires | false | - | Sets the Expires attribute. | - |
| httpOnly | false | false | Sets the HttpOnly flag. | - |
| maxAge | false | -1 | Sets the Max-Age for the cookie. | - |
| name | true | - | Sets the cookie name. | - |
| path | false | "/" | Sets the cookie path. | - |
| sameSite | false | LAX | Sets the SameSite policy. | - |
| secure | false | false | Sets the Secure flag. | - |
| value | true | - | Sets the cookie value. | - |