Refine technical documentation to reflect current architecture, component structure, and routing conventions for the vcon console.
759 B
759 B
Authentication Engine Manifest
Purpose
Provides authentication and session security for both Administrator Console users and Client SDK connections (core/auth/*).
Modules
jwt.ts: Signs and verifies Client SDK JWT tokens (clientId,name,rateLimit) usingDATASTACK_JWT_SECRETor the activeadmin_settings.jwt_secret.adminSession.ts: WebCrypto HMAC-SHA256 administrator session token signer/verifier (datastack_admin_sessionHTTP-only cookie) compatible with both Next.js Edge Middleware and Node.js route handlers.adminUsers.ts: PostgreSQL-backed administrator account store (admin_users) usingcrypto.scryptpassword hashing, timing-safe verification, and brute-force login lockout tracking (admin_login_attempts).