{"_id":"express-bearer-token","_rev":"29-96b0a2aee2efe4d6d091189a1faeb38c","name":"express-bearer-token","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"express-bearer-token","version":"1.0.0","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@1.0.0","maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/express-bearer-token","bugs":{"url":"https://github.com/tkellen/express-bearer-token/issues"},"dist":{"shasum":"5bd1cc0cb6c850bcf4c0a905a68b4eff774b6369","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-1.0.0.tgz","integrity":"sha512-dl3zqxmy97dz9wFnriLfk58lZo2WKYstsSuEnW35Wc8hNxX8EX4fLDRU1KafdoZ0rJ2zY5qvkKlTyQXC2fuIgw==","signatures":[{"sig":"MEUCICs7WyAGJre2i+zBuayzRCRPWAIl3H0g/C/UtmRdanA/AiEAwOoYI0phosWkUXyCKz20MYhv3WsKFpQUeLlvAtlb6DY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"5bd1cc0cb6c850bcf4c0a905a68b4eff774b6369","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"3742e508648a4ed75644f079a2f4f961e45f7f1f","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"licenses":[{"url":"https://github.com/tkellen/express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/express-bearer-token.git","type":"git"},"_npmVersion":"2.0.0","description":"Bearer token middleware for express.","directories":{},"devDependencies":{"chai":"1.9.1","mocha":"1.18.2"}},"1.0.1":{"name":"express-bearer-token","version":"1.0.1","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@1.0.1","maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/express-bearer-token","bugs":{"url":"https://github.com/tkellen/express-bearer-token/issues"},"dist":{"shasum":"1b9486a64ace5fa86d263c1a6b6a7e91e5c3b7d6","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-1.0.1.tgz","integrity":"sha512-4xPvzjBVsbxzFHQ0Fje/XaC0C27vQT8qBy8pP3qoz8UpFzniziRVjBPcv9KKrQ9ZHAKr28FaPrrAT7Pnvd7ZmA==","signatures":[{"sig":"MEQCIH4otRv+n/Q9GBZCKl83R9MIt0MDqGZFSOWI6D3XRAzZAiBCaCLdrAYrq6Hgs9/EwDmnJnppIr882DI5dUuAd7Gi2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1b9486a64ace5fa86d263c1a6b6a7e91e5c3b7d6","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"5e2d5f5666bea5dd1d395dfc88ea422ed2e2f68f","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"licenses":[{"url":"https://github.com/tkellen/express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/express-bearer-token.git","type":"git"},"_npmVersion":"2.0.0","description":"Bearer token middleware for express.","directories":{},"devDependencies":{"chai":"1.9.1","mocha":"1.18.2"}},"2.0.0":{"name":"express-bearer-token","version":"2.0.0","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.0.0","maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/express-bearer-token","bugs":{"url":"https://github.com/tkellen/express-bearer-token/issues"},"dist":{"shasum":"7d84bee83feb21926fb7a3d89a537d97480b2a27","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.0.0.tgz","integrity":"sha512-ZswkULGqYcrW4UjBM10QOEz7X8dFd9i/J0SQrjgXMgPwS9yDemmQHEgKCTT/MsJUdMvykaYMiYvPgzXiJzweXw==","signatures":[{"sig":"MEYCIQDaDruHDs7V9/vs0zH/Qk4U8rjtGcFDnE/4OqbFFB+F+QIhAPPL4n/8QtvjYHj9K8iEUhyuCXNBoErRyny9+BwJMWR1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7d84bee83feb21926fb7a3d89a537d97480b2a27","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"816f67cd2101154ebd28b94ddc125e68ec09ad86","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"licenses":[{"url":"https://github.com/tkellen/express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/express-bearer-token.git","type":"git"},"_npmVersion":"2.0.0","description":"Bearer token middleware for express.","directories":{},"devDependencies":{"chai":"1.9.1","mocha":"1.18.2"}},"2.0.1":{"name":"express-bearer-token","version":"2.0.1","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.0.1","maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/node-express-bearer-token","bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"dist":{"shasum":"8b3fd71552273f30e470bb2aebfc7d7de7792de3","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.0.1.tgz","integrity":"sha512-nCQS29xogQOWvj/J4ZXpI5cmw3a3jl7BuaQlETHIMi61OPL2Hld8iKwupXs84WD1OlzHtk3RFTSpAlmYaGMz3Q==","signatures":[{"sig":"MEUCIHZJvUwTK6G9mANJq5NqmfjIxn6FLKCR57X6XSpJj6kwAiEAsn5Gt29vgtTQq5gejhdNCgEX7byjYN7JJgQU+4JbYNA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8b3fd71552273f30e470bb2aebfc7d7de7792de3","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"494b1de7a78a83c2f3cad1958eb5a04a33bf8075","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"licenses":[{"url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/node-express-bearer-token.git","type":"git"},"_npmVersion":"2.0.0","description":"Bearer token middleware for express.","directories":{},"devDependencies":{"chai":"1.9.1","mocha":"1.18.2"}},"2.1.0":{"name":"express-bearer-token","version":"2.1.0","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.1.0","maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"},{"name":"bobholt","email":"bobholt@gmail.com"}],"homepage":"https://github.com/tkellen/node-express-bearer-token","bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"dist":{"shasum":"d5c823c4d180f9d2b08798fced3dde9cc9c4906e","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.1.0.tgz","integrity":"sha512-CPq1yeDCdkrybg/+QMtCSTseWdkGBtZ21cqppoKCq/YwvfYRUgnjnE7JaXCUm11sEfnJdud9H2XYVvWVw8F1rg==","signatures":[{"sig":"MEUCIF6JZUS8zdvbaS/8VKjKwrsxuN+wIphl0cQV/lcDRE0iAiEAk44gYUp1jYnmsb1KrUuWL6bQgbD1mRcccFl3Z+NdomA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"d5c823c4d180f9d2b08798fced3dde9cc9c4906e","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"0da4700f6e0d823c3480acff5ec09326a584b978","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"bobholt","email":"bobholt@gmail.com"},"licenses":[{"url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/node-express-bearer-token.git","type":"git"},"_npmVersion":"1.4.28","description":"Bearer token middleware for express.","directories":{},"devDependencies":{"chai":"1.9.1","mocha":"1.18.2"}},"2.1.1":{"name":"express-bearer-token","version":"2.1.1","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.1.1","maintainers":[{"name":"madhums","email":"madhums8@gmail.com"},{"name":"bobholt","email":"bobholt@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/node-express-bearer-token","bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"dist":{"shasum":"c66ae99867fea56ef25760b9feda179f783e708d","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.1.1.tgz","integrity":"sha512-o0WdHkdzw/gJ0vHc8gTJt167p4pId5KE31HtN+npvFy9m5+Cj1EvNTvdIdI/5hj9zvExogQRgG/QnXF8Gyx7/g==","signatures":[{"sig":"MEYCIQCnik/g0jEs5WfL7z6pk3zFbGnxjLUuH+mEvvoJ+yZ4dQIhAL6vPcp9PTOuK2u29log+8J92hBPn59zXj5FUDAayeUq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"a236f9c2551d22dd197cd2538d391f203b718c60","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"madhums","email":"madhums8@gmail.com"},"licenses":[{"url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/node-express-bearer-token.git","type":"git"},"_npmVersion":"5.5.1","description":"Bearer token middleware for express.","directories":{},"_nodeVersion":"8.9.0","devDependencies":{"chai":"1.9.1","mocha":"1.18.2"},"_npmOperationalInternal":{"tmp":"tmp/express-bearer-token-2.1.1.tgz_1512596697891_0.14818809600546956","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"express-bearer-token","version":"2.2.0","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.2.0","maintainers":[{"name":"bobholt","email":"bobholt@gmail.com"},{"name":"jjdbrinker","email":"janjoost@agonos.org"},{"name":"madhums","email":"madhums8@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/node-express-bearer-token","bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"dist":{"shasum":"9e01bbb8a29791f1dc317e168543acac76bc989f","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.2.0.tgz","fileCount":9,"integrity":"sha512-w4A62k6modqSlE/CJzurj2YwisoVHWqrXiNs5P+CZD7MFORbcsOBbpjD3SGGKEW44R46Kps3QopaICE6p7dORw==","signatures":[{"sig":"MEUCIAIPVkKQypN5NHmO0PifHapXosx194AtjeVnvOraD/IFAiEApFSC7Q6EQx3DUuSX/76ksgZiKoPLHn8knH31ft2AtYA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVJDhCRA9TVsSAnZWagAAS+4P/2VcicZFk2LVgsW6ycJc\nxGl2UlW1EH90fsryC468Jv0NZGNvpwx/2ZfM8Jtmkk2vi2QYzuHJxd4wfE0l\neA8udHNimQF6kbQOgRLJ7BvazFPNscWuKLBHeepMGb9GVMHBC7v40SdmL9ub\nmv6Ej9DboWwTqeamswCxPgu4v41DYkgfIE6g28lvwf7TkLbiaRWD5WR71bs0\nhR80gw1lYyDwwb1JAShT7I5sUJgjp2KOTTgY2oq3cpI+GoSQnhauu0XuZcE0\n+Fhuf6OzWNf8I1RMT3W8u8Etv1eAqovLbcygj/2Vz6sOAWcYiCcRkmGDISw8\nGYoFUIxujuA+f7lj2b7mt+mnZfMisQUG/K40xFN4fyyvON5QcltA9bJBvgBL\nF/RHsXUXeIRiz526mY9tN0r8A6aTmQkkYdVmlBnbft+HZXdQx06+Zi0NRueo\ncwK9KdKHW3fKq9vsWeFKFn4Usaz4Pn0erELPW5WRUe07gYav3WPMOvgGskJ/\nSp0dp88Sai2ifNtVYe8jadNo9iqu60ZWDy2eiuCkti0ZcGkVIRW7bTpGttFi\nwvP5fe3BAm/bdK3+DGrUbRgPqq1Cb5vz9q5enFeyrVIdZRugV27BbLWi2wnL\nkmHfNizGOTm19ie1a1oMJSKkX+4GkVJw8nEmDTIAKpLcee/D9Tc+FTLah1di\ngoOb\r\n=OAmP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 0.10.0"},"gitHead":"c1efdf388526bebff6ec8f9b634d77d8ace02f34","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"jjdbrinker","email":"janjoost@agonos.org"},"licenses":[{"url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/node-express-bearer-token.git","type":"git"},"_npmVersion":"5.8.0","description":"Bearer token middleware for express.","directories":{},"_nodeVersion":"8.9.3","_hasShrinkwrap":false,"devDependencies":{"chai":"1.9.1","mocha":"1.18.2"},"_npmOperationalInternal":{"tmp":"tmp/express-bearer-token_2.2.0_1532268769723_0.4404727846558696","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"express-bearer-token","version":"2.3.0","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.3.0","maintainers":[{"name":"bobholt","email":"bobholt@gmail.com"},{"name":"dimensi","email":"eddimensi@gmail.com"},{"name":"jjdbrinker","email":"janjoost@agonos.org"},{"name":"madhums","email":"madhums8@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/node-express-bearer-token","bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"dist":{"shasum":"3826572be958974f63248e5d0cae629ed6e49904","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.3.0.tgz","fileCount":9,"integrity":"sha512-sScdlhFw+/Hrj9FMPf9dkp05fPK+XEr7Ho4DmxizeeuA0jF8/9B9WoHagmZuqHE9HNvJr2ek7SyMYLhwgoPUkg==","signatures":[{"sig":"MEYCIQC+SiJVCAc5XJqeVMUptXcVygl85L0iMl0qA6BUsW32KwIhAINKQalSflmFgf3NyIIpP4aYLunYwiRSBg2a6gIFzlFu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqKn4CRA9TVsSAnZWagAAHnsP/0QsWmiSqfy87dQq3Xej\n8H6xSvZCyYihjFn7sSLg+X1R695es07IIZd0LfM2KjJrh+rubM+TrhZnGpkf\nlq7DEZUKoddxa8D03rQcKW5b6uE4KmAOcYPtcJ39Ukdd1W4N77fvBrlzXxjv\nrxdNaucrSkB4JjMsKGIsf8KVG+vt8c/YNk+KNNVVGBHMyq2RPg+PHh2FKzOz\nh5ciBscCeZUfQL8ivASwOK+2l7aAX03ZEowfJ7bznY5Mw+jQXgPassrzTn9r\nHpsVkXnNRfUj2n7PbYGaZ81hRahw3/yv4RkngoSwNoDb5U0bURsnEgvuNg4P\nUkNChoW4nRuplOC5raqABe8+8fJMo5SHL3Gr5hVEIhVGxeDapqgwJH1Ji3i9\nhdkDjqF+yzKH5NxABCEwQq4DQ8M91xhH2ZU2zXrbsmCay12aF9QyhE0juLIp\n3zNyjLCxATY6C/0eN2cWt8p4xmjSiPXQW72YYobPanusgG9ameLqlsQLydFR\nnHe7bF/xvNcimNCxp4vfd0ncaUV8XuF/oJw3DxMGICU1s1OmG2nfjHKZ4IRZ\nkNAuEmQOs4dml2MPw6kbquq/YOoaxqCt0f20jwM6+sDcksEVGXslg1sAcfjR\n/p5URoWz9cY6RwHZtJaGBYdw7VLH3rkPfcmJwf9AZ3x3JlqS1wEQXEYDPIkU\n5RVa\r\n=7Ep6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 6.0.0"},"gitHead":"cc6ad572b08ba9c62dd8d63ad6736db358e9e5bb","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"dimensi","email":"eddimensi@gmail.com"},"licenses":[{"url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/node-express-bearer-token.git","type":"git"},"_npmVersion":"6.9.0","description":"Bearer token middleware for express.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"cookie":"^0.3.1","cookie-parser":"^1.4.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"1.9.1","mocha":"1.18.2","cookie-signature":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/express-bearer-token_2.3.0_1554557431821_0.5269343863999796","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"express-bearer-token","version":"2.4.0","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"_id":"express-bearer-token@2.4.0","maintainers":[{"name":"bobholt","email":"bobholt@gmail.com"},{"name":"dimensi","email":"eddimensi@gmail.com"},{"name":"jjdbrinker","email":"janjoost@agonos.org"},{"name":"madhums","email":"madhums8@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"homepage":"https://github.com/tkellen/node-express-bearer-token","bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"dist":{"shasum":"f4d9d5a1e318953445e7f0d2bde00bb96d21c95a","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-2.4.0.tgz","fileCount":10,"integrity":"sha512-2+kRZT2xo+pmmvSY7Ma5FzxTJpO3kGaPCEXPbAm3GaoZ/z6FE4K6L7cvs1AUZwY2xkk15PcQw7t4dWjsl5rdJw==","signatures":[{"sig":"MEYCIQCI6hRY4QBo3HO9lpqtRvSza2znGLOuxTAaNyAP4GKQKwIhAP+Dg2I20gC4cAOjFAj5qyc27MH2npWMCTzFCjaelSOv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqKqCCRA9TVsSAnZWagAASDMP/jfhUhUaOJf25fkcnFCj\nxqABhQKO8TnEJ8gtx/ZStgSGhpkfitSQguudX4ztinsDs3QLXsLo2CSNQVjN\nVxxSZVUB6Gs5ep/NIx7+Lpo65qpbT+S18U3mliA72e6wQjTBZBCBXzJcBeXR\nTLFVykEjmzIKPFCvCq3CkkO4aHUVsGMvtOTLvLJPlu8fmM8IWQDVi+sB+AKd\nhfHLwvI5XbjrXjUO65+g7rCTEYq+7tlP+GCmLop1kJMgZ4jpr/loUN/n5Y9+\nnFqIjl1C/ytMcLU9IXsy6GmPDaKMDvnA5jYyDfFCabnP6HcUFt6ZkrPLiv/o\ntU6Y7+J3dEQdRNQ7FX4g/iSiuB37B934ANl82IZehxX3iqTVfsUbHXZwevfi\nBFiIbK3cUOCxrhshmPqlPKICxZ3cX3NfVRJ5SJwHvEUT+Dy6XhddkHDmKq1j\n6JX3QbpeTZ6YSy0n339STruAqceikFvSxfOHrwZXVRpU00mfDvSIBxeaHf94\nKxQU6Om02G326/9T2HSOZmwtcer8Z7bvIPHf5LluimugqIXrLhB3JyWNmCVs\nPPLqYZ5KfUSOTM0DCSzjVhYZMnsx2ULeE+uA3yMpphG0Iqe3HAUuYqeuaZrD\nADg8Fg3tNOKkVmKcHjgy7ikW9QnkRs3hCi7fEfmVSWLKA6ibiPBKHrgBebh8\nYTFo\r\n=bTZZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","authors":["Tyler Kellen <tyler@sleekcode.net>"],"engines":{"node":">= 6.0.0"},"gitHead":"8c2783c626e9ddf8bc258ee4d1b5e1686cbd8844","scripts":{"test":"mocha -R spec test"},"_npmUser":{"name":"dimensi","email":"eddimensi@gmail.com"},"licenses":[{"url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE","type":"MIT"}],"repository":{"url":"git://github.com/tkellen/node-express-bearer-token.git","type":"git"},"_npmVersion":"6.9.0","description":"Bearer token middleware for express.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"cookie":"^0.3.1","cookie-parser":"^1.4.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.0.2","cookie-signature":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/express-bearer-token_2.4.0_1554557569883_0.0658816818745509","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"express-bearer-token","description":"Bearer token middleware for express.","version":"3.0.0","homepage":"https://github.com/tkellen/node-express-bearer-token","authors":["Tyler Kellen <tyler@sleekcode.net>","Thomas Boutell <tom@apostrophecms.com>"],"repository":{"type":"git","url":"git://github.com/tkellen/node-express-bearer-token.git"},"bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-express-bearer-token/blob/master/LICENSE"}],"keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"main":"index.js","engines":{"node":">= 6.0.0"},"scripts":{"test":"mocha -R spec test"},"devDependencies":{"chai":"^4.2.0","cookie-signature":"^1.1.0","mocha":"^10.8.2"},"dependencies":{"cookie":"^1.0.1","cookie-parser":"^1.4.4"},"_id":"express-bearer-token@3.0.0","gitHead":"47e70116d0e64d9c5e490a7e57e4e9e1c03cd953","types":"./index.d.ts","_nodeVersion":"18.20.4","_npmVersion":"10.9.0","dist":{"integrity":"sha512-bW51OGRAQHZYPHoxTFaIqWNDPSRri0OSFktB4dcHNAxvuSjqQP1CE6WUxpdJscKlkQe7cemRR+z7fg4GYfmJ2g==","shasum":"ba9da54e25e748afa55c0b2dc53ba2664abf7a80","tarball":"https://registry.npmjs.org/express-bearer-token/-/express-bearer-token-3.0.0.tgz","fileCount":10,"unpackedSize":13452,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlOkHgV8hQNK166tfiaFs0lQ5LQ43qUMu+wUHvTdzp8QIhALmRvPVHfU12Y2y7QVY5yQtVeWo4ZH8wGSho1goelrQk"}]},"_npmUser":{"name":"boutell","email":"tom@apostrophecms.com"},"directories":{},"maintainers":[{"name":"moshe","email":"me@moshe.io"},{"name":"tkellen","email":"tyler@sleekcode.net"},{"name":"boutell","email":"tom@apostrophecms.com"},{"name":"madhums","email":"me@madhums.me"},{"name":"dimensi","email":"eddimensi@gmail.com"},{"name":"mkormendy","email":"mike@somethinginteractive.com"},{"name":"jjdbrinker","email":"janjoost@agonos.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-bearer-token_3.0.0_1731344911028_0.30054237375009896"},"_hasShrinkwrap":false}},"time":{"created":"2014-10-01T20:15:52.563Z","modified":"2024-11-11T17:08:31.490Z","1.0.0":"2014-10-01T20:15:52.563Z","1.0.1":"2014-10-01T20:17:09.240Z","2.0.0":"2014-10-01T20:48:05.710Z","2.0.1":"2014-11-13T14:37:35.298Z","2.1.0":"2015-01-21T16:35:54.582Z","2.1.1":"2017-12-06T21:44:58.833Z","2.2.0":"2018-07-22T14:12:49.787Z","2.3.0":"2019-04-06T13:30:32.086Z","2.4.0":"2019-04-06T13:32:50.035Z","3.0.0":"2024-11-11T17:08:31.306Z"},"bugs":{"url":"https://github.com/tkellen/node-express-bearer-token/issues"},"homepage":"https://github.com/tkellen/node-express-bearer-token","keywords":["bearer token","bearer token middleware","express token","authorization bearer"],"repository":{"type":"git","url":"git://github.com/tkellen/node-express-bearer-token.git"},"description":"Bearer token middleware for express.","maintainers":[{"name":"moshe","email":"me@moshe.io"},{"name":"tkellen","email":"tyler@sleekcode.net"},{"name":"boutell","email":"tom@apostrophecms.com"},{"name":"madhums","email":"me@madhums.me"},{"name":"dimensi","email":"eddimensi@gmail.com"},{"name":"mkormendy","email":"mike@somethinginteractive.com"},{"name":"jjdbrinker","email":"janjoost@agonos.org"}],"readme":"# express-bearer-token [![Build Status](https://secure.travis-ci.org/tkellen/js-express-bearer-token.png)](http://travis-ci.org/tkellen/js-express-bearer-token)\n> Bearer token middleware for express.\n\n[![NPM](https://nodei.co/npm/express-bearer-token.png)](https://nodei.co/npm/express-bearer-token/)\n\n## What?\n\nPer [RFC6750] this module will attempt to extract a bearer token from a request from these locations:\n\n* The key `access_token` in the request body.\n* The key `access_token` in the request params.\n* The value from the header `Authorization: Bearer <token>`.\n* (Optional) Get a token from cookies header with key `access_token`.\n\nIf a token is found, it will be stored on `req.token`.  If one has been provided in more than one location, this will abort the request immediately by sending code 400 (per [RFC6750]).\n\n```js\nconst express = require('express');\nconst bearerToken = require('express-bearer-token');\nconst app = express();\n\napp.use(bearerToken());\napp.use(function (req, res) {\n  res.send('Token '+req.token);\n});\napp.listen(8000);\n```\n\nFor APIs which are not compliant with [RFC6750], the key for the token in each location is customizable, as is the key the token is bound to on the request (default configuration shown):\n```js\napp.use(bearerToken({\n  bodyKey: 'access_token',\n  queryKey: 'access_token',\n  headerKey: 'Bearer',\n  reqKey: 'token',\n  cookie: false, // by default is disabled\n}));\n```\n\nGet token from cookie key (it can be signed or not)\n\n**Warning**: by __NOT__ passing `{signed: true}` you are accepting a non signed cookie and an attacker might spoof the cookies. so keep in mind to use signed cookies\n```js\napp.use(bearerToken({\n  cookie: {\n    signed: true, // if passed true you must pass secret otherwise will throw error\n    secret: 'YOUR_APP_SECRET',\n    key: 'access_token' // default value\n  }\n}));\n\n```\n\nAs of version 2.2.0 we've added initial support for TypeScript. \n\n[RFC6750]: https://tools.ietf.org/html/rfc6750\n","readmeFilename":"README.md","users":{"romajs":true,"jmsherry":true,"dillonace":true,"rocket0191":true,"rhysgoehring":true,"mateussampsouza":true}}