bknd-session-handling
CommunitySeamless Bknd session management.
Authorcameronapak
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manage user sessions in Bknd apps with JWT-based lifecycles, covering token persistence, auto-renewal, authentication state checks, and safe expiration handling.
Core Features & Use Cases
- JWT-based sessions: Create, persist, refresh, and invalidate user sessions across frontend and API routes.
- Transport flexibility: Choose between httpOnly cookies for security or header-based tokens for manual control.
- Server-side validation: Consistent authentication checks in API routes and server endpoints.
- Use case example: A dashboard app that auto-renews user sessions on activity while protecting sensitive API endpoints.
Quick Start
Instantiate the BKND Api with a chosen storage (e.g., localStorage), log in to create a session, then call api.auth.me() to verify and refresh the session state.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bknd-session-handling Download link: https://github.com/cameronapak/melos/archive/main.zip#bknd-session-handling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.