| title | SessionConfig |
|---|---|
| description | SessionConfig Schema Reference |
| Property | Type | Required | Description |
|---|---|---|---|
| expiresIn | number |
optional | Session expiry in seconds (default 7 days) |
| updateAge | number |
optional | Session update interval in seconds (default 1 day) |
| cookieName | string |
optional | Session cookie name |
| cookieSecure | boolean |
optional | Use secure cookies (HTTPS only) |
| cookieSameSite | Enum<'strict' | 'lax' | 'none'> |
optional | SameSite cookie attribute |
| cookieDomain | string |
optional | Cookie domain |
| cookiePath | string |
optional | Cookie path |
| cookieHttpOnly | boolean |
optional | HttpOnly cookie attribute |