Module

x/oak_sessions/mod.ts>Store

Session middleware for Oak
Latest
interface Store
import { type Store } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/mod.ts";

Methods

getSessionById(sessionId?: string): Promise<SessionData | null> | SessionData | null
createSession(sessionId: string, initialData: SessionData): Promise<void> | void
persistSessionData(sessionId: string, sessionData: SessionData): Promise<void> | void
deleteSession(sessionIdOrContext: string | Context): Promise<void> | void
import Store
import { Store } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/mod.ts";