import { default } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/src/Session.ts";
Constructors
Methods
private
persistSessionData(store: Store | CookieStore): Promise<void> | voidprivate
reupSession(store: Store | CookieStore, expiration: number | null | undefined)deleteSession(): Promise<void>
flash(key: string, value: unknown)
get(key: string)
has(key: string)
set(key: string, value: unknown)
Static Methods
private
createSession(ctx: Context,
store: Store | CookieStore,
expiration: number | null | undefined,
defaultData?: SessionData,
private
sessionValid(sessionData: SessionData)initMiddleware(store?: Store | CookieStore, unnamed 1?: SessionOptions)