interface CookieConfig {
    domain?: string;
    maxAge?: string | number;
    path?: string;
    sameSite?: "strict" | "lax" | "none";
}

Properties

domain?: string

The domain of the cookie

maxAge?: string | number

The maxAge of the cookie

path?: string

The path of the cookie

sameSite?: "strict" | "lax" | "none"

The SameSite attribute of the cookie

Generated using TypeDoc