{"_id":"express-jwt-authz","_rev":"153-181a2d8f3993d9b579b6309bc4e400f8","name":"express-jwt-authz","dist-tags":{"latest":"2.4.1"},"versions":{"1.0.0":{"name":"express-jwt-authz","version":"1.0.0","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@1.0.0","maintainers":[{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"26155700fa2485bd3e9ace3e6bb14573d45be5a4","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-1.0.0.tgz","integrity":"sha512-VPYNrWRXySJEyk02HWy2a5cgm8r6Kk/C4eJrwbgGmRYDiy/D2ER4WFxC6UmYXiCiOxHlLe9/uulGMmG1OECc6w==","signatures":[{"sig":"MEYCIQDBamorM7/DruM/IbqkH/UzgNM3Oro1CpgOxiRSVs1pEwIhALQItCMCrP1DxC9GeXHjUO+lVTkjdtncd0n35ILrO87T","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"26155700fa2485bd3e9ace3e6bb14573d45be5a4","gitHead":"73ec43482470c4286707c1f1aba5974afe00f978","scripts":{"test":"mocha"},"_npmUser":{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"2.15.3","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"4.2.4","devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz-1.0.0.tgz_1464030571646_0.2732356199994683","host":"packages-16-east.internal.npmjs.com"}},"2.1.0":{"name":"express-jwt-authz","version":"2.1.0","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.1.0","maintainers":[{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"60e3b9d3546892ac6fb7f6d7f0d887cdd52deeef","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.1.0.tgz","fileCount":9,"integrity":"sha512-4lC8i3L7RH9UjMJIwoBdHWbZBSxjETBsMsUOlE1JEVZzaUb/xsyaFN0Gaffwd/jYHpybDqZVuVGlfgNJN+aQcQ==","signatures":[{"sig":"MEYCIQC9DXKpCqhpSFMa0VzTgroNIraRmJCX4sJbCKhuQrOadAIhAKMNUfMBWzCfRe0QMqYHHL1dE00g7AeVkrLu8FAUvnQH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccCnNCRA9TVsSAnZWagAAK6gP/35ZoUQn5hVWOGw8yeBU\nYDn20ylHqHOu9qvWHRkls+45+rKDH6CXSOWKMk3bLomZFpY5Clb0p7rgH/4k\nf4QCexzaHimBcs2ufCWByp1xDxryHkH3QZyAMG52T1k1zNJsKJ8MFTRgNulx\nqahVtHvaGwm/6OV26vRe2O+14Rx2lfBuPMYEBAwi9KgXCSnLrIIhTrXMYw5N\nyqHG/a2WHUCjWRJblztgFcXsZ8b7oQUawgAX4rDDZEuR1d1BDhFL6hhXCgqY\nTSBReu1Um4sYipFh/o9Bp1WfpJ80fD3Y85a4LJY4oSgX3GsvcbEvE3CJQlyH\n5X+l1/fcyraknY7KnTv7iLj/6bvXrfxJhSenuvpa8U1QSPn+Jh0WDvs7/6Ku\nf9ZXhvlN6qauzd8DoEbQUtYMIdoE9aKS3YF+N2CU8zmhG5sxryqUpyIK61MP\nR7R7h0Ffl+GJPxlAYRhJJWs0zmxSD7/mvxH3qEhews8q90KIiv3kG77I+yAb\nEQHnYD1Xk9qI3UIZiEjZrEmZKRef/iYAnsb1lMrMmHBKyjtNmqkC8EU2rLUe\nUzsBbklKLG5IE+KtSsStQoDYjfoWpT9DC6rq4hTsOqxQfOHeTZ/ELafHegGW\nqVLsZ625kFtDKgSYP+a1FEuew/1tuTLkLQrHEtdPG4GX/Ra2fbcqKO+4MvCp\nTISZ\r\n=eEn5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"engines":{"node":">=6"},"gitHead":"13667982de6d131c59debca39894a547d0788c38","scripts":{"test":"mocha"},"_npmUser":{"name":"luisrudge","email":"luis@luisrudge.net"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.4.1","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.2","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.1.0_1550854604589_0.2751007323386381","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"express-jwt-authz","version":"2.1.1","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.1.1","maintainers":[{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"a0ab0ecd5d0fcc336822a66a13eb3c1035d6c772","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.1.1.tgz","fileCount":9,"integrity":"sha512-e/G54dbPRvrmZl706eaS+LEcUdk2fErQcs2x2CDq8X0OMa0rgAOXily7mntSUclcFkM1Y1uCVxpfvC/3OPzYEg==","signatures":[{"sig":"MEYCIQDSCOapnPyIwWl+iajtnYJAbmyqDqwN53pDWvnd0LqIrwIhAOQHu1YMMQ3tF2Nn5Cq0gNoszD8UQ2/ihLxWjXM87MFY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcd+RHCRA9TVsSAnZWagAAaw0P/R+wF7bx9nOT4gvWhzZu\nDmB2V05yoeFsOCe/TjnN/qck4iudRW2C5uO11VsSHihbxalVbJGy4NhGWXLV\nfT8B1LYBRN9nPAN6qBYbAZCfswGf9MvEjmnfHpvKOqt9Lgjy0pQjWVWQgwS2\nsEZeJHzCfyElNrAbXxlbShYk9aNy4lO+NE8wJCPNLkZhIXYPrVMYLyZGLl/q\nVzAzo7aE0uxP+yvsHv4+1neqcWMqRzkUnUAGvWzsXyEjM5KatUpGFz/kObHz\n68wLdci6gOlcKjSLrNWvFjB+5fG1A+OVeOz8VtXVCcnwByhHkrRPhuqevcaf\nDVmcPHwC6XJUZYl0vB9HgH3ylaJPwBGOUJSuzth9KZoDyA3E2mRQeR80HtG1\nEFdwJOPYM/pFlqbzRsjAdSRAZ37BqwE+6oD8ZP01jBD92jIaKZmTQwC2NAgT\nvl1z8yY/grd1iv1HkQpKEhpxLppZACyPirFBAX07UTT2vsj3g//uBIHFNmXr\nTHvFJjsQvZwUOWbNLoxRN457UOG5KB/38VxSHPqJAsbO6ZeqhImcZCaEisW0\nyWFJH+sxXn1wcdq/hI2J973igQU8aTFP8RwdVgdLl1HpK8BbvZHIpIyGV7NA\nHU+cr23SyOwe0qjPQDxhK2xyhcbGF0bB2G3defF+jkL8AWhZnPlgxWe8Mn3n\nNXb+\r\n=MJgC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"engines":{"node":">=6"},"gitHead":"dbfac36cfe27b4850569e316a058320c9c2c4813","scripts":{"test":"mocha"},"_npmUser":{"name":"luisrudge","email":"luis@luisrudge.net"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.4.1","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"8.15.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.2","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.1.1_1551361094885_0.7803472456133265","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"express-jwt-authz","version":"2.2.0","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.2.0","maintainers":[{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"19e90e31afd81a7db9433e897410b39428f785ea","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.2.0.tgz","fileCount":9,"integrity":"sha512-l0ITXvBSleG+BBv/JOK1Aa8hnRPSy+O5/+Qzdh1Db19R5Dn11C8q6UFP8r7jLqE7AbxYM0pqR2wCPaDIYb9R3w==","signatures":[{"sig":"MEUCIE2Td4xG7Ru2lVcd0pZkga3yWbBTELwxd/reAO/hTj3NAiEAi37eExTrQ03F2tjrwdmZyJ8sw3wI+9rnZB9Yo3+Icq4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjAfACRA9TVsSAnZWagAAbYoP+wfgqSDMXDpOg5TK+KR2\nwIUNEw0dFCqB2AjM4WcXkbAgmLRhURzyovyAN7uKGSBIvzKwDom/hPQqR0dW\nkRhJION1r7yf9txx4gA8BGC9Ky9QwZP4SkOOXeCyFqOqPDTyOUynKOkJt0U3\nt/k7pgYyJP73m7ZvcpiXlKhmgi7O6DYEzztT32n4cXTEIOCOO2Q8+KlYHSrM\nSvBsuZfA6CpbaXq+LH401tbkTSFY99GaaQ95vcbgXhPSFBISHr8TysTzrDzK\neP6rPf6nwqH7UhXJKCSL/xz5qAFXxP0uHQGfA+LltY8Eo/wa6wkpIb4Ql+QC\nzyHSFpsC1gJrk+pbn+dxP39uwVm8FAmN9gtPFHzY03HNAIjlrCdLuyXyXWUF\noxdBxtkHp6mGyIhT8cTlAFYhnLa0Qy0gpB/FLWaWLxzdRH3IsPBRZceBacuu\ngAW4fUJvW6UUwbdCHC3vIT5uwrqpTYAAeJ7QNalan1kbnspERdrKgu71y3YF\nvR97NBomOde/D09/AfA6g0k/3v70lBbmGz+Rudxbe43ej1jZSIBKWONfUnLd\naBhc+TXganmCTd3YzpcdMy+gbOPwqfjiS9MOg4vEZwMN3LU0HX8tbyHjoZWz\nzTMFw/Jz4rwzzkASMGQqx1NBG0hCnoxOGmtXwO0gmAqVd+FA6rPPC5kCOikS\nG6Nv\r\n=zQUe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"engines":{"node":">=6"},"gitHead":"67eaa4c11afcb0d10885b676337d5d0c8b248610","scripts":{"test":"mocha"},"_npmUser":{"name":"luisrudge","email":"luis@luisrudge.net"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.4.1","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"10.15.1","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.2","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.2.0_1552680895882_0.17035882771815025","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"express-jwt-authz","version":"2.3.0","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.3.0","maintainers":[{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"2e757329957cd08d756654704f11435ff0dad77d","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.3.0.tgz","fileCount":9,"integrity":"sha512-sc8Z6QkzoHGvexmxVZ9gvMEw1Xr/dTtbYd0EKBO8zFCz7ljjTBc12oj9rPxvQnGXbrjGE4U6wqHqDLQoMqclXA==","signatures":[{"sig":"MEQCIA0IIvJRlJDR7G4WDeuraa89BuoEb0j0yAqtdXEZzt8vAiAhr4Ja8o85l6JPg9Ja4VOZRpwXloFRF+BxYo8FnhBkLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck5JhCRA9TVsSAnZWagAAnF4P/RlPtXdIPHhuEMnPuWvg\nlD3jBTdkAb74gC7mEcWTM8O8fJ1sXX8xyllBJVXRktBpFEKiBobWslOXtdbJ\nFqSbnG6/9+1c58OJ6gAAjcq/sRDfIj1zIxL/tV7X81vINyNCYkjfBNgMONU/\n1gKr7EmYUBbVtsvA9LSz2mT4msfpHXkexIcA5qotCcP68QirSrKCX7xhmRC7\nStY32bC5SSXGk0itZPFKGTIbuLCikwKmNTuaebDoopBiGDNMWdUlOUGZ+foy\n8VMbt5rsN/cRiO1iIbA7+kFewg0emObUNFLCU5rOQOElkTzPVpN3Q2h6H3lH\nRpcuaDYxs3sUEqDfRNe7hhbgggBmMcjd3NUNGDxQ13vX1c2OnEodP4h5nHgq\npw1RHftZl0K6cbVtxKeh/Ss/0f07kwQAHco4KU33n9lORSEXwETacpZUVsBt\nEp7aYNymQpvx1OGTHKE1trHMssJ1T7S06bN5I4AEDDCEDmunooKVXcmEFVvJ\nwQYzMOJXILQolPQQPKdQydVLLTmd25NEGvu/0mQL7GU0ywfwj44iVtL1xsS1\nspi2dPciLvg70AmW1rTl3mIlj0xeCw7+cqcPXmkgJzb0t/KyCo0U3ie5ZTsI\nWGC51Uts98ZRsn/cXcIpxjV9KyaADuoyEgZWsXQp+O4aJUuSURbQJYAuJeD8\nROq8\r\n=mTh3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"engines":{"node":">=6"},"gitHead":"fc27f4290d20fe43db375f341d437cdd77c4f0f0","scripts":{"test":"mocha"},"_npmUser":{"name":"luisrudge","email":"luis@luisrudge.net"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.4.1","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"10.15.1","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.2","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.3.0_1553175136619_0.8595666511837983","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"express-jwt-authz","version":"2.3.1","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.3.1","maintainers":[{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"b23e5b93646700acf3564a2e33479ae3e217614f","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.3.1.tgz","fileCount":8,"integrity":"sha512-cChqAjXe8E3KDe4XbmkpYpk/vQdy4s3n1ccxVgij+2F0rS86hiOQvTrYnHBc1jZstqpGrOzLgHMByh046fKgyQ==","signatures":[{"sig":"MEQCIEQKfvaYhLk0MgOOAVQ317YEDqwEarfERgpxuo7Omeb+AiBc7b4T3x5VUMynDcnZl8f4BD8+XsItoGnu8Kb1mg1xMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq5VACRA9TVsSAnZWagAAYZYQAKFEfTWa7X4pcpv0jRfs\nLDGfuv1Vk5Eo+kq4HasUow1eJJ/Tosu+8Q+yHpAAS027EzBBr0KZt2YpPsiy\no5+/hCZ6+2B4BqJ5KIkVw6qgbSgO/1njCdZBhd23EbFeClvIt0/4DuOq2FkE\niRlSdlOP5rDDwpq3qcbUt2L1fhJstF9i5PmbJHroFxv/wbVqNlZTvqGw+5OD\nzWSOvhH/JeaYDXZllTyp9AefN4IjsCEi3ltZYFvNY1mT8MBuwMmkB+N5U4Js\nRGHUw/wflSD/tSQutuzSjY2KERt7WRNxk1umJBOy/4mxMvjqkpKwU/CvO76N\nv7EeQ7n8rlvcOzW4NoxfiXRLvbkk2+LcTnbk4OH52/NuyrwPn0fumZpsh6Dm\nZH9+eiz0uqlOBsatLK3VJg/nf5i/y1lp7grqEJVPvH6o1ye6BkHaLcFZ+6YO\nQ/V7uzCPW0GQZGJGxrlA//OXpBO4GktdC4zMYo2ZMRyhmqNWNxtdZCyJ0w2G\n8dIrtNA60svKC2O/1tUHH4XzumEofGRuSENFivioBT8858+5Dqpxwz9PxBxH\nRIzah5puWRfjzSvYRNiPSe4hw0lY9fqqb9Z6yNiY0PvuuSmve5sOixBv0uP7\ndpFQXPjPKMV9j3ETgHMsgBGbAfL+rU7PNVnuDCtPXrSBU99chVQN9C4zzLYi\nRxog\r\n=IGTL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"engines":{"node":">=6"},"gitHead":"276a8d61932ca10bacc9c4b62bf0785118b72d19","scripts":{"test":"mocha"},"_npmUser":{"name":"luisrudge","email":"luis@luisrudge.net"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.9.0","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"10.15.1","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.2","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.3.1_1554748736102_0.48616979509264","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"express-jwt-authz","version":"2.4.0","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.4.0","maintainers":[{"name":"aaguiarz","email":"andres.aguiar@gmail.com"},{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},{"name":"auth0alec","email":"alec.pesola@auth0.com"},{"name":"auth0brokkr","email":"support@auth0.com"},{"name":"auth0npm","email":"devops+npm@auth0.com"},{"name":"bmaxwella0","email":"brandon.maxwell@auth0.com"},{"name":"cocojoe","email":"martin.walsh@gmail.com"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"davidmoses","email":"david.moses@auth0.com"},{"name":"davidpatrick0","email":"david.patrick@auth0.com"},{"name":"donflopez","email":"donflopez@gmail.com"},{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"},{"name":"faroceann","email":"maxhammad@gmail.com"},{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"glena","email":"german.lena@gmail.com"},{"name":"heyitsry","email":"ryan.wilke@auth0.com"},{"name":"hzalaz","email":"hernan@auth0.com"},{"name":"iaco","email":"sebastian.iacomuzzi@gmail.com"},{"name":"jfromaniello","email":"jfromaniello@gmail.com"},{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},{"name":"jstrutz","email":"j@jasonstrutz.com"},{"name":"lbalmaceda","email":"balmacedaluciano@gmail.com"},{"name":"ldoorz","email":"luis.britos-manriquez@auth0.com"},{"name":"luisrudge","email":"luis@luisrudge.net"},{"name":"luuuis","email":"luis@eml.cc"},{"name":"lzychowski","email":"les.zychowski@auth0.com"},{"name":"machuga","email":"machuga+npm@gmail.com"},{"name":"matchai","email":"hello@matchai.me"},{"name":"rob.coles","email":"rob.coles@auth0.com"},{"name":"rosnovsky","email":"artem@rosnovsky.us"},{"name":"sambego","email":"sambellen@gmail.com"},{"name":"sandrinodimattia","email":"sandrino@dimattia.be"},{"name":"shawnmclean","email":"shawnrmclean@gmail.com"},{"name":"stevehobbsdev","email":"steve.hobbs@auth0.com"},{"name":"th3maio","email":"andre.demaio@auth0.com"},{"name":"widcket","email":"zeta@widcket.com"},{"name":"yacine-b","email":"yacine.brahimi@auth0.com"},{"name":"ziluvatar","email":"eduardo.diaz@auth0.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"06cd65d1a18e4d5bb1907c619d38327b6703806e","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.4.0.tgz","fileCount":6,"integrity":"sha512-fYKrC1Wcb/x320JnyU278mg+bSGDT69aa18jgGFhsQ+QgM8JWmKNkiXvaCVuGHp6/vFo3WzO8xpgcEbBHDY24g==","signatures":[{"sig":"MEUCIQD2wAk6YCbxIF2zrayX4U9Ppqi15euoAVbQm3v2Q6ZtYgIgK9dYnkgNufFZZo9Iq4St4zFCD6JN2QK8Euikpdd+9wI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe46UECRA9TVsSAnZWagAA5SkQAIRRQi2TtLHG8qCrk0RM\nS1OUlCRGDo/dyaMDaRb7XzFDwEztawQTLPPSikZOMex+alG09d2Lh3NrrBJQ\nKN4ojjvYytdg+I+rA2gyFH/rplF5NLAx3NnUinQ61OOeUIw4nSJZgmzoqu2m\nQ1XnBbKYltrHRay9Va5Zf7T22fNHC8ucHdvZtHG1mXtpzDY+Np/5lFXZGUn7\nhH3Qz5VdR2EQ+HQiDCBAoTcwLB89nIxYzlUxmYHi7dHsNSZMgodXcj2WG4/o\nRgdtFv9PVMcqM3KNZ21v5VrpvNCkB0w+Hv+LihSKMcJLTsgOpJUz6LY74kXj\n8CrE/aNmyu29qTDQUA8xmZHCfXXm7pXYJnSyFDVqCLGMk+mvVICiRQO+yXYP\n6IOaeYHggkp10dPqY0myrCr6nkGEUF/H0IT60QQt1OIF4Ib0XBetv4ffXbqk\nzUhtFU+cwwOY0wKvJeTDS3QCh6eXqLrpOQ8wxz1W34R7CsLTWLfNJmeYDjZO\nWFDVvzrSFdkFQW1kmk+D15OKRR9MzJtoX2Xd6+vwQoqaY9A/GrlbUcBlS2gr\nJXC+MlBNQft4Mqb7VDqx/t6ZEP+B26Ki5ppGUylPkkL6NZz/OtvRM74qtgjg\n9mrM5LMQqHOO5/xvZ/duowlDkGjDYiimmIz7gbRijRahiBfFFjzzX326GM/X\nQhae\r\n=eh+g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"types":"lib/index.d.ts","engines":{"node":">=6"},"gitHead":"0a50d4e8d00831fa06a13b3b3ca3c69a7a3cf06c","scripts":{"test":"mocha"},"_npmUser":{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.13.7","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"13.10.1","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.4","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0","@types/express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.4.0_1591977220620_0.9410805412213452","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"express-jwt-authz","version":"2.4.1","keywords":["express","jwt","authorization"],"author":{"name":"Damian Schenkelman"},"license":"MIT","_id":"express-jwt-authz@2.4.1","maintainers":[{"name":"aaguiarz","email":"andres.aguiar@gmail.com"},{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},{"name":"auth0alec","email":"alec.pesola@auth0.com"},{"name":"auth0brokkr","email":"support@auth0.com"},{"name":"auth0npm","email":"devops+npm@auth0.com"},{"name":"bmaxwella0","email":"brandon.maxwell@auth0.com"},{"name":"cocojoe","email":"martin.walsh@gmail.com"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"davidmoses","email":"david.moses@auth0.com"},{"name":"davidpatrick0","email":"david.patrick@auth0.com"},{"name":"donflopez","email":"donflopez@gmail.com"},{"name":"dschenkelman","email":"damian.schenkelman@gmail.com"},{"name":"faroceann","email":"maxhammad@gmail.com"},{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"glena","email":"german.lena@gmail.com"},{"name":"heyitsry","email":"ryan.wilke@auth0.com"},{"name":"hzalaz","email":"hernan@auth0.com"},{"name":"iaco","email":"sebastian.iacomuzzi@gmail.com"},{"name":"jfromaniello","email":"jfromaniello@gmail.com"},{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},{"name":"jstrutz","email":"j@jasonstrutz.com"},{"name":"lbalmaceda","email":"balmacedaluciano@gmail.com"},{"name":"ldoorz","email":"luis.britos-manriquez@auth0.com"},{"name":"luisrudge","email":"luis@luisrudge.net"},{"name":"luuuis","email":"luis@eml.cc"},{"name":"lzychowski","email":"les.zychowski@auth0.com"},{"name":"machuga","email":"machuga+npm@gmail.com"},{"name":"matchai","email":"hello@matchai.me"},{"name":"rob.coles","email":"rob.coles@auth0.com"},{"name":"rosnovsky","email":"artem@rosnovsky.us"},{"name":"sambego","email":"sambellen@gmail.com"},{"name":"sandrinodimattia","email":"sandrino@dimattia.be"},{"name":"shawnmclean","email":"shawnrmclean@gmail.com"},{"name":"stevehobbsdev","email":"steve.hobbs@auth0.com"},{"name":"th3maio","email":"andre.demaio@auth0.com"},{"name":"widcket","email":"zeta@widcket.com"},{"name":"yacine-b","email":"yacine.brahimi@auth0.com"},{"name":"ziluvatar","email":"eduardo.diaz@auth0.com"}],"homepage":"https://github.com/auth0/express-jwt-authz#readme","bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"dist":{"shasum":"405b303b3479ad3e862878ac0c08be191040c8e5","tarball":"https://registry.npmjs.org/express-jwt-authz/-/express-jwt-authz-2.4.1.tgz","fileCount":6,"integrity":"sha512-ruH86e2NvWicG9maStztyAyBJV0E8RsInXUm6Kuc/9pDtVJmJw3qigv1MEVs5bH+aksZuxocYZdz+N1V/9F+Dg==","signatures":[{"sig":"MEQCIEcn87mjuqxLw/mVfK5JwSl5ceCak53vkXCW/Hf1yGkTAiBSKtYmGuLrqybEFDliPZ0vOKN/qrvduX/yozLnd2Ja/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2qifCRA9TVsSAnZWagAAjnYP/R6aBAzfO8El+PJ3LWsU\nKsJmtU2Jk8O15vNgQ64A6IYm0adHXgYslKsB9CRs58TFJbtk4khzbmfZyJ5m\nekv3jgCRgb/Grgnvu0vDuJpThjvDS9WsW89t7P30ZUSjzBbXFBKckuUsd8h1\nOkKSBX1QkN8tX8K0g9XMn4YbXKQA4mjRIubUkghMNCcUJyttrXp2e2DI5qCw\n/oZtBOK4WCcSpxhQSIfVhrY15ls9yf0oaWoy7ZUFpAEosThycN52/XIRAC3Y\n3e+5UYdAgc3KyUzG6UrohqI9OwOrFpa3cIk6wPRHqlCc5Y30O6BKSZ+WquJf\nCV0NkLa6t2VB50Kb9sYDubshbr+WjxVoYBTDumPdfZoAjt8XINCnU8ZL7qNK\nygGIRVuZar1sFUbbS77wYjCxsEdOVlVcNZbqP8TRGUwc7B0hwz85NGaNmQxp\n+l+0j8jUdbj9yN+nNY6PDaXGJLcZ8GotwHXkE73cTNOCuApBsrv+U5HyA6Pm\nkZ1+g+nZRH/WT43x/zdm4WOkIAGzJyaVWpaIkYxWWkU1maOFzXsH780r7CgJ\nzS5/AznOw9x0BmsI08kn4awwZc/fS5F3pjPjaW9+dB4CZ9aV3ZLD6lOn65Ak\nvAALFWGdJNndr56NB/mRbh2wINIf+vlYB6FtTCe0j7lV5KwJgu2h69B9seRR\nC8tZ\r\n=urdI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"types":"lib/index.d.ts","engines":{"node":">=6"},"gitHead":"4591867995181a4568fb38f9c4b00c658116a815","scripts":{"test":"mocha"},"_npmUser":{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"_npmVersion":"6.13.7","description":"Validate a JWTs scope to authorize access to an endpoint","directories":{},"_nodeVersion":"13.10.1","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.1.4","mocha":"^5.2.0","prettier":"^1.14.3","pretty-quick":"^1.8.0"},"peerDependencies":{"express":"^4.0.0","@types/express":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-jwt-authz_2.4.1_1595319921118_0.6065619045661161","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-05-23T19:09:32.764Z","modified":"2026-07-14T10:25:59.241Z","1.0.0":"2016-05-23T19:09:32.764Z","2.1.0":"2019-02-22T16:56:44.798Z","2.1.1":"2019-02-28T13:38:14.996Z","2.2.0":"2019-03-15T20:14:56.048Z","2.3.0":"2019-03-21T13:32:16.767Z","2.3.1":"2019-04-08T18:38:56.213Z","2.4.0":"2020-06-12T15:53:40.711Z","2.4.1":"2020-07-21T08:25:21.237Z"},"bugs":{"url":"https://github.com/auth0/express-jwt-authz/issues"},"author":{"name":"Damian Schenkelman"},"license":"MIT","homepage":"https://github.com/auth0/express-jwt-authz#readme","keywords":["express","jwt","authorization"],"repository":{"url":"git+https://github.com/auth0/express-jwt-authz.git","type":"git"},"description":"Validate a JWTs scope to authorize access to an endpoint","maintainers":[{"email":"oss.sdks@auth0.com","name":"auth0-oss"},{"email":"devops+npm@auth0.com","name":"auth0npm"},{"email":"support@auth0.com","name":"auth0brokkr"},{"email":"jesse.le@auth0.com","name":"jessele"},{"email":"jeff.shuman@okta.com","name":"oktajeffoktajeff"},{"email":"brian.s.smith@okta.com","name":"bsmith-auth0"},{"email":"sanjay.manikandhan@okta.com","name":"sanjay.manikandhan"},{"email":"nirmal.joishi@okta.com","name":"nirjo"},{"email":"nil.torres@okta.com","name":"niltorresatko"},{"email":"jaskirat.singh@okta.com","name":"jaskirat_atko"},{"email":"henry.mcardle@okta.com","name":"henry.mcardle"},{"email":"nicolas.villalobos@okta.com","name":"nicolas.villalobos"},{"email":"choah.jung@auth0.com","name":"choah"},{"email":"josecarlos.chavez@okta.com","name":"josecarlos-chavez_atko"},{"email":"saurabh.kumar@okta.com","name":"skatko"},{"email":"tirone.pama@auth0.com","name":"tj.okta"},{"email":"sergio.garciaramos@okta.com","name":"sgarcia-atko"},{"email":"roger.chan@auth0.com","name":"roger.chan"},{"email":"michael.antone@auth0.com","name":"maaantone"},{"email":"lewis.byrne@okta.com","name":"lewisbyrne-okta"},{"email":"tarunpreet.kaur@okta.com","name":"tarunpreet.kaur"}],"readme":"# express-jwt-authz ![](https://travis-ci.org/auth0/express-jwt-authz.svg?branch=master)\n\nValidate a JWTs `scope` to authorize access to an endpoint.\n\n## Install\n\n    $ npm install express-jwt-authz\n\n> `express@^4.0.0` is a peer dependency. Make sure it is installed in your project.\n\n## Usage\n\nUse together with [express-jwt](https://github.com/auth0/express-jwt) to both validate a JWT and make sure it has the correct permissions to call an endpoint.\n\n```javascript\nvar jwt = require('express-jwt');\nvar jwtAuthz = require('express-jwt-authz');\n\nvar options = {};\napp.get('/users',\n  jwt({ secret: 'shared_secret' }),\n  jwtAuthz([ 'read:users' ], options),\n  function(req, res) { ... });\n```\n\nIf multiple scopes are provided, the user must have _at least one_ of the specified scopes.\n\n```javascript\napp.post('/users',\n  jwt({ secret: 'shared_secret' }),\n  jwtAuthz([ 'read:users', 'write:users' ], {}),\n  function(req, res) { ... });\n\n// This user will be granted access\nvar authorizedUser = {\n  scope: 'read:users'\n};\n```\n\nTo check that the user has _all_ the scopes provided, use the `checkAllScopes: true` option:\n\n```javascript\napp.post('/users',\n  jwt({ secret: 'shared_secret' }),\n  jwtAuthz([ 'read:users', 'write:users' ], { checkAllScopes: true }),\n  function(req, res) { ... });\n\n// This user will have access\nvar authorizedUser = {\n  scope: 'read:users write:users'\n};\n\n// This user will NOT have access\nvar unauthorizedUser = {\n  scope: 'read:users'\n};\n```\n\nThe JWT must have a `scope` claim and it must either be a string of space-separated permissions or an array of strings. For example:\n\n```\n// String:\n\"write:users read:users\"\n\n// Array:\n[\"write:users\", \"read:users\"]\n```\n\n## Options\n\n- `failWithError`: When set to `true`, will forward errors to `next` instead of ending the response directly. Defaults to `false`.\n- `checkAllScopes`: When set to `true`, all the expected scopes will be checked against the user's scopes. Defaults to `false`.\n- `customUserKey`: The property name to check for the scope key. By default, permissions are checked against `req.user`, but you can change it to be `req.myCustomUserKey` with this option. Defaults to `user`.\n- `customScopeKey`: The property name to check for the actual scope. By default, permissions are checked against `user.scope`, but you can change it to be `user.myCustomScopeKey` with this option. Defaults to `scope`.\n\n\n## Issue Reporting\n\nIf you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## Author\n\n[Auth0](https://auth0.com)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","readmeFilename":"README.md","users":{"cfleschhut":true,"rocket0191":true}}