Skip to main content
Module

x/shed/index.ts>CookieSessionOptions

All Worker Tools under a single roof
Latest
interface CookieSessionOptions
import { type CookieSessionOptions } from "https://deno.land/x/shed@v0.1.0-pre.10/index.ts";

Type Parameters

optional
S extends Rec = Rec

Properties

optional
cookieName: string

The name of the session cookie. Defaults to sid.

optional
expirationTtl: number

Session expiration time in seconds. Defaults to five minutes.

optional
defaultSession: S

Provide a record that serves as the default session object. Also used for type inference.