{"_id":"passport-jwt","_rev":"79-513336eba2da42441d21f32a9d4e7fe4","name":"passport-jwt","dist-tags":{"latest":"4.0.1"},"versions":{"0.1.0":{"name":"passport-jwt","version":"0.1.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@0.1.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"a2ca889502bd70ed953e38017c55f6dcc9414a0b","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-0.1.0.tgz","integrity":"sha512-3SNEkVfoiAY/ybh/wBRPejBIi6sX3SRCTi6+PHyBwI5hZU0FjS1shnAhCkKprFsi+X1R8lNQGz4+B3Hi9x18sw==","signatures":[{"sig":"MEUCIDRQ6dYTNaoh2vBTY3tFB732f/8uP00wjV9wycTYoY+fAiEAwZK0lWEV96PKxzCKEh7WaLMZhG+BrKSjtJssFEIr5ic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"a2ca889502bd70ed953e38017c55f6dcc9414a0b","gitHead":"a77b85edfa23f2ed3bc128893ff327ad78bb52bb","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.1.4","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.10.32","dependencies":{"jsonwebtoken":"^1.1.2","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"0.1.1":{"name":"passport-jwt","version":"0.1.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@0.1.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"6b59333e3bbd3503001be999f59d5b63d42dc8f9","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-0.1.1.tgz","integrity":"sha512-0NOqzCYnJdBxET7CKFmpFJy8qQXkDGK+iEzEbCARtwJPb+n/GEMB1eYpk3mvPyHf6Mgfa6k0UeDHDETDBm+nwQ==","signatures":[{"sig":"MEQCIA0MbpaFrYtROAEPyeO9bXYbzE4HSL9S7mUldWDfwDdMAiAHbfO8gZqaTYQPOXKN3CoiyQUH8E3MQb1AS/Ac/T+NFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"6b59333e3bbd3503001be999f59d5b63d42dc8f9","gitHead":"f2d4fa313e73e316376204e10aa497deed1ee098","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.1.11","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.10.33","dependencies":{"jsonwebtoken":"^1.1.2","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"1.0.0":{"name":"passport-jwt","version":"1.0.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@1.0.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"54f8c94eb6e46a98a3f07c61e2fc3d794bcac4cd","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-1.0.0.tgz","integrity":"sha512-ivIWl4Xe0BUJ4lvmjmgFAyx+TI3k3y3HjWcVYAxjXHaYWwGl7/jqK6/ARDCo/V57YKBR7kb7Qlq4GcbQjmTBvQ==","signatures":[{"sig":"MEUCID57nloU2JGHBM6S+Izw6NMYuIgOW/WdjWuZkc3Cuzs2AiEA3MjPEk8hRTub+nM+kEPZJZ0PUpgjDW7TQMDlsvb4h/M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"54f8c94eb6e46a98a3f07c61e2fc3d794bcac4cd","gitHead":"39d7254cb6be825a8f879e71910ad1d4cf16a0bd","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.1.11","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.10.33","dependencies":{"jsonwebtoken":"^1.1.2","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"1.0.1":{"name":"passport-jwt","version":"1.0.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@1.0.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"1f62dfe7ebc53bc8d7c9aa7f7944e5b860c3ebb9","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-1.0.1.tgz","integrity":"sha512-Wou+hd9snR/kpFdneSxMyUsvOyijHpVkgYcFs/GPk8Mmz0YcAuD7eHCpWi7Ow04UAhwZGUmaaQnl5BDyQA857g==","signatures":[{"sig":"MEYCIQChNGnpR5cK6CHWR35jdxqLO+ODQv0XOVBKISUEef89ygIhANylVNATMvYdiLXQW5jvBwwgtTbJF2lSSPCCEMAiUvSn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"1f62dfe7ebc53bc8d7c9aa7f7944e5b860c3ebb9","gitHead":"3eae91ba23dd49bca266de95f49a8e13d31c2f95","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.7.1","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.12.0","dependencies":{"jsonwebtoken":"^1.1.2","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"1.1.0":{"name":"passport-jwt","version":"1.1.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@1.1.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"d06a169493dd5b4ea79bcaab4b5523bae1ba9313","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-1.1.0.tgz","integrity":"sha512-Ui+qwEQ2qM+RzuehOfHtO5r5Q1JRWoxIEMZyW7m2pYDm/zS0esn7H+Bv+lnqQnSMpPq7TjoaQ6bRA5RBJ7WSjw==","signatures":[{"sig":"MEQCIBC4MiV/Ps/0bgCNEaCTBE0fXAFlHyX+l+rtdhehrDl7AiBbEAQ1K213RIreGzT7vsZw0y7V4DY0DUa96DGeB4iG+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"d06a169493dd5b4ea79bcaab4b5523bae1ba9313","gitHead":"fb1a12fca439dc104afac96d3e8336b317c09795","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.7.1","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.12.0","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"1.1.1":{"name":"passport-jwt","version":"1.1.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@1.1.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"d511780333803e4d881b4e42e01fd8387f48f573","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-1.1.1.tgz","integrity":"sha512-KhDJCjPe05ihywgNCQ1TQkAOQ70zSK1fLK1018/GXwZVVKQa0R4SPXhmCYrERLwSqjvxJ0nGpk+qYRT573Lppw==","signatures":[{"sig":"MEUCIC+YAr8fiq3W0yzGQNiLXjF5c2B2uA7cDfnrIbX8hHKbAiEA1XHnO0pV4sMb8H9imarhjG0rKM0CyYuCpd8Eqk50Kxk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"d511780333803e4d881b4e42e01fd8387f48f573","gitHead":"0f4ffa460a38c4dbc0fc513e44275692e12c9b8f","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.7.5","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.12.2","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"1.2.1":{"name":"passport-jwt","version":"1.2.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@1.2.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"b0ce01b22f0e165778ce0b066041d6cacd4bb40f","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-1.2.1.tgz","integrity":"sha512-MybF2TaGOMZl8o7OXtc+ItqT27kXykN+6/rbpVv/HlyG6RcsYUvpXaKb2ot/oXM2H0WqC43D//Ozf8efEsa7SA==","signatures":[{"sig":"MEUCIQDF7r9XlTH0WzC1zOFcTG+3gogp1T3WZzLtTbzL3QoHbAIgXVc8v+h5qe97eBm85DZ1lMhjn8xRi6oF7tarnJUGsbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"b0ce01b22f0e165778ce0b066041d6cacd4bb40f","gitHead":"c88c3a9f151110717a252ed54acefc259d539818","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"2.7.5","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"0.12.2","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"}},"2.0.0":{"name":"passport-jwt","version":"2.0.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@2.0.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"a38e92ddb0235c0e7c55bc5c9967c480b8798308","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-2.0.0.tgz","integrity":"sha512-S+yT2hkqvhmm5CmJW+ZW5wp2Zo1z9elWV6jEaYO6Dn4IYwEEWaayii1N9+0wwkBXVSfGjttFKirvyZx6IUDZVw==","signatures":[{"sig":"MEYCIQDHVnX0ESAa1/z0Nx2Ee5s7E7sgppW/BkDiXaD0bOD1KwIhAP3mJiueQVskP7KCaqd2U4YrV0QAP0QZKxX2ROeDsQLf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"a38e92ddb0235c0e7c55bc5c9967c480b8798308","gitHead":"3c18b55d819f1d824cb544b7e46902a35b18e91d","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"3.3.12","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"5.2.0","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-2.0.0.tgz_1455167872258_0.570173557382077","host":"packages-9-west.internal.npmjs.com"}},"2.1.0":{"name":"passport-jwt","version":"2.1.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@2.1.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"d885d095747f5d9c0ab240dd9413e7381b8ce3ab","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-2.1.0.tgz","integrity":"sha512-pv8l5z6ucGBgMlYop6Z67e9uq5QySnu9LnGjAJRzKUjaDwYmxpbJOv/nNLTnM5d3HOWq9l8OYoO8JA1ajnYKlA==","signatures":[{"sig":"MEYCIQDDJLvnJyDqBMORagKclLiNax+DABe8ygtc8UyA5fATmQIhAOitzBIakQiC4vyW95to7dxwhc80Sf8O1ts6wiClw4gs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"d885d095747f5d9c0ab240dd9413e7381b8ce3ab","gitHead":"269d5cad90a9938aa6059a4f9d209cf1515c877c","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"3.3.12","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"5.4.0","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-2.1.0.tgz_1466484561608_0.18378752982243896","host":"packages-12-west.internal.npmjs.com"}},"2.1.1":{"name":"passport-jwt","version":"2.1.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@2.1.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"8fc7d481fdd6d326a7d44c32f0fc3128ee9bd585","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-2.1.1.tgz","integrity":"sha512-pd6M9LcsilnbIkRic9ZMUys5ey1c+tuz97S1hFNDWezgPijlG0abFo2ZeY0vs8b/e6Y/fRmBq9uX2lNXrBxWSA==","signatures":[{"sig":"MEYCIQC0IZWHiI/hGXJwHh/B9+b+O/wb4Qt35LrgK5WBjr8b8gIhAOcr0sxQ5ztw34Zqtp4vEdg1vcM6QOkD1fYRvEclMEYG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"8fc7d481fdd6d326a7d44c32f0fc3128ee9bd585","gitHead":"7a09b64a5d5fcbde5d72b6ce5c9735c857033de9","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"3.10.7","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"6.7.0","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-2.1.1.tgz_1477883724682_0.6705551852937788","host":"packages-12-west.internal.npmjs.com"}},"2.2.0":{"name":"passport-jwt","version":"2.2.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@2.2.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"622ff1a5b72a6afceea190d7af7664c6c80128f3","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-2.2.0.tgz","integrity":"sha512-TJjS4uDMn9HrQ1mMcVvArDOQ99YiNbHJwFd0txG+IqHN5CtI6vCNtwx7LFDUcPiOSX0qEmK4BizaCE65Lu3I5w==","signatures":[{"sig":"MEQCIBx95wYC0Y1zphgnRYreS2D5jMV6Drlgi4Y1Iv3RchyCAiBfGNmHxroxSYMkm8XHjHICt77X/XGe2C3LcZAZ325Sdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"622ff1a5b72a6afceea190d7af7664c6c80128f3","gitHead":"9fd7f9761ec2917c72742ec526846b8d04d0cff3","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"3.10.7","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"6.7.0","dependencies":{"jsonwebtoken":"^5.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^1.9.2","mocha":"^2.0.1","sinon":"^1.11.1","chai-passport-strategy":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-2.2.0.tgz_1477883956338_0.3572320204693824","host":"packages-12-west.internal.npmjs.com"}},"2.2.1":{"name":"passport-jwt","version":"2.2.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@2.2.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"0e004c94071319d673d9d9bcfd1574a868011527","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-2.2.1.tgz","integrity":"sha512-i62oUOqTpEagYG11eGxGol5uk/u/4PQ38qjWXV9os26JUGsD/n1s3UlDjHVGOq4E96JhLU7/IgmuKE8KptvO7Q==","signatures":[{"sig":"MEQCIG6RZQ9OYR3RYyZT7OZ90TCcLcSk05EynzBXMKaGDbDAAiB2WSfwvmvE7mXS3Tk1Jv7GYEyO+XAE5H3rgeFp8aDZQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"0e004c94071319d673d9d9bcfd1574a868011527","gitHead":"6ff2a4a63ff6e3475fc0fb28207221e9ca4d3d48","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"3.10.7","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"6.7.0","dependencies":{"jsonwebtoken":"^7.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^3.0.0","mocha":"^3.0.0","sinon":"^1.0.0","istanbul":"^0.4.5","chai-passport-strategy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-2.2.1.tgz_1478748434609_0.21114882663823664","host":"packages-12-west.internal.npmjs.com"}},"3.0.0":{"name":"passport-jwt","version":"3.0.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@3.0.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"7d9e4ff0fa0522108540ce1fcfa83bbd8faa29c9","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-3.0.0.tgz","integrity":"sha512-0rD1lJjuTHg2Ye0e4SozrCOdYl2AZf2iSDTwkSptWhoP01blFOB05rs7OVztCuYEqnSLzsHCdxllAHrqmO3Iwg==","signatures":[{"sig":"MEUCIFFA4Wx0U/lsJHM5pPTJjFQKfIVBRBGKeel6CJCKat3HAiEA4zXH2XUd0HUxkvU7MGZVfT6mTDBG1rF1qazHKpkHbQQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"7d9e4ff0fa0522108540ce1fcfa83bbd8faa29c9","gitHead":"28ffbb0f71a780aa8fe6946cab63068f9d503a5b","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"4.2.0","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"7.9.0","dependencies":{"jsonwebtoken":"^7.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^3.0.0","mocha":"^3.0.0","sinon":"^1.0.0","istanbul":"^0.4.5","chai-passport-strategy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-3.0.0.tgz_1502854253444_0.4798286303412169","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"passport-jwt","version":"3.0.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@3.0.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"e4f7276dad8bd251d43c6fc38883130b963272f6","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-3.0.1.tgz","integrity":"sha512-FEuoeFtKyrXDmqoO8AkuoQspxSnwME4Ol+Ar6VYLaUnRI8xGMRxd28lnoVmeCXeh9bbC5J19/3qeKV1Uo9Vncw==","signatures":[{"sig":"MEUCIAoj1g2VJsJWeosgBK10bKOKg88dSv13Bdvtespln8vfAiEA+WNQqROnJHodCTAhrYvv1fGhJU6TtSGGU2Ayxh+TrYE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib","_from":".","_shasum":"e4f7276dad8bd251d43c6fc38883130b963272f6","gitHead":"6d4b3fafffecd24fa1a69dff2bb15063ba5994db","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"4.2.0","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"7.9.0","dependencies":{"jsonwebtoken":"^7.0.0","passport-strategy":"^1.0.0"},"devDependencies":{"chai":"^3.0.0","mocha":"^3.0.0","sinon":"^1.0.0","istanbul":"^0.4.5","chai-passport-strategy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt-3.0.1.tgz_1509068501941_0.057028161361813545","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"passport-jwt","version":"4.0.0","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@4.0.0","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/themikenicholson/passport-jwt","bugs":{"url":"https://github.com/themikenicholson/passport-jwt/issues"},"dist":{"shasum":"7f0be7ba942e28b9f5d22c2ebbb8ce96ef7cf065","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-4.0.0.tgz","fileCount":20,"integrity":"sha512-BwC0n2GP/1hMVjR4QpnvqA61TxenUMlmfNjYNgK0ZAs0HK4SOQkHcSv4L328blNTLtHq7DbmvyNJiH+bn6C5Mg==","signatures":[{"sig":"MEQCIFUCgwyN4bMc7pR2qic8Fh3QQdKA9O30g4jKJoYQ3OJ4AiA5j9ydd0Tp0xc85bub3YB//2kkAn8x94WsDa0Pd+QnCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51979},"main":"./lib","gitHead":"8f543a96f70c8356a13003c2c433b30a62f53a2b","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/themikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"5.6.0","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"9.3.0","dependencies":{"jsonwebtoken":"^8.2.0","passport-strategy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^3.0.0","sinon":"^1.0.0","istanbul":"^0.4.5","chai-passport-strategy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt_4.0.0_1520909832992_0.47453212367612907","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"passport-jwt","version":"4.0.1","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"author":{"name":"Mike Nicholson"},"license":"MIT","_id":"passport-jwt@4.0.1","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"homepage":"https://github.com/mikenicholson/passport-jwt","bugs":{"url":"https://github.com/mikenicholson/passport-jwt/issues"},"dist":{"shasum":"c443795eff322c38d173faa0a3c481479646ec3d","tarball":"https://registry.npmjs.org/passport-jwt/-/passport-jwt-4.0.1.tgz","fileCount":21,"integrity":"sha512-UCKMDYhNuGOBE9/9Ycuoyh7vP6jpeTp/+sfMJl7nLff/t6dps+iaeE0hhNkKN8/HZHcJ7lCdOyDxHdDoxoSvdQ==","signatures":[{"sig":"MEQCICCqSMWk9oUf5QR3XzyRCsgN4hycsDwON9JBF6yhTF54AiBMvalwH+PMA5mv9fKlpIl3CfR/8TIKBJLh6G2aKPI3Iw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpo1EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoj9BAAhYbFEbHVn/MuT2UIzuM7046fIq2whm7K0KnB0NayOZ9jDwiy\r\nkNWJ1sKG9WD066X3gAFCPjDI9zstspjP9jnUaveTV1pgfd5kUX6FSH2OM16S\r\naKp3nOu3LWxJVzefVYUb4lB/9FLjFNnvTLPBYMCNY/MOfD5Uu7SyWOIdwLen\r\nMfrO3AsN+Yg3F2xcxIKb8Ko/qX3VakEfRkJzKmaStmA+E7hwn5rc3GYM59ND\r\nX4yN3E/xbbgsrYzSIX+8GoHxlGuSB3S9iyNlTl8c6D6KQCWKJiC4gkpgnH1o\r\nESptrlAzqDhwpfF4M6eCLy3XfOjXHX8Lcy/Y3a4EiVLtDUm9hkaTQfTPJyDm\r\nq8byYW0anKl+nxJCGgX1hcEVpcsMUhVdfrp/HIjfcYbT+QLU0qpGQjfOTbEa\r\nfegyHw00LmoR+HgLy/ULzAemXL8d9QPJ1r5cC7M+4wx0mrf+FJy5UETEO3Z5\r\nU566r/UMK6Jh+Bhgxw9loN33d3EczlhrnAcRBDfbufngXJiTC1gdSDWCfF0a\r\nDff/VFHuNzALAaSbtP4bGV4l7X58ng86zfORmJ8q05ZlDlBPjic9VmTi/loD\r\n8WF577h6yq26m8kJNtH9TRmPFY9o0vuSUF+S1dGk1Sb56r0PS1mpbWl/Ydx8\r\ncu3dVO9v6xfUd6OQPxNRkFodmTy/HRpCxus=\r\n=0E2J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"fed94fa005c5b2dcb7e6d5d5372e3b20cae898f1","scripts":{"test":"mocha --reporter spec --require test/bootstrap test/*test.js","testcov":"nyc npm run test"},"_npmUser":{"name":"themikenicholson","email":"themikenicholson@gmail.com"},"repository":{"url":"git+https://github.com/mikenicholson/passport-jwt.git","type":"git"},"_npmVersion":"8.19.3","description":"Passport authentication strategy using JSON Web Tokens","directories":{},"_nodeVersion":"19.2.0","dependencies":{"jsonwebtoken":"^9.0.0","passport-strategy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^3.0.0","mocha":"^9.2.1","sinon":"^1.0.0","chai-passport-strategy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/passport-jwt_4.0.1_1671859524407_0.6977449494354406","host":"s3://npm-registry-packages"}}},"time":{"created":"2014-11-12T03:16:36.887Z","modified":"2025-01-10T02:10:25.475Z","0.1.0":"2014-11-12T03:16:36.887Z","0.1.1":"2015-03-03T03:44:38.256Z","1.0.0":"2015-03-03T04:31:13.190Z","1.0.1":"2015-04-08T03:26:32.059Z","1.1.0":"2015-04-24T03:17:54.370Z","1.1.1":"2015-08-20T04:34:53.889Z","1.2.1":"2015-09-17T01:28:41.274Z","2.0.0":"2016-02-11T05:17:55.753Z","2.1.0":"2016-06-21T04:49:24.012Z","2.1.1":"2016-10-31T03:15:26.708Z","2.2.0":"2016-10-31T03:19:18.230Z","2.2.1":"2016-11-10T03:27:16.695Z","3.0.0":"2017-08-16T03:30:54.612Z","3.0.1":"2017-10-27T01:41:42.942Z","4.0.0":"2018-03-13T02:57:13.071Z","4.0.1":"2022-12-24T05:25:24.598Z"},"bugs":{"url":"https://github.com/mikenicholson/passport-jwt/issues"},"author":{"name":"Mike Nicholson"},"license":"MIT","homepage":"https://github.com/mikenicholson/passport-jwt","keywords":["Passport","Strategy","JSON","Web","Token","JWT"],"repository":{"url":"git+https://github.com/mikenicholson/passport-jwt.git","type":"git"},"description":"Passport authentication strategy using JSON Web Tokens","maintainers":[{"name":"themikenicholson","email":"themikenicholson@gmail.com"}],"readme":"# passport-jwt\n\n[![Build Status](https://travis-ci.org/mikenicholson/passport-jwt.svg?branch=master)](https://travis-ci.org/mikenicholson/passport-jwt)\n[![Code Climate](https://codeclimate.com/github/mikenicholson/passport-jwt/badges/gpa.svg)](https://codeclimate.com/github/mikenicholson/passport-jwt)\n\nA [Passport](http://passportjs.org/) strategy for authenticating with a\n[JSON Web Token](http://jwt.io).\n\nThis module lets you authenticate endpoints using a JSON web token. It is\nintended to be used to secure RESTful endpoints without sessions.\n\n## Supported By\n\nIf you want to quickly add secure token-based authentication to Node.js apps, feel free to check out Auth0's Node.js SDK and free plan at [auth0.com/developers](https://auth0.com/developers?utm_source=GHsponsor&utm_medium=GHsponsor&utm_campaign=passport-jwt&utm_content=auth) <img alt='Auth0 Logo' src='https://s3.amazonaws.com/passport-jwt-img/Auth0+logo.svg'/>\n\n## Install\n\n    npm install passport-jwt\n\n## Usage\n\n### Configure Strategy\n\nThe JWT authentication strategy is constructed as follows:\n\n    new JwtStrategy(options, verify)\n\n`options` is an object literal containing options to control how the token is\nextracted from the request or verified.\n\n* `secretOrKey` is a string or buffer containing the secret\n  (symmetric) or PEM-encoded public key (asymmetric) for verifying the token's\n  signature. REQUIRED unless `secretOrKeyProvider` is provided.\n* `secretOrKeyProvider` is a callback in the format `function secretOrKeyProvider(request, rawJwtToken, done)`,\n  which should call `done` with a secret or PEM-encoded public key (asymmetric) for the given key and request combination.\n  `done` accepts arguments in the format `function done(err, secret)`. Note it is up to the implementer to decode rawJwtToken.\n  REQUIRED unless `secretOrKey` is provided.\n* `jwtFromRequest` (REQUIRED) Function that accepts a request as the only\n  parameter and returns either the JWT as a string or *null*. See\n  [Extracting the JWT from the request](#extracting-the-jwt-from-the-request) for\n  more details.\n* `issuer`: If defined the token issuer (iss) will be verified against this\n  value.\n* `audience`: If defined, the token audience (aud) will be verified against\n  this value.\n* `algorithms`: List of strings with the names of the allowed algorithms. For instance, [\"HS256\", \"HS384\"].\n* `ignoreExpiration`: if true do not validate the expiration of the token.\n* `passReqToCallback`: If true the request will be passed to the verify\n  callback. i.e. verify(request, jwt_payload, done_callback).\n* `jsonWebTokenOptions`: passport-jwt is verifying the token using [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken).\nPass here an options object for any other option you can pass the jsonwebtoken verifier. (i.e maxAge)\n\n`verify` is a function with the parameters `verify(jwt_payload, done)`\n\n* `jwt_payload` is an object literal containing the decoded JWT payload.\n* `done` is a passport error first callback accepting arguments\n  done(error, user, info)\n\nAn example configuration which reads the JWT from the http\nAuthorization header with the scheme 'bearer':\n\n```js\nvar JwtStrategy = require('passport-jwt').Strategy,\n    ExtractJwt = require('passport-jwt').ExtractJwt;\nvar opts = {}\nopts.jwtFromRequest = ExtractJwt.fromAuthHeaderAsBearerToken();\nopts.secretOrKey = 'secret';\nopts.issuer = 'accounts.examplesoft.com';\nopts.audience = 'yoursite.net';\npassport.use(new JwtStrategy(opts, function(jwt_payload, done) {\n    User.findOne({id: jwt_payload.sub}, function(err, user) {\n        if (err) {\n            return done(err, false);\n        }\n        if (user) {\n            return done(null, user);\n        } else {\n            return done(null, false);\n            // or you could create a new account\n        }\n    });\n}));\n```\n\n### Extracting the JWT from the request\n\nThere are a number of ways the JWT may be included in a request.  In order to remain as flexible as\npossible the JWT is parsed from the request by a user-supplied callback passed in as the\n`jwtFromRequest` parameter.  This callback, from now on referred to as an extractor,\naccepts a request object as an argument and returns the encoded JWT string or *null*.\n\n#### Included extractors\n\nA number of extractor factory functions are provided in passport-jwt.ExtractJwt. These factory\nfunctions return a new extractor configured with the given parameters.\n\n* ```fromHeader(header_name)``` creates a new extractor that looks for the JWT in the given http\n  header\n* ```fromBodyField(field_name)``` creates a new extractor that looks for the JWT in the given body\n  field.  You must have a body parser configured in order to use this method.\n* ```fromUrlQueryParameter(param_name)``` creates a new extractor that looks for the JWT in the given\n  URL query parameter.\n* ```fromAuthHeaderWithScheme(auth_scheme)``` creates a new extractor that looks for the JWT in the\n  authorization header, expecting the scheme to match auth_scheme.\n* ```fromAuthHeaderAsBearerToken()``` creates a new extractor that looks for the JWT in the authorization header\n  with the scheme 'bearer'\n* ```fromExtractors([array of extractor functions])``` creates a new extractor using an array of\n  extractors provided. Each extractor is attempted in order until one returns a token.\n\n### Writing a custom extractor function\n\nIf the supplied extractors don't meet your needs you can easily provide your own callback. For\nexample, if you are using the cookie-parser middleware and want to extract the JWT in a cookie\nyou could use the following function as the argument to the jwtFromRequest option:\n\n```js\nvar cookieExtractor = function(req) {\n    var token = null;\n    if (req && req.cookies) {\n        token = req.cookies['jwt'];\n    }\n    return token;\n};\n// ...\nopts.jwtFromRequest = cookieExtractor;\n```\n\n### Authenticate requests\n\nUse `passport.authenticate()` specifying `'JWT'` as the strategy.\n\n```js\napp.post('/profile', passport.authenticate('jwt', { session: false }),\n    function(req, res) {\n        res.send(req.user.profile);\n    }\n);\n```\n\n### Include the JWT in requests\n\nThe method of including a JWT in a request depends entirely on the extractor\nfunction you choose. For example, if you use the `fromAuthHeaderAsBearerToken`\nextractor, you would include an `Authorization` header in your request with the\nscheme set to `bearer`. e.g.\n\n    Authorization: bearer JSON_WEB_TOKEN_STRING.....\n\n## Migrating\n\nRead the [Migration Guide](docs/migrating.md) for help upgrading to the latest\nmajor version of passport-jwt.\n\n## Tests\n\n    npm install\n    npm test\n\nTo generate test-coverage reports:\n\n    npm install -g istanbul\n    npm run-script testcov\n    istanbul report\n\n## License\n\nThe [MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2015 Mike Nicholson\n","readmeFilename":"README.md","users":{"jk6":true,"n370":true,"nazy":true,"bengi":true,"panlw":true,"71emj1":true,"raciat":true,"wisetc":true,"yl2014":true,"zrisha":true,"ayoungh":true,"imsovru":true,"jdimsey":true,"kkho595":true,"mshwery":true,"mtgibbs":true,"roket84":true,"yangwao":true,"akinhwan":true,"ecomuere":true,"fabioper":true,"iamninad":true,"jonathas":true,"mhaidarh":true,"achaudhry":true,"alexcoady":true,"fleischer":true,"jetbug123":true,"mjurincic":true,"npmmurali":true,"rankun203":true,"rossdavis":true,"sasquatch":true,"theaklair":true,"zeroth007":true,"chirag8642":true,"langri-sha":true,"rocket0191":true,"ryuchihoon":true,"octetstream":true,"riyadhalnur":true,"stellarnode":true,"thangakumar":true,"abhijitkalta":true,"ivan.marquez":true,"norbertparti":true,"rexfordkelly":true,"serge-nikitin":true,"vivek.vikhere":true,"joshuadavidson":true,"yazanrawashdeh":true,"charlietango592":true,"jkabore":true}}