import { default } from "https://deno.land/x/oak_sessions@v4.1.12/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)