{"library":"jsonwebtoken-redis","type":"library","category":null,"description":"jsonwebtoken-redis wraps the popular jsonwebtoken library to add Redis-backed token expiration, invalidation, and refresh capabilities. Token expiration is managed entirely by Redis keys, allowing you to invalidate tokens by removing the key, or postpone expiration via the touch command. Unlike the base jsonwebtoken library, all methods return Promises (no callbacks) and require a Redis client. Version 1.0.6 is the latest stable release, with no release cadence documented. Key differentiators: Redis-managed TTL, token destroy/touch, automatic jti generation via uuid.","language":"javascript","status":"active","version":"1.0.6","tags":["javascript","jwt","jsonwebtoken","redis"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install jsonwebtoken-redis","imports":["const JwtRedis = require('jsonwebtoken-redis');","const JwtRedis = require('jsonwebtoken-redis');\nconst jwtRedis = new JwtRedis(client, options);","jwtRedis.sign(payload, secret, options).then(...);"]},{"cmd":"yarn add jsonwebtoken-redis","imports":[]},{"cmd":"pnpm add jsonwebtoken-redis","imports":[]}],"homepage":"https://ayro.io","github":"git://github.com/ayrolabs/jsonwebtoken-redis","docs":null,"changelog":null,"pypi":null,"npm":"jsonwebtoken-redis","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}