Skip to content

CookieStorageOptions

Fluxbase Next.js SDK

Server/client adapters and SSR cookie storage for Fluxbase, built on the core @nimbleflux/fluxbase-sdk.

This is a scaffold: it provides the SSR-auth foundation (cookie storage, server client factory, client provider). Full React Query hooks (like the React SDK) are a follow-on.

Property Type Description
httpOnly? boolean httpOnly so the cookie is not readable from client JS. Default true
maxAge? number Max age in seconds. Default undefined (session cookie)
path? string Cookie path. Default "/"
sameSite? "lax" | "strict" | "none" SameSite attribute. Default "lax"
secure? boolean Require HTTPS. Default process.env.NODE_ENV === 'production'