Reference

SessionStore

Defines the persistence API used by app-router session helpers.

Signature

interface SessionStore

Members

function delete(id: string): void | Promise<void>
function get(id: string): SessionRecord<TData> | Promise<SessionRecord<TData> | undefined> | undefined
function set(record: SessionRecord<TData>): void | Promise<void>