Token Manager Module
The Token Manager is a resilient, "Black Box" package designed to handle the complex lifecycle of user sessions, including stateless access tokens (Cookies) and stateful refresh tokens (Database).
It abstracts the storage mechanism from the business logic, allowing the application to switch between Cookies, SQL, Redis, or other storage engines without changing controller code.