A lightweight authentication session management system for Next.js applications using JWT tokens and HTTP-only cookies.
This module provides a complete session management solution that handles user authentication through encrypted JWT tokens stored in secure HTTP-only cookies. It's designed for Next.js applications and includes functions for login, logout, session retrieval, and automatic session refresh.