UNPKG

@wristband/nextjs-auth

Version:

SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.

8 lines (7 loc) 272 B
/** * Symbol used to mark sessions from Server Components as read-only. * This marker enables runtime protection in saveSessionWithCookies() and destroySessionWithCookies(). * * @internal */ export const SERVER_COMPONENT_SESSION = Symbol('SERVER_COMPONENT_SESSION');