@wristband/nextjs-auth
Version:
SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.
11 lines (10 loc) • 387 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SERVER_COMPONENT_SESSION = void 0;
/**
* Symbol used to mark sessions from Server Components as read-only.
* This marker enables runtime protection in saveSessionWithCookies() and destroySessionWithCookies().
*
* @internal
*/
exports.SERVER_COMPONENT_SESSION = Symbol('SERVER_COMPONENT_SESSION');