method ISessionStore.read
ISessionStore.read(id: string): Promise<SessionData | null>

Reads a stored session payload.

Parameters

id: string

Session identifier

Return Type

Promise<SessionData | null>

The payload, or null when absent or expired

Usage

import { type ISessionStore } from "common/src/index.ts";