Minimal storage contract the SDK relies on. Compatible with localStorage,
sessionStorage, the bundled cookie adapter, and any custom adapter you
provide. Methods may return synchronously or asynchronously.
Type Declaration
OptionalisServer?: boolean
Set to true when the storage medium reads from an untrusted source
(e.g. request cookies on the server). Triggers a warning when consumers
access session.user so they refresh against a verified source instead.
Minimal storage contract the SDK relies on. Compatible with
localStorage,sessionStorage, the bundled cookie adapter, and any custom adapter you provide. Methods may return synchronously or asynchronously.