Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_sessions/src/stores/Store.ts>default

Session middleware for Oak
Go to Latest
interface default
import { type default } from "https://deno.land/x/oak_sessions@v4.0.5/src/stores/Store.ts";

Methods

sessionExists(sessionId?: string): Promise<boolean> | boolean
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