├── .gitignore ├── .npmignore ├── README.md ├── package.json ├── src ├── JWTRedis.ts ├── Redis.ts ├── error │ ├── TokenDestroyedError.ts │ └── TokenInvalidError.ts └── index.ts ├── test ├── decode.test.ts ├── destroy.test.ts ├── mocha.opts ├── sign.test.ts ├── util.ts └── verify.test.ts ├── tsconfig.build.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | build -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/.npmignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/package.json -------------------------------------------------------------------------------- /src/JWTRedis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/src/JWTRedis.ts -------------------------------------------------------------------------------- /src/Redis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/src/Redis.ts -------------------------------------------------------------------------------- /src/error/TokenDestroyedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/src/error/TokenDestroyedError.ts -------------------------------------------------------------------------------- /src/error/TokenInvalidError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/src/error/TokenInvalidError.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/decode.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/test/decode.test.ts -------------------------------------------------------------------------------- /test/destroy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/test/destroy.test.ts -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/test/mocha.opts -------------------------------------------------------------------------------- /test/sign.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/test/sign.test.ts -------------------------------------------------------------------------------- /test/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/test/util.ts -------------------------------------------------------------------------------- /test/verify.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/test/verify.test.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Natashkinsasha/jwt-redis-v2/HEAD/tsconfig.json --------------------------------------------------------------------------------