{"_id":"@acastellon/auth","_rev":"24-97b409d6efd5dbd285d90e9eeec67787","name":"@acastellon/auth","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.0":{"name":"@acastellon/auth","version":"1.0.0","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.0","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/auth#readme","bugs":{"url":"https://github.com/antonio-castellon/auth/issues"},"dist":{"shasum":"6b9e4ccc61e3da1174a22748ea5eb81c3498c9d1","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.0.tgz","fileCount":5,"integrity":"sha512-6f70qteRgg5kpw/SpqyuPXBMtABh9XVl50CVR/tc3+dd7tkXDn1pf9B1V/lvud0IfkzDm7G6FM+u8D6mFKmDVw==","signatures":[{"sig":"MEUCIQDubJqcgl4GuQNWL6jxYF2q0kVPDJpU+YyO2Q7eS1C6KwIgL6J+b/2Ap87VTNmKRJ3jbbBp5vKmq5A8KPNR5nqilyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpGE/CRA9TVsSAnZWagAAT1AP+gJ19Bv954h7+gwFU8wD\nkONQ3YxjaXTaI4XZCMtB5PFrZPjBhr/Dy5Tw4IHkUKMmqMs9hIRxIg7sPOJI\nu9VEE3d8OsRdGjZ+xXEmAN+6h19t/DsDdF45aHAh0/3q5Jq21Tebz/IP+8Ha\nWNtosGHYUZa4tvXkSd+4HESyoEo+c9UekU+MQQpJczU8PDJlQ8fch8DygC02\neCef/qGu0MWDEZl2QYFUkPJau0lXpYhpW+XmEwB42baDI3ysqCI9EUeiEKLI\nZUUzHs99S7Au4T4589AuRFeeZXkc0nGGFKSGKhtpDgwtKko6CrT/N8ypQirL\n9or3VNby/SiuO6B9h8HeRlbEaSfjT2yThIW6SqnFw5PoyUgPGJ173h2P/a+M\nl7jozxqWRkBDqniQEI7GZiAXo/pP8MPq5BwNAjSYSfL5ZRI6QHaD86lKyj5I\nf7rHFETkpVVRhxvDH0hvxAZ1F/3eCazxBcWbn/XIrhb6Fl5G5SUyprC/v59O\nTWTZvWBZeCJHMqyN8nXCkpmsA78JZ21xDI0br4JpxNqVJtxhjI2cYayShonA\nC7X9Vk1Xi/J94Cj0Tit7kYyzgIaUdcWKtGzOjOD9HQShHdrA1nOR84u+RdOI\nO6PFAwXAUiMI7CSGYuvTKKDpY5zElUSIx3knjv/R5vb69J+n6VkA8z7NCzOo\nz4+f\r\n=B5PI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"8b5d6a2e2877d719894822fdaf3e91e6919de962","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/auth.git","type":"git"},"_npmVersion":"6.4.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"10.15.0","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.0_1571053887295_0.8518260785038101","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@acastellon/auth","version":"1.0.1","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.1","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/auth#readme","bugs":{"url":"https://github.com/antonio-castellon/auth/issues"},"dist":{"shasum":"29e03c10e31b4e5e7115ba174f9557f2ce7dd1fb","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.1.tgz","fileCount":5,"integrity":"sha512-/8ptZ7Iiro9dY+McbqSvJGYgG9U1RkLdZK8BiXcz1XO+RLZncnlPoC03ftX0wJpZgCCpoY6Vv24EbLgjlgpSIA==","signatures":[{"sig":"MEQCICQEaDE0u7vop9TxiV3fKZWzgki8a5p+nqq4QKMGIGKEAiBdDI+R/h8h9Af/Gz8UHmg0yIVfrQXOYT7FPDe1l39e8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpHaICRA9TVsSAnZWagAAjFUP/RytF7huuEYr+d0wMgb8\nGN2iTsJ3EIVG1aHxFYre7I2U1PYCQPqmee8/wHgrRKT/9TkyPT0na/nOLzkx\nvd3I+2BmfX4cRvnlHlDHemaHwVrHk01CNk8IWNofUOVKTWfw5jMJvHkpFtVM\nN0gRvpbu9wz5fcljoVjhZUFdo866SOVHtYc+DaezJEnb936YKddoECyBY4cx\np9R7ziwBuF7fP8/5K0ynY+6kG+yBQxrSuWI42jVCNGn5VX1P+i+YZzX9byqL\nRrp341IynMej1HAb6kc1cMGoqLaM4oMyoBYBXl+B34+ipb4q7xZMZeTuSPmF\n2vfeOCVkqNs/zF7fMOwc87MMWToFUq8ZBVmJhh5YYOEvq90csyw4dUm8GVuh\nXBSAjBd1jd70jWmIN9Zcm0szrh0T5tCjNHCzsOC1l1Hp2jwwdO1tBLvh8TYV\n+rFM0IPANnYqKhj/YN+rne+wHk/m8A0SwsMmKDU4ym83oP82LcoJ22+T4NQu\n0ah3T6fzX/D6mbylxlC/J3Bs1MJIrNCmiSzT/RYzdu9FWRSb22PsTcQ6K9AY\nCUd//Rym77dNI6J28rRip0odnp20mtB4QDUZ5CVYUd8Cgi0xsYTHfTSvk2ve\nFaxW68i60yQ3asITUluh4X+dcnc5j5KAJ0P/QWymXEnUfyuYRtbVhEwOPxiH\nX1cu\r\n=pZ7y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"d21d94864c49be7b49803bc4966d4a07f6460bc2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/auth.git","type":"git"},"_npmVersion":"6.4.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"10.15.0","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.1_1571059335891_0.6799342681345968","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@acastellon/auth","version":"1.0.2","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.2","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"d619b6f4e55f329048fb64c48ea5fe7e94be2f31","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.2.tgz","fileCount":5,"integrity":"sha512-xVGN9zJMoPz7d8Cy7q8Od6CIYXvotFsth6qM0zLxnio+ItH+ghVijL+/Xhsl12fncKvLpE5Pr+s4Jn77UOLuvQ==","signatures":[{"sig":"MEYCIQCO/TbF34PyGURVZMRSjxnVMpHgwmLwTFtI7l+v6TNrAQIhALB8ySYs9hPPMW0FMPbQfwSxzAenvnu+EFfYVC1FCY4S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrumnCRA9TVsSAnZWagAAcN8QAJTTaqJHv+j3GJgWs0mo\nQAEmnQZRfSfjiy6e4K4je9rRlRE+Rc8Z2lDotwf1Qv38IEaIOoowoPhPIs2Z\npMGjLcAzYLiwliDeij1S4jRLPKjqB9Gl+WbWA8+JUIGl7SxKNHOfWBeG/cu3\nEEPLTpkDS9xXn/olEPxcSskyyeZGldqz5UcBXl4ThnTn/OAhkNx8n6rBkQg0\nEf91Yj3svYecoOiiJRw+bHL0tH2y6b3lSsF1a2R9mmC/sCVKAOlEg8QMoA/j\ncxs9XI53EEXZR2lJjR/GOMtaK5FQqgiBuK39iKrXc6Plv8qpSfxdY3EOndjW\nG5djvrNKXEqVBC9UxzgkWp2FA9RZwhdaSFaVngXz+bxOtwqFGzXQky4PpfmS\n4NMC68dj6Htd2NqV6PvYKdifsD7I22U/p618LdkgkAEtOzWATafLF/OMg59X\nSmxFpPhv6r79t3atNjjdiYV4cAvdCOQQMU1rWZ7XWI9XYYsXd6W3t6H+OxG7\ngs8CCyprrzCE8GL/ylQfPomNMlBeJnkjaZ3tvqHVG4GLFcNikUtTBib07I/R\nyq5tiHc66p4hfzKvLPuxKF9NAQMcvA3qYGu1U9Q9lTk2dCy3IXv0N7LmKe+H\nieoq8RiZbwOMy1x/RJwFx6j+Yfud4EnVr38JM2QUJINPmVxKDy6U2uoN51iI\nv4Hp\r\n=Q3Jm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"3dda3c75d3e5c9179d3cc51d76561b2dec01680f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.4.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"10.15.0","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.2_1571744167203_0.10888025209212504","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@acastellon/auth","version":"1.0.3","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.3","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"c7784f6ea8ce5c152275b48a525df5c8eb446ca4","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.3.tgz","fileCount":5,"integrity":"sha512-hbJwuglyohPNNMxNtrF6CuHs8gaFQE4u8vlgShSAneJr/aL8iI3vk/M7/dB9LIhd1BF7tjgFstQ9cDVhCI7LuA==","signatures":[{"sig":"MEQCIHd6snaEdD91fpi9nHDd+Kyxu9JQ3xrRvw4D3KojVLycAiA4zLABUSOigMD1rEFqZZUcIgqUvUG3x+98HUd2A7vpEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxV3LCRA9TVsSAnZWagAAGs4P/j7uDCSgm1TmZQPEoqt9\nFcIOKrf05E6rhkxtoOSOCmCibdHXdJvkbJ5L2sthw7KKSphyZUSdQU0PFHba\nLhSMAtcnboiqvl5sGhBw6r8UfoJd7+oh8xMm+LhR7AOqvb4KNNwCDvebUYIH\n61vfBtFKt3Mx5c5d4vr3F4gRX4fI/Lfo7YUiLLuGJ5IWmhym0YLj+NJ93b/k\nGlPihwm1naPRC/Gvm38RKYbbcdRHFOgjV/N8jY9U9DT9bmIljbzw7HWQmGgS\nMLljKW0E0Tq6eRXXm8sXkiuCyUGm69b25VqAWab/bWxrhHcqowhewxrt9WKh\n6gb8TgVIWnvuRjg77SRz3EJIOtozltDYA2FpoPIKaGTfHY9OofPzhkkW2rVv\nlX0KVBb1tAyY6gJFjj3SNQiy+VSPYidw/T1tojMAOs/hUlobuPdFq+EvDs6P\nRM1PoquOpkFdK6Mip42+FH+PYFChgT1399QufTWbsKhNL99yrvlcsikb9jIj\nr0PlnXiSAkLNYVhp4Uzzq68pw0GpexNP2eOkgJqudsCn7dJeD5Asl7bstjZ6\ng+sbUxGfZ5u1YyfwOIdf5yctMAyv38/axcueB/X+4kDwgmq1O0JgEjYsV7zR\n2IfzNUaJ6/XJiQtNsQpeZ7UKTZl7XBV+HPxwp3ygOi1w0k8lqm01ivNujQXq\nopbx\r\n=BK7f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"a91c05df375f40248b8a33a95ac899cb0485cca0","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.4.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"10.15.0","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.3_1573215691585_0.49327571921035407","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@acastellon/auth","version":"1.0.4","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.4","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"a50441f9f25e4eed41ba33680a86d3a73123a558","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.4.tgz","fileCount":5,"integrity":"sha512-KeXeMhYM+ptZFNmX2ZeWfXz9JqO26AoE+DQJD+RWS5NilS6atGAjJIXnm4114jG/2tbVcEAvYU24V8hJqGpE5w==","signatures":[{"sig":"MEUCIBXZIZah/xpm36EA0u4789O1wIcrTMvKLZxRHCDaZUuqAiEA8j4fR2GpskZ7UAM+9pZd1XGc7So70E5F96oMmsiGOmE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3npSCRA9TVsSAnZWagAAAysP/1MqgXM6K8em2Bp4nngn\nkGhkpDItpi/66nBtt4u5MnbbpEv8AP1Dddk5iqHj3zSNiXy0Q6pUozhN0ZA2\nhW2z6mXLcUeZ1o+YR1dy4OKnw0fa0K/oNpuZdw9mg+MwzQANG2QyLGcSkGAT\nIRjCLQisRyQLdecQ+P+AfsGno5FkpXApoaZYQrJxUsUQ0G7gSFy++PLlmD5A\n9gV8JE4lTPCk2u4vZXOCR1oiMdMR237RN8i1NBThkOsMXP6QI9y1Jdir8R6o\n44Vw7wEY8N6Kr+CqVkvDobnRYDBZoSsuacASOuOmt/pIgHeg3E0bpWmBWytq\nyYzAU8xOzTgR8hR3mgHbCeRT5QyxlJBjbitDEvfb7RShRgmoIsBrXRxW2Ege\naKsqMtZnT2DJk5SsHRFNoZFSi0FcEiiOrDh9Yaj3kYbjm2uSLQwvFqjixVv0\n3AsDfg+m+XqY4TPSyK6E2lhbxp4N5WqAki5rZhTYWQB2+5Oc5JllB38sjWOG\nxT5l/GzBqcIPIkeYH6KUEjbZVjZz39vHrqyWMaKjhBNa2Eq3eE68nDIyGC/D\nXjmzyDqmugWdvK2aRtLVIhVFCBSiqqBf3dGLUm36DI4MKe0vbeDmtKK5fG/c\n363+y5cvNth5Zx6J4UJ2KOWCbW+jRWf/BOT7IBq0Pe82TKOPhKxpnGD8Woaa\nWheq\r\n=MWGX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"d5c2369353e883c055603b77c4b5149ad429caef","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.4_1574861394423_0.09575178172765475","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@acastellon/auth","version":"1.0.5","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.5","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"2d5c2b3f8517fc883e6b6a4703df5f5a1a6e3ea4","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.5.tgz","fileCount":5,"integrity":"sha512-jaIjv9DRPWmVsB5rtRI6WU5OG0+McSQKR9RgrFKu7cZRRt2EVN1xA5B4SsOtz053eMadR/M3TbJfQIiLXedX+Q==","signatures":[{"sig":"MEQCIERDTt8tz3VVRNkltYm+Hm+ck7a3C65YMlMLQAIc/7RqAiBl7b/0OdVwh7orjremNdBN8UTMPaeDnV+s7T0HP76p0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3nzOCRA9TVsSAnZWagAAk0kP/i5sFG2aQRZePvEZJVUW\nXt4ZMg8K0rHh3ARJj5Ue4YjEXPyayfaNWee8egzrD95jAYxtlB1RI2x2ukXB\nZlOMFagTkHQUAUh08nTyx2ClxHMeiklsMAl6h9TqVn9cZ4dDektv9JnM+qw8\n2WR2mt8fKR+gLvD0C9ScWqIB1dn2q9Yl1Ihk4GdMr/BmzGKUYZZTnPrRdNTN\nOG8zm8s7uo0eAZ46r35hAEG17Bi+EzoT+kCL3oIHyqrBkdcHv/Z4UHREXKf0\nfmH6ttICNzUCSa7i6ihe15zftEgAYkyAgF8ANN9aagQM52nEZXjQWiStHkYx\nln0pOtstfxgllM4pvvI+BczBTiogk+ZEX+rRaGTeP8CQlM5KwudIIOaUfNqT\nCTsxvLV0dXdQxzK8nyU2IkW+OBxLFCGIqAiZ9HHf+DGL9YxGR+jz8oVGOZ3w\ngRrARvXLzk5+9SEwwu3mJ2TqMYRoifiLXJSlzT12K4scZ0o0cTHXJbZohGjh\nRAjrrpdtkAzN8OZBpF8r0hREMpBcrI5RHJpWfFbc6aqy6uEtQenscrsYPKAh\nHADME7v+1TYbVGUjDK1++sm7BVzgAaHFTasaTLHKeAIJ7uQcmrMzuUkAhG6a\nnqUCPLwoVD4LbybR4DMzSeQYmemc173riJjRuju8ckMdRj2Z70b06RTbjtc1\nP8HS\r\n=YhVK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"a2f8f9030dd29d3eb31682edaca3c2dcf1883910","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.5_1574862029982_0.8171379497133129","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@acastellon/auth","version":"1.0.6","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.6","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"582a8f7524c6a3dac8a2c098910b4b32833636d2","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.6.tgz","fileCount":5,"integrity":"sha512-GtHpe0UIsGsBPRq7R4cZtPLKaPI/krhOl7kuASZXlmGGd4jALV5wO0dGSldg2XXVosa0ivU7arPVpok8tP6lxg==","signatures":[{"sig":"MEQCIAt+Ghs8I25WCvPauYduJHsVHVpGkUJdzUbT4tHQBxOhAiAYm/k6K2vzIo58z42GsmWmUTcWbRH5oryPD51YyExaTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd37dTCRA9TVsSAnZWagAAwxUP/jMqKHBZ3/NTOn7tEVJv\nkKIvEvwaoZjsCrAWirvIQupYFSnch+7sQnXRtLDdgmJcuyWjs28A7NKiuiLL\nIcd4sshKnL9Im9t/vCOhgJ1/wA6tR/0h/yElBouNvt/orsAWCy4ootODArkU\n4IbBvpx6snQ7nJY60xVyja0jg/HGQEnQtNtlDTG1ju1AHjAFe2gET2cxEqpE\nuPopBaOFeXNCCVmwsR4d8gvzpEBCeDVILRXg5Kk1dpOsHnC//GcLwluqIr46\niWo9srzhTtouBI3+mCjmZPlVUM24AnVGQ0VvCVULtY+5W39PhUnDwJJJfpjf\n1lg+o4ASPwIS7MNxXftBTaqgKpPlfXdqy2LNHqyNHRxuK80/UhZ3N0Utf4CB\n7vp3K4AKX6Gc9To+spBl1QKs/I4sBjvr5j66hWDePw0+LfUzQL+hUZ4v5cYj\nd+F48pnn+KwEN4eYxd85mnuUqABGA7l5BePGl50MBdGp+x0XF3v7Gw/HVIr1\nrwwbzfA66XhkdIALJvY+wH4yxnNDEaEp4N6iuYvEW4FIpGpdu8ba2/B6ftdO\nuyOCEeedvYADwCNhCO134sMga3mGDGcR9MYP8dEKKQKHQx8/5z89vez124LE\nXaqK4mAeAebgmedRq2rJG0GxFfnuI+cUj6s2tBm723m12eWtpbuLI7BDmctO\nr9sb\r\n=G3v5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"0c2f408c4628d97f25f69c60d60eb10a63a7419b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.6_1574942546968_0.916120364372647","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@acastellon/auth","version":"1.0.7","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.7","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"2f837ae58d758b2fc7812fae8c97941043048386","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.7.tgz","fileCount":5,"integrity":"sha512-8lDbEW85JG16qCGh1dNnMLyago6+TuSRGQiP5TXqo8G/RVAtM007srSd4esWhd60dukkPEwAPyxO/pVswX8O0g==","signatures":[{"sig":"MEUCIQCZqAW1DszwVLVBp+EYcjNHlzwGeD8z7yKLcajZRcJXzwIgc+ooFZSgddX7glsPwB1WbDHVi/LvcN/4x1skc9wHkF0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd38aTCRA9TVsSAnZWagAA+bQP/0yEIG5qxQri19F8LkPI\noQnMdiLMp92JpfsjbtexK3TpWmMQwk+ryRPHDEL1/V2wgrL7dHxAc+ykWl3R\ngFYnkPWbwFIk9dSwPpWhfo0Fn3HNcyJjvfltRaQH+FFTByI3vRmH0DRPzVLw\nGQVKzz2NQKtt9MyP1XMH+na+QwSTuxYlEyPFx+L7On8c6gBBda7nvVStdoHM\ntwNC/yK5uZeFyfjyFlWFqvGcq8AYlXwDj684grN0MFhpUKHosba+jkzPmOE1\nuo/S3ctUbaX5Wxswbc/eQKXCgVvn3hVsaNk+f8TPgyGGSWZpYcnat0qfMJcf\nmE6UYE+zs0g9kl/7veB2UHoKoD2P0YwKSSLr1TbSgN1GWBrZskix4TblC068\n/YAk20fY34LiVHukfuRknL5Kvqzx3BRn38A28OTXPlJl9M38n1qdYAqV92aw\ng8gTnLYvOJGilsgUYjAB/1qYAkzWM5EALoud41VcmQXsNqQprjnLMpJsf99L\nuqkVOW1cViEH4hGU3wmRI1XNUbEkpEWBJIn3jJ4XFRKWZGq0J8RPQRodyqcj\n3MtJjp+c38SCWa4ycztH8o2aAtnQQgEC2MwlPTdbQ+4lpwDh/Z+6k/QD/Ej+\nIOAcIuHgLJLOukOdOUKcH6HYyoTMqjhDBwnNKujIAz6+bG2AeqO8K9bZJgZg\ndykT\r\n=NPJ0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"e14163d7830bf0b22f613fbcfdd5245132330741","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.3.0","jsonwebtoken":"^8.3.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.7_1574946450887_0.6642131356153853","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@acastellon/auth","version":"1.0.8","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.8","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"4d766fb227d89dfbbcf0995d0f6dbcdde43e317e","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.8.tgz","fileCount":5,"integrity":"sha512-UnmCrK7fhVLIMCcRQiZhUP6OdW9qRJ5ytZCBrKVTrdFjTXc0E3hh8yRKoCtzE/rn4Zi6HhllS/AJV13fDiTPxg==","signatures":[{"sig":"MEUCIQCJBipmx5ZxUM253yMFCVlz+bcPMTBmuoKwtXkHhmHg+wIgEoplKmeKjH+PdPk6vtckjkhcC78N22eigRFreQG9OnQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHYn3CRA9TVsSAnZWagAAGVwP/2l+inVt83hvxGEzMqNO\nMsMeIbZpA9NqZh0+KqcsjoWFlxZ4t5reFEIV7SrnULmbsn1q79eKDQujTSqo\nMPMT3x4fgERCVkQYmOjbLTolFU6w6mpxyOmL5dwuCJBzoAoo2q86BERWBZtP\nFEe+WaFIlK0ZslSbuCGtIRZ/7iwnMlfddeftUAdNbwB9TzQ8xf+w/ewDtVUu\nw2XJLqNwCmuX8zYAmgrOjqJYvNyr3Xiv9DHax2WB8SEKD0UqzF0ntdWdJYh/\nyUxP5EVdqB8WhBRb9j5LuoWSVu8gMRw7/QxuLwvJaQVQZyefqpLsV42UCLYH\neD+zzD6VU5sZNvvn9nJ2TUBxQovcDEjEuGU/km6QwObnB+Ihmfk9W8DJYrnD\nAaGDufLSgG00IHHlT4LZ3rKaWyRbZIfdbKHjy4dgx+mSjyG0BTH9LmROj/Pc\np1VM634BM+buhzdFVb/AO5+6YAj4cis9xVw1GYQq+9RZ+seN6roLjYcCS2c9\nwy2SRXTYsku9ov+coI5BYR0gKMYORZYf5b9D/tXYqksDmxZReqcl+J5zFH0r\nrSXjG6MKtZ4Ts4ptaJsfYXR1pKK1wjh6xnebcZgIH31cKxbHD/NUUBnDiDHt\n7h1jfVtP9MGxDQalMTvAmrDb8UWPfmRo/3OpC7TmVgwnhAJDczFcBi6Wgxq1\nX9pl\r\n=68+k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"c8380f08f5da0d48a39a5775d2117281f72f454e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.5.0","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.8_1578994166602_0.531751836298531","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@acastellon/auth","version":"1.0.9","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.9","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"4c90f02e09556fd93e3ec86fad2d15d67ff0f439","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.9.tgz","fileCount":5,"integrity":"sha512-ngse8gEKcgPtQU0LriFYIyplbDHDNBvkSnQM8x8/7qMW/eX6zK7Qr2srxj+RF79Wm+NC+UDzJ+N7OumuI/mYQg==","signatures":[{"sig":"MEUCIQDWfQHDVdHsgQIRkhqo1AmcZ4I3Kki4UbR9yLW9G9tGlgIgev1ANuyAhZo4iRUMkM5G5jJOPqlXU4bZPtFe2kIyRzI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHZWdCRA9TVsSAnZWagAAsRAP/RdfX58SOIFa13bUbaFd\nVYVwlAblqnBAvki5m/KO5CSy9HU0Z07MXRpXeO4FkeHq4MECnvPP2Z6BR4SN\n3RsHzOz62w84h6jzIKhlgm2IJJZ2W6tEPLxh+oeS6JgESWureZsH5pDRMOJ5\nRwOu5CacsH5Br2c7vYdMHAmE4tj3fSqJ1GCWnGRK4iJZSNz39JhTosQoPA4b\na/MBaDM1WLseSwrSgE5RhMIT+oTFR/1qB70M89rcrSm5xYP/S6/uidEmOKSq\ncR5yZYvlJKaHL3sfCD6F0ERMoReDb/bdMQN+UBi83py0j8tgmkno9oPv/rRO\nz6woDjwmIg8U+FXEjAa8tGAInz/5GdlyyL0n6reT6IVHTsDVD8rRzrxbYbwx\nrBrrg/L2Yz+TARC7EbqQAKS+R7K9okkZ4GNroLagr3DqCFk8nsKHB+ONPgje\nmlUb6tmUW8ZuV20mNMGjeQhwRp70iG/c4PaCniTEfznHHirDje8/EB5QtOuy\nJ2A4tT7lbOiAInm5GDxXpqMZUBgN4NTvJYfAE16j/C0E9ysClQyUdTCn2Um3\n1IVtZUhk7PZ4Ju1io7jdJ60hWtJLm2H4Ypaw14chGmFbnuJiNbjvolG7+Aas\naY2kxOmXexRRz3sb00PRdhC9ZjHu4MjxcgB3TX2g129kiLbbvTLIzIaimbPC\nvtmF\r\n=8F87\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"386622df67ac8821df4037998474c31884122d96","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.5.0","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.9_1578997149429_0.800496895556011","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@acastellon/auth","version":"1.0.10","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.10","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"9da2d33fcf7f93af4052e04842486ae1305d429a","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.10.tgz","fileCount":5,"integrity":"sha512-FVjuJvmvmIbtMTKjyrtBj/zV9bJ05Twd+lerv3Jtd0ME9z3Swb694nqm/aAeVxXTxfKGlNunbtmmdy0fyZnqqg==","signatures":[{"sig":"MEUCIDfRPqNOdCiECJ/hE7HPOQmqO4215mVjR1byXG/udX3mAiEAo7dMZBhCWHJ9EtzraipnQfOyLRLoZf/syWBvqHpM1wM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1msZCRA9TVsSAnZWagAAQU4P/1WC8YKtKjEdkuNnlPaU\na7YeJxKP3ZhKhJCPq+YjXpE6q8R4DDLBZziThHaCUJO2Y+vOuxAOnVdqxkY8\n1yel2Fr5+9yQqK7nQ4zpHd/0OMtIgM+pEcEdYnc7w2u+YcdTJxP7avZCGWkT\nz20lk8N1PTNSUJpodpZbjD3YzKRPZznwTqOrdF6RXUlmxoKLJlgZQ1lYVal6\nH4/gIbTm/nrca00a0HKazB/D1toNa5klOsU6VPvYnrYIu6/46vWQjC5ghXsP\nw8otG81kinewnq4iAN2ojwNxuCb7RFGVCu5OZUMP7HLOIzVSEBBXxSY9vkds\negEScnVH9eriy47UZJLtZ0CEXi0J2VHI/qgWBTVeGWKit6EzGhB/bOdESD0h\n3lIjzJn0HOnUKDko0uFUGE6DTz5w1SsLOP+t7ZzMrAGJfQmwY8q/wuNmBNbS\nALcyLXdjNUKA1tw0xk04qr798NiNs8RGSCzT30i/I1zb7loWDgSJjLZA+own\ncr6PMvXMWMwV9/SVJVLekBMTC2F59V68kba6QcLZj7qJpRGSf/eXIyu/DMPt\nmeRAQuxcd2bKmN6dSnOXnpKMrBlDoxFV+e6zxDFvPhpc9J1mPjk9yq8lXyLS\nq+WLLOWzWxbwF7FLhg586Ulkds6W6YjxX2wX/9qTt9Uo4cawHv/9tmwYTqMK\nR+yp\r\n=4N35\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"4ebb765709782e91cb3a5890dd7cf080a5d8051a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.12.1","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"12.13.1","dependencies":{"express-ntlm":"^2.5.0","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.10_1591110425094_0.029289999496609154","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@acastellon/auth","version":"1.0.11","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.11","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"e57992b037de195c8ea914c243e148a7e478bd6f","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.11.tgz","fileCount":5,"integrity":"sha512-+2rpOhCfTuEXGXKMlgZPPzV+VCz+gmlPrbXF2GUAaUG1gJHnnblku/GHfpYcnBolmAC1u+Ou1m1xEwBQIhfTEg==","signatures":[{"sig":"MEQCIFWOdkLA3BTx4cMwaQ9/YoD96vEiUuKMV4SKnVG5wyz2AiBOr3Sq9RwIra+2nkQzGn36u1YbTVbMGkhncX3I9n4mbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicjDzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFcQ//WivKX4Saz6ycoyZmL5cjY2ki8fhP3emidfWzd0v8XJa47W01\r\nL0NLdMqOzQdijQIiaseqTwYpTnbcM9TeV/2hG6BnN5FaX8PB9rNO8inBsuGE\r\nbkBTt1Qngl1Z6qQQJsNYLZod8Oh1J5Z7t/15G7uKO0hm58lvhgMevfkAfcCW\r\n2w31cZ10aJ41T06ytdwyJ/SWzhuSaOYuIpyRTUV2apX8bB6U3e87XZYSMNAE\r\nZrDDkeylQawcY5x0wUB32yV3s4MlE+0CkbOBINgfgzYUH4fHHm3kSqRS/8/D\r\nq2D6vqUpD4GTR5i18RGpDKCAt+itWn0Qmdh6NgQ7FegatqoMxXSENSPAmdy4\r\nMI65nSyO1QklHsW7yN7KC45psFgAy9MVUq9gpyo+0l2RUWY6GCy81P6YBFUl\r\n1TPDCa9u2YwHmA+dRXznGfcbt33s4CVQWYAr73RTUmr4/lByJ+hrUtKu1lJ5\r\nlIMpUbc5bRlr49Q4F1ewda5B9JODYknsXxt47FwZmF4Zf0uDXIssO4x3ZhjU\r\nHSHAPN2FwGiF9tUiy28YsNsLznvuo0rXAdV3vrXakFsjX4IUMAe6yzBUb6Tu\r\n6/SKENRToFT9hxCTipLocovvxrypFSPjN6DiHCGjjUch7v6BsLrpvWB+Hpz3\r\ngYM6obrFkLa5OvP81xtV41DnGvAcHbwuWeY=\r\n=lWHx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"777db13e3e49ba18fb9c9d96db90249a56bbe22d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.11_1651650802908_0.47086723610073733","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"@acastellon/auth","version":"1.0.12","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.12","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"ac36c37ab8b1ac194e8fa594009125053422fb94","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.12.tgz","fileCount":5,"integrity":"sha512-K8ljf6VfVQ+BZLx7MHAb2VvJwZWLc8GR/KbzJcs+5DlbVmcHEtoVswLUZqlsTMxfT3H27oEr2tOQKkMzFoe07A==","signatures":[{"sig":"MEUCIQDKIrCdJRGJwfpjd2VhzkirfTA+K07R8S23bvXd9MrkrQIgb+SfrbzwXFvJOqLOwo7Bwv32dF4AVip8P0zfpfuy+9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1WHVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWKg/+N9E9AmDrPxfgTdjZmINjwtwP51O+9qZ+HHJcygL5AzhPKKza\r\nEUnDpf/OIv54a7izQPNf+o8sYrm/lE/XHMEanDxHD6GjjK3IFIQJkjZ0VFUq\r\nnk+aK7fnb4ct5t/zYMAJWO10DrmQxRvnKCX75nuCW6tPL5RrD7DEpJTRIIFU\r\n3h5NrR6IbzFkXbVq/i8uZIel+504vNlQWCFUKKoDznH8U6of4c/EDXIAtDFj\r\n2uSm5U8xq4nXtDquVGke7dxdo0+KTh79rVE+gSP6qWeUardesGmqG3i5oFiQ\r\nT07ejP9G8KI5q/6RJkPzopavKTVNfTkqh1mCL2LpwmyfrEeE3tZT4OhtOrnK\r\njtzRQeDDoQvTRQkXDn6zJxBf4OcAHD4N3MZk+P+Jlabs2oeiTDzK6dUkypNX\r\nWcOAI1Hgi/oLdIk038r48iA1Nu42G2IDCO+TTVwc7cE/08d2k2Vg5vtD29Gb\r\n1bNFHJlmQ/XYIkw2hvnEu5GyvLGN7CvY8VHlQzPUxKqJKjiklKz/G9oHKRqj\r\n1WIOna1A5JEtlOqqGM/cdyE1cX4kQyy30G5a8GXY4kOyU4hUxcvJUNQW+fqD\r\ngOtJROXolTyhfqNCi8qyKCWadgUxnn+5e7Kq1kLaXUncEtkV1u8jd8/SqY5x\r\n3tEaQi9XByhBXG8WWk60kIRXGSehEGQdoKs=\r\n=cdig\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"37805a7b41d42f0ba833242f1bc8a1bc6f2588d2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.12_1658151381588_0.4692991737564167","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"@acastellon/auth","version":"1.0.13","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.13","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"bb9f89866a5a532aecf0cb0e3289b36a85802a06","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.13.tgz","fileCount":5,"integrity":"sha512-+PdOJt791VQX1vqPwY2xqn3KuEEN8OexNy4kwoQTVidIqHYP1PNozu5YvTXKp5A5rowW4QEOaf6ZMarCur+X4w==","signatures":[{"sig":"MEYCIQCqxEeS709aXbALz8tKtWN4ZzK6/tlGUw8nPncPV/xriAIhAMKYA2Pi8iWR5xCUL5UAPXBFK19NNlCO0OIghTVO1cPQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1WMbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmorog/+JExM2ab54a24QeC/6CxcI5jIpZQi9J+M2Ff1iA1E4F+7Kr+s\r\nmPxRvckaei/oRlAC+NZp6DkGaKryixFhH9LBXr9o7y4WpYfgeqAMqhDu2G54\r\nhJllUDr0U5Z03X2rW6XFqDYuJref5vqJSygp7ea4mWQMSjKhzJVu79Tbmvxu\r\ntW016kzrd3R2ZB14JvRgf0jIyIFOQ5w/q99o+JaL2HQAHYHF5iBVBOelCrlW\r\nScxl5sWSB7U5/6uijfGSIpXB3Bo+k+RlFtjNiHbHuwvi3e/Salqhq2DXylWS\r\nVkybkZGIvhuWzavFcUKnC/kuOb0hQwSofm3QxX3h/Qj4TWlzTVM9uFk3FtT2\r\nTvqKy/AlXVCEs18u0yoZmlgroKjQ92l6L2vKa5v1aTglMQgWK2M3mpzz3OwM\r\njvCI+kB2raj6zS0Aa2VB+GcalsCCBcyahTAkhDpl31/yFZ16OqTU5qL2vY3Q\r\nXUl3e6T0xcnE7O+omcAu/B3l0ZQbDjs3i5wyTrrE6jRv354Pphyj6EEVyNgD\r\nJYKF2NzAUdFdm4ZKdeQobB95gS5tjH9KHUZvUAzC/O+rbTCLZ1h24GkuYyIY\r\n4T/1RgBSiqIMhkX53uIXtSx7uDCVUTXXMceVk2CV95aWIxSH2qDHK5hzxmsR\r\nXip+asAmzRtWlr4Kf0ftjmtidDrEs16oRrU=\r\n=Etk3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"516f23a784425c893b0bc7878967060ffefc572e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.13_1658151706769_0.9392111825337301","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"@acastellon/auth","version":"1.0.14","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.14","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"dcba771621b09d5014e088e1a1be26d44fe759c5","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.14.tgz","fileCount":5,"integrity":"sha512-yYK5O8UA5IUBs28cLJc6hmD7713R7fF43VZW2QbR7BNvRJIBf5WegkvxFxrxK1xN3X0z4AexKxTHsbDXPIgkgw==","signatures":[{"sig":"MEQCIHTMKuUsLwIdyk1T1lIK9H3tZYy97Nw2CU7kN0q4fT4PAiAGnYwqVdZVeAqkx9OQJur9KpjCufpQabJHMFtkyoNHCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi82uhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphqQ//QK64HNzgvgcRVcnGy9TeREgYDDOCN3IvCOUBfW0+TI0DKAHf\r\nY13o9hD3epGwHo7n8NGqaewaCGw6QlCMc9/q+Pyy1yj4r5Mr2IaRnaAraQc3\r\nebiBtnsErDbXG5oru5+rt0v8q3g2gsTd4roFTjbJQxvvuz0sGvwT0ZuiRs+i\r\nWKs1yo+Y5mEGuwaGW4uyerSeUxzeQyhhCrR7uv6AvVaN9+Gxfa1ODYhwf818\r\nZaIEd/BHqIBo9j/LfQsAcLgRiPuZBdNbLyLk7m7sMoo4sfPwbWygYi+XUcw7\r\nDzObwtsmnkP/AYQtYGbXilUHMeJvp6h2HmkQ//UgDQY9b3i94MJHm0mpsibq\r\nSrWfywUTvBTlYNiNlTnvoKPyObH+A+VgcdhrFgbVOHHj1iMPLS6z4C7qx50B\r\ngwJthT20f+8gIXPj26KLOnDLE0kdkyxedAu6bMj9w4qAvtkqmt8xhBrqig1O\r\nnM0zeeRxYZpMtK4mfulGimaHKQLgLllUWbf9majPK8c5OPRpyVA1t1yd5+vP\r\ntQNnl7+0gsyzaSBjYwegxrdxNKeQmuAGJGomisXVhcy8M4RWk1aFwZqFwl9O\r\nEhySojjW8lY+VHXZiaP5DW1Ne+PYTJ5qkRD0XMZ6Spb/56/Iw3rjUqVOTtPD\r\nu/41c1gRaGUgX3L+C4HZDvZOG7+5fvX+NrU=\r\n=3utB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"ecdacfe359d17e420d0f6f1ef527617d629f61af","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.14_1660119969375_0.9473862449811024","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"@acastellon/auth","version":"1.0.15","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.15","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"47853da81d66e73657f62a0006520707266e6d99","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.15.tgz","fileCount":5,"integrity":"sha512-8HSwsshQ9Rx0kzKE9esX+MYJubwSgeQ5bQIdtx3eKQC1O5LbFXgHxSNmPDbaBrtp0c39lSKbe2MbtfCzVpk/DQ==","signatures":[{"sig":"MEYCIQCgB4bCRSU3vzUp5wQpo7E0UpH95XdT4s3ZneGnqXMbTwIhALJPJNFfUJHZUGvJU4/JQQXp7aFrYVtViqJvAUnIXd3k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi825jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrG+Q//fdhmDOusbdoBqGbbpdrAHu3P/tjBtZzEKW0owp29a1DmZcy6\r\nKOq+VVFM8NdngnuyeQnC17jggxVkX7yNw22mxBEESwF0tZXIhCKRHMuC0EwU\r\nB1WgL1Mm15Deok3h/rlua0cjOZCkurnbT2O3FyEeQ48nglp0IexJ6SnX76RV\r\nksmzmv/u7ROyiThmuqNERmPuALlhkWdH6aiW0b2XtmkUNg6s5/hl44UE3+sY\r\nCkT04LAhfej+0jXnre+dNQ+wz7WpJdZfpV9tzOISENt+hLwfkuwMg75taIGn\r\nuG96pWHqWcknWAkrUIAKW+XKdr/wiVTE1kIq9bw2pKcWhHDmF4flDsv6m/ku\r\nEwO03+hmCDnwkdNureKJXO+g6I/lkU98IqLHZapwysnRBK3v8BRbLL/ooA7M\r\n5PUCD2dD7fw7VmWRL0xzuFNVvB0B470nkIMMaDCl1h7Hh0rkAJNe873bbnsK\r\nWRjsQw7Be0IGPPe+u0e4aiDsTtL/KeWTbHTyGMlbbfXhXZr4nnzwwzbbEzNw\r\nnIazz5Mez/cFMSc/nWg8PUsHuJZT6xN44XKnqWPWCr50UESma6w/9ELOxbr0\r\nZBMMWS9r9IOcmWL+Eo+0iRXfeewEEQtbLyRTlVxds56likFJWqa8tXd5P1EE\r\nH68Kti50Dd+giSoh5YUeqpjlnGhRjs54z/U=\r\n=IDuo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"73cddcb297c27663bf0df00926e4e49dc05dd030","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.15_1660120675334_0.5232633390556087","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"@acastellon/auth","version":"1.0.16","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.16","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"b6686cd33291a06bdbc4331fbf18afdb0a4e2170","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.16.tgz","fileCount":5,"integrity":"sha512-xU8Qk4V9Yd2jArVeDbVgbHbKYVGgG8YwEbd7H4DevTfR6EEBPM8NTd30EDCczrWdLi0iBhAjfd+yzS6ocHT3+g==","signatures":[{"sig":"MEYCIQDcxEAE2s3lPQ1R0fAU/UMCGyz5kUqj60rZlUyEch7tfgIhAKrBjNuykFnuOZuV+wQpnPx44ncuCyJ46vjs4pgTw5BW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi83NCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlIg/7BIB2f58R9QixJNzIsQYDV10McijqXpuibO0ivCQz6OE/FHhl\r\nQWG1WPVvt+GeOjI350zuRGQyZZwI7zvueu0yq8qZSKHZBoB0rrA1YPVNroVg\r\nIUfhFbSeVgyyF4oh06fJc3dRrK4k6g8Ltb18v6Hk7CCIxViDOvSyBzG8F5cQ\r\nViQWfx4ClbhHC4FvIYthv0tCmE+yGudjwC909n1Hi/Vw+3ElHPogL+vgk/8B\r\nqTF9IerorQ+VOkp+TqaF4ZApMaDIriYJCnOoUuqJY/GBRxcwztvM4ZA/9FuC\r\nrSzDzL/cIOOs3FtWVXi2JGk6vtGxHlnKY4eFyu5XEWNdXMDwmzgtTKLeHVWo\r\nYtNs9izFN6YgGwGCZmTqB4QuzTVoTKcn6mlpUSMXuZvLn7W2SaOOiPqunZny\r\nRhQi5OkJ6hImgFPo6Ht+SU1cpiLsrWv/90rUDG9KuW4d0D8vGVOMtiuYlk9J\r\ndx3NQx3yO67cIBQOKoYpVNMUoGbUcDWnGlsFEStIC9DvzBCIJOmX07A8oGUI\r\ng/9g4fDvJypj1yRRtFvNIiAyhy7rgWfxmeO6PETH95LdP+ic7yms7D1YIkmj\r\nKiyuh1ZbN/FWKfKfQjesZ8QeAigqr47BRugIGqbF1YRNLJSWoh2yQlr9SShr\r\nZGts6nWbssUGrnf0t6DGg9+gCZoNTxEP1i4=\r\n=o6rT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"1027e89de9dfe6c86faebfb64e3a3c1b2db22c8f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.16_1660121921996_0.21074260430627856","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"@acastellon/auth","version":"1.0.17","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.17","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"2b9ad7f1a00a04c8e7f0204590fd6467f63e7c2b","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.17.tgz","fileCount":5,"integrity":"sha512-7BO26A3fcTTS661m0Zu+6/OTilcPED7xPLAJUSniR5MH8XyOifuoT978Cx1GAsPzvUkkYswQy6CdDLRbGUPcfw==","signatures":[{"sig":"MEQCIBkJW01rzUvkXrmrwhCF22aBLc6f4Ayo8I+JcSX3FjgIAiASQGTW9RmjImDdBTBjnFJHaSWKDAnEfPCgt4ErEmpoDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi83+MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrm2A//YP38DS7358IpGu0Zw9IjnHWlnm57AHTi0NfnNWQXpfkgEn6I\r\nr29VX0MHtwr2SvOnVHj1s/Q/bF5ZiT1wD8JJ0Hi845iLe82OhNrhrMjtbI27\r\nTvGFJJr8/GdAbF465ehsCacwtQ0HbK1GDwlLicEErKj2rB7Ypvnb/ZzhxPzI\r\nhLfqufo3/Q6JMmV6DMrX/T0/O6pDThGBEuH8h0Q3nIXA83arHUXf/h9mKWV6\r\nw3Aq7BOwci3KR4j6k96Io522JDhgRorpPdt3rYghvwO7iHc8XH8/NzQbtZyT\r\nnSyYp+nrX/upQd1VguAOTSIzLT3VPhfiGWfiJaNY/f1S7blu753TDU6K1W0m\r\nDCd7FAZhtjUDXBIrmJNQTxICJEQOsZbrFON2aGdPEL8NG+LMakxzQaalcIaN\r\n/+8oAbO5RzQ8rzyw6UIM5AyrAK1t/AURM9F2zlrRjSmufrwR0b6JeEqbRXhz\r\n1584tPCqVmanBOEJqWIjM2jk0PdyP1LJKgokhqrTHsQuEJGCURoYLXWRQ9lh\r\nuMPo/4lcMhh155pBzUiZ+CWEsnbr0jUReUfCtjNFvilMjX9dJUuOIE54FSFQ\r\n9r8blZBCtvxC6tPgoOwKvfyAQSXkyA0zHnWhMWF+jiQqv46sbfNRwOEj4kxf\r\nOZA2rzNBu15yNWJs+7mPk6HW9GPNjvxwrYw=\r\n=AgXj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"249522561ce3d349363349df475209e09573f876","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"6.14.13","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"14.17.1","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.17_1660125067912_0.2634338726667036","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"@acastellon/auth","version":"1.0.18","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.18","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"1c66baa641f56321255a669aac5c117a31f7b579","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.18.tgz","fileCount":5,"integrity":"sha512-9gFA0g6UcTY/aVBHPOTcM+pBkl/BUiCU4woIpyUmP/7awu5qM7RLqpadwOwAwgAMPIuwkrCu4cjTmsivPCFzaA==","signatures":[{"sig":"MEUCIFRMNV4N03V8HrVk3sdBBmNofR5A3/JHmoDGQO+tX3D2AiEArHB7IF9CvJSdR5E7DPaEpScXUu2EjcO/hpABgOTNp6k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUnvjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGwA//eiIlA4RmnREcWO7hMtL6rOgMXNFzP5yyqqJVc29azleNwWaS\r\nTs/5iqM1dy957TzrjYTKEPOJt9xRDeEjF6sjXuOsvJINW6HhOaheMV0Wwl4Y\r\njNZd4VJknnZsmsFs6JvEXBLCBQN4TFJG/GvhNphfebHDvHBS7YSvIncRA/J0\r\neNBXEdCGr6cgj+9masD5cGqtv76mA849pp0BY3iQTg2FxBTYcyRuOJqpOgdW\r\neXwtvgtSG3sgMVB9RQNHcjr4ecTR1upPhcScWCNFjGJZPWoflextssbuO/sS\r\nK8oIYTPUp4Gg9J9IguWdSEA6hqlYlgDJDG6ffJWgWS41b+tlA79rDmfNpfRv\r\nGBPsMWJUkR2gAqBVcJRxJBkfx7t/jAG5ThUo32ZqA3pxAT7UXQDnHMIlMHAR\r\nGKFiDwVLu+8iD+nmz7H6aakuzcRMZkmsw8NN0mskt1H3GWMhKqpwnPTBAy06\r\nyi1M4AHRslKNlRsMno+HZH92RGorAouiJtwMxJLOZ9fupaul5ErQ9An7JOFs\r\nq5nhmsL1HcJvlY3oPzlOmhn9vT7BC1EkiJ5Mt1XCsyV062U1lPKTIGrzsIi7\r\n5TwWW2a9zi5kWRKApnM9HBGXsDgLUFmBDwj3GJHeEdfeYqe5STUXuofhOyJa\r\nO4VQzeYbS6pvJvekDbcXWcPWshwbmwC7rgI=\r\n=mCL8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"baaa6c8f6969677fc7c3ec7f1578260ba61e45eb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"8.19.2","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"16.16.0","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.18_1666350051172_0.9488879384443976","host":"s3://npm-registry-packages"}},"1.0.19":{"name":"@acastellon/auth","version":"1.0.19","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.19","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"47f0e73a4c088f1bb54889e50db16b555a5dd61d","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.19.tgz","fileCount":5,"integrity":"sha512-NxRMOkrPw5DMau4pfBepMM24T2R+QoxacTUKiBAZrTHwvlBF1hIUEwUuvW5m/4RO4It5E8vTwSmOXaEMhKcJ1A==","signatures":[{"sig":"MEYCIQDEvbw1WxCKxipeFYoFdU9cjo4bvoPrlNNf5fl6g95bWgIhAOG9NAGCDfBYe0t5+D8P2bmQKdstxk3Q8bbzaMKj2mFH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW7lWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVKA//XAmiz0IKOmFKpUvS9NTAFde+cnL/0zTN4Xd1efxdh8IepDbp\r\nIyrk4VmI2TiaC9OY1DD6cDrGl4T0T3m4ZlAZLjM5+mvIodURWkG0Um9lVQ/X\r\nSAKCeivxc4/ZsMIf828I0Xsy2cu9XFudp+TC98GxNVTM6P5AF34G+yR5o749\r\nW8/vEUtA3mb3LPjU5COHZYTfymlX6N6tpf/2WlADr0R8YHruEN7hfqJiqEa6\r\nZeAzQmt2kSvGOotUl1sD4dG6wTWNTTdrCqzZxeNw88w3SFDd+DXWTYBCFy2l\r\nfYf7wDl7pmwFwMOhAgRCwlnV4TIaUc4soPYZh1qXj8GWEcPPwBa3QJ8zjj3g\r\nZRm6jnVmdDueB1IHCaN8IlGvL4zrKWbw/zEoHL+YyYYClcfiBhzbIX2kBGNq\r\nuAH0NxLp8MtTAVcN/HHasfRdoR5pcb97xSV9kRRhON/vriFSdtC7LBhs+6r+\r\nvOGo81HiAcClEp1C0bu4bC3yACSHKQV5RG9HVy4CTIlpkKoxu5CtTZFd+Xfp\r\nt5zSWE6iTPFg6Wqmz0UyaV2o/QZOmOMFtIILqdYNgM7fydcxUX+Bd1CBNWV5\r\nnbSRjGTVNovonmW9hFjtRErTOiqeiC/qYgq4y9/SN/sLlqTolyNbJQ8qqI9Z\r\n+xYpg1QNiTw1RPGEO/zQzZNXzqxXw/SvSKA=\r\n=LVhw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"baaa6c8f6969677fc7c3ec7f1578260ba61e45eb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"8.19.2","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"16.16.0","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^8.5.1","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.19_1666955606114_0.43150481634293314","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"@acastellon/auth","version":"1.0.20","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@1.0.20","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"9e152abfd864f0fedea3559d111060d459f219a1","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-1.0.20.tgz","fileCount":5,"integrity":"sha512-Vf9aEIo2KHFdTK7vXWqHbvufFylKFBzuSpMVLpmzlfAHFUc9fbSutH6FW0JPThoxpr0M4QkG6rlZtKckoKAyzg==","signatures":[{"sig":"MEYCIQDl5P0ylbu4qJZ5UWc9a10ATcYtaV1JRAw4/9hGC4P3DQIhAP+FONpn76GpLPULhVW5gbe2v+hzyxKmxlMbCV7VEbQT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjs9q8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoExQ/+KoM7db1UlsfzQisT/ADaIZAYgjjp+BdCveyv3pipM7IkjBI8\r\nZNjYBHbpnYn8O0XtKSsHxgMkaJq1j3VJJRsyEAg6p+5x9n0xPbFbS0AoZDlP\r\ndfidSJvkaUd+P7eXfiszkEopDYoX23jU8g9J1Kzp57efJTt8/Km1MdmnTB7j\r\nGsqOvslf+o48uUDL1vgtWgEQPnBW4YGPAcfYj0b/rPryP0GKNfbeducHueo1\r\nBDJdWwRJqXYIXq0zaRg72uivK911FdeVQnINx+94oXnEptuNpxcUmBqh8Bpi\r\n2OBVBTvt1S6CL/RlJY48UNpEF0uXhrVcvSb9aQeeaG75ZEk1hLB2AcL2ICRb\r\nwD0t0BCHvtq1yVncfV0eVYrjVWwBOtSOj/67nwPYrUxL0EiwiXKMSuvJafEQ\r\nbeyHxmjIo3KCn7UL7IMlhU5aIl+bQ5Yz5xJXjw1vi/Y6QMxfH8Qnf/1Yu+Ei\r\nYKRlkPD2Kbs0woyysKorfvnDEq5vDsI+w6vWl8w91BjtSrnOcI6bkSHJNrQw\r\nh4ibuVXomXbwMV51TBeeV74AU7TioUZi1lWDiXaJQ/Tuk+fWaXNNAPqzkCYw\r\np606ShCefFtkC7J7v49LGTVrmCRXe69OD47V8KtZ7UULqn+XLEzclGiujfsM\r\nLIaOoyD46lQHo4+uIOrw3WyozpqNDrM+17A=\r\n=zwor\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth.js","gitHead":"2ffdadcea95ecad723e8dcbf49902bc05a90e898","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"9.2.0","description":"Authorization Filtering for NodeJS Express Application (uses:NTLM + LDAP + JWT)","directories":{},"_nodeVersion":"16.16.0","dependencies":{"async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^9.0.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.20_1672731324004_0.7549091037861633","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@acastellon/auth","version":"2.2.0","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth","cognito","azure","entra","oidc","oauth2","saml"],"author":{"name":"Antonio Castellon"},"license":"MIT","_id":"@acastellon/auth@2.2.0","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"homepage":"https://github.com/antonio-castellon/module-auth#readme","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"dist":{"shasum":"889ebc4120cb7a21cd23cccf0ffa11bbe7fabbb6","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-2.2.0.tgz","fileCount":10,"integrity":"sha512-Y5MSQ1P1wwwRq/8DSRcmA5V17aU6a/aMcfeohRD4L1qZhqyhXbHM5S5Rjfq/zYxltShoXtWMrpRCjfE20Ij8dg==","signatures":[{"sig":"MEUCID9Xrt4RgEAdC8dxN44lvrNDxufu8LFiI0NrDGaqMfnvAiEAlVCQ55IG0u6I+mjuLzO8nQlJtl/M+8dHQnQnb0swT+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48609},"main":"auth.js","engines":{"node":">=18.0.0"},"gitHead":"141b4752f7d5367c05fa999849fe2662731c51c0","scripts":{"test":"node test.js"},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"repository":{"url":"git+https://github.com/antonio-castellon/module-auth.git","type":"git"},"_npmVersion":"10.9.2","description":"Authorization Filtering for NodeJS Express Application (NTLM + LDAP + JWT + AWS Cognito + Azure AD/Entra ID + OIDC providers + SAML + env var secrets)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"async":"^3.2.3","jwks-rsa":"^3.1.0","saml2-js":"^3.0.1","express-ntlm":"^2.6.2","jsonwebtoken":"^9.0.0","secure-random":"^1.1.2","@acastellon/ldap":"^1.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.2.0_1780483692508_0.08313712355699332","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@acastellon/auth","version":"2.3.0","description":"Authorization Filtering for NodeJS Express Application (NTLM + LDAP + JWT + AWS Cognito + Azure AD/Entra ID + OIDC providers + SAML + env var secrets)","main":"auth.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/antonio-castellon/module-auth.git"},"keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth","cognito","azure","entra","oidc","oauth2","saml"],"dependencies":{"@acastellon/ldap":"^1.3.0","async":"^3.2.3","express-ntlm":"^2.6.2","jsonwebtoken":"^9.0.0","jwks-rsa":"^3.1.0","saml2-js":"^3.0.1","secure-random":"^1.1.2"},"author":{"name":"Antonio Castellon"},"license":"MIT","bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"homepage":"https://github.com/antonio-castellon/module-auth#readme","engines":{"node":">=18.0.0"},"_id":"@acastellon/auth@2.3.0","gitHead":"e218396377ab32e8b36ac1e3671cfdcc1098bd39","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-nX6QUwflQlzWv6BZ94BKAfe9NyVKOtg8+9Lc7A0j8l6ci1uDRxP3lWK31qnoxPOdpxXiwYCDuvF59P14kZ83tA==","shasum":"2b2ae218b5237b4bdfc18cb4b87f2ce625df4e34","tarball":"https://registry.npmjs.org/@acastellon/auth/-/auth-2.3.0.tgz","fileCount":10,"unpackedSize":53432,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHL+5wG99d9x9HRe+F5BJPCCsQeN8UtDM4KbKznYhhjoAiBkr/U+Zs0EK2jA27fWQD++mGzne/QNzKkmLMChF+8n4Q=="}]},"_npmUser":{"name":"acastellon","email":"antonio@castellon.ch"},"directories":{},"maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth_2.3.0_1781761817695_0.7724469373812874"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-14T11:51:27.060Z","modified":"2026-06-18T05:50:17.937Z","1.0.0":"2019-10-14T11:51:27.421Z","1.0.1":"2019-10-14T13:22:16.087Z","1.0.2":"2019-10-22T11:36:07.294Z","1.0.3":"2019-11-08T12:21:31.697Z","1.0.4":"2019-11-27T13:29:54.518Z","1.0.5":"2019-11-27T13:40:30.138Z","1.0.6":"2019-11-28T12:02:27.144Z","1.0.7":"2019-11-28T13:07:30.989Z","1.0.8":"2020-01-14T09:29:26.754Z","1.0.9":"2020-01-14T10:19:09.577Z","1.0.10":"2020-06-02T15:07:05.236Z","1.0.11":"2022-05-04T07:53:23.085Z","1.0.12":"2022-07-18T13:36:21.732Z","1.0.13":"2022-07-18T13:41:47.060Z","1.0.14":"2022-08-10T08:26:09.595Z","1.0.15":"2022-08-10T08:37:55.503Z","1.0.16":"2022-08-10T08:58:42.188Z","1.0.17":"2022-08-10T09:51:08.025Z","1.0.18":"2022-10-21T11:00:51.343Z","1.0.19":"2022-10-28T11:13:26.254Z","1.0.20":"2023-01-03T07:35:24.232Z","2.2.0":"2026-06-03T10:48:12.646Z","2.3.0":"2026-06-18T05:50:17.836Z"},"bugs":{"url":"https://github.com/antonio-castellon/module-auth/issues"},"author":{"name":"Antonio Castellon"},"license":"MIT","homepage":"https://github.com/antonio-castellon/module-auth#readme","keywords":["express","microservices","authorization","ldap","ntlm","jwt","auth","cognito","azure","entra","oidc","oauth2","saml"],"repository":{"type":"git","url":"git+https://github.com/antonio-castellon/module-auth.git"},"description":"Authorization Filtering for NodeJS Express Application (NTLM + LDAP + JWT + AWS Cognito + Azure AD/Entra ID + OIDC providers + SAML + env var secrets)","maintainers":[{"name":"acastellon","email":"antonio@castellon.ch"}],"readme":"# @acastellon/auth\r\n\r\n**Authentication Control System for microservices — legacy NTLM+LDAP+JWT plus AWS Cognito, Azure AD/Entra ID, OIDC, SAML 2.0, hybrids and secrets from environment variables.**\r\n\r\nIt supports:\r\n- **Legacy**: NTLM + LDAP + internal JWT (fully backward compatible)\r\n- **Modern providers**: AWS Cognito, Microsoft Azure AD / Entra ID, generic OIDC / OAuth2\r\n- **SAML 2.0** (full login + ACS flows)\r\n- **Hybrid** modes (external + optional LDAP role enrichment)\r\n- **Secrets via environment variables** (no hard-coded passwords, private keys or JWT secrets)\r\n\r\nSee the per-provider `config.auth.*.template.js` files and the examples below. Full backward compatibility with v1 NTLM+LDAP+JWT setups.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install @acastellon/auth\r\n```\r\n\r\n## Quick Start\r\n\r\n### Legacy NTLM (on-prem)\r\n\r\n```js\r\nconst auth = require('@acastellon/auth')(require('./config.auth.js'));\r\n\r\nauth.setNTLMAuth(app);           // protects routes with NTLM + optional LDAP roles\r\n// or\r\nauth.validateToken(app);         // validates internal JWT + LDAP roles\r\n```\r\n\r\n**Security note (service-to-service):**\r\n- Client-supplied `auth-user` and `is-*` headers are **always stripped** on entry to prevent spoofing.\r\n- The previous `service-brother` + spoofable `Host`/`auth-user` header bypass has been **removed**.\r\n- Secure service-to-service is now supported via **mTLS client certificates** (recommended when using `CERTIFICATION_PATH` + `requestCert: true` on the https server in rest/graphql/etc.). When a valid peer cert is seen, the CN is trusted as `service:<cn>` and appropriate headers/req.user are set by the auth middleware.\r\n  - Optional allowlist via `TRUSTED_MTLS_SERVICES: ['rest', 'graphql']` in setup to restrict which CNs are accepted.\r\n\r\nSee also module-rest and module-dns-client for mTLS client configuration.\r\n\r\n(Keep secrets out of config.auth.js — see env var section.)\r\n\r\n### Modern (AWS Cognito example)\r\n\r\n```js\r\nconst auth = require('@acastellon/auth')({\r\n  AUTH_TYPE: 'EXTERNAL_JWT',\r\n  COGNITO: {\r\n    region: 'eu-west-1',\r\n    userPoolId: 'eu-west-1_xxxxxxxx',\r\n    clientId: 'your-app-client-id',     // for audience validation\r\n    rolesClaim: 'cognito:groups',\r\n    roleMapper: { 'Admins': 'Admin' }\r\n  },\r\n  ROLES: { Admin: 'Admins', User: 'Users' },\r\n  EXPIRES: 3600\r\n});\r\n\r\n// Use the dedicated external validator (recommended)\r\nauth.validateExternalToken(app);\r\n\r\n// or the smart one that auto-detects\r\nauth.validateToken(app);\r\n```\r\n\r\n### SAML 2.0 Example (Okta / ADFS / etc.)\r\n\r\n```js\r\nconst auth = require('@acastellon/auth')({\r\n  AUTH_TYPE: 'SAML',\r\n  SAML: {\r\n    identityProvider: {\r\n      ssoLoginUrl: 'https://your-idp.com/app/sso/saml',\r\n      ssoLogoutUrl: 'https://your-idp.com/app/slo/saml',\r\n      certificates: [\r\n        `-----BEGIN CERTIFICATE-----\r\nMIIC... (paste IdP cert here)\r\n-----END CERTIFICATE-----`\r\n      ]\r\n    },\r\n    serviceProvider: {\r\n      entityId: 'https://your-app.com',\r\n      assertEndpoint: 'https://your-app.com/auth/saml/acs'\r\n    },\r\n    rolesClaim: 'http://schemas.xmlsoap.org/claims/Group',\r\n    roleMapper: { 'Admins': 'Admin' },\r\n    loginPath: '/auth/saml/login',\r\n    acsPath: '/auth/saml/acs'\r\n  },\r\n  ROLES: { Admin: 'Admins', User: 'Users' }\r\n});\r\n\r\n// Setup the SAML routes (login + ACS)\r\nauth.setupSaml(app);\r\n\r\n// Protect routes\r\napp.get('/dashboard', auth.samlAuth, (req, res) => {\r\n  res.json({ user: req.user });\r\n});\r\n\r\n// Users go to /auth/saml/login to start SAML flow\r\n```\r\n\r\n## Configuration\r\n\r\nUse the split per-method templates for clean examples:\r\n\r\n- `config.auth.legacy.template.js` (NTLM + LDAP)\r\n- `config.auth.cognito.template.js`\r\n- `config.auth.azure.template.js`\r\n- `config.auth.oidc.template.js`\r\n- `config.auth.saml.template.js`\r\n\r\n`config.auth.template.js` remains as a combined overview / starting point (it shows common settings + how to pick one provider block).\r\n\r\n**Important:** Use environment variables for all passwords, private keys and `passToken` (see \"Secrets from Environment Variables\" section below). Never commit real secrets.\r\n\r\nKey settings:\r\n\r\n```js\r\n{\r\n  AUTH_TYPE: 'NTLM' | 'EXTERNAL_JWT' | 'SAML',\r\n\r\n  // Modern providers\r\n  COGNITO: { ... },\r\n  AZURE:   { ... },\r\n  OIDC:    { ... },\r\n  SAML:    { identityProvider, serviceProvider, rolesClaim?, roleMapper?, loginPath?, acsPath? },\r\n\r\n  // Optional\r\n  useLdapForRoles: false,\r\n  rolesClaim: 'roles',\r\n  roleMapper: { ... }\r\n}\r\n```\r\n\r\n## Secrets from Environment Variables\r\n\r\nTo avoid putting real passwords, private keys or JWT signing secrets directly in committed configuration files, the module supports reading them from environment variables.\r\n\r\n**Supported variables (the first matching one wins):**\r\n\r\n- `password` (LDAP bind): `LDAP_PASSWORD`, `AUTH_LDAP_PASSWORD`, `AD_PASSWORD`, `LDAP_BIND_PASSWORD`\r\n- `passToken` (internal JWT signing — important for stable tokens across restarts): `AUTH_JWT_SECRET`, `JWT_SECRET`, `AUTH_PASS_TOKEN`, `PASS_TOKEN`\r\n- SAML `serviceProvider.privateKey`: `SAML_PRIVATE_KEY`, `AUTH_SAML_PRIVATE_KEY`, `SP_PRIVATE_KEY`\r\n- SAML `serviceProvider.certificate` / IdP certs: `SAML_CERTIFICATE`, `SAML_IDP_CERT` etc.\r\n- TLS CA content: `LDAP_TLS_CA`, `AUTH_LDAP_CA`\r\n\r\n**How to use (recommended — zero secrets in your config file):**\r\n\r\n```js\r\n// config.auth.js  (safe to commit)\r\nmodule.exports = {\r\n  url: 'ldap://ldap.example.com:389',\r\n  DOMAIN: 'EXAMPLE',\r\n  baseDN: 'dc=example,dc=com',\r\n  // password omitted — comes from env at runtime\r\n  // passToken omitted — comes from env\r\n  ROLES: { Admin: 'Admins', User: 'Users' },\r\n  // For SAML, you can also omit privateKey\r\n};\r\n```\r\n\r\nThen run with:\r\n\r\n```bash\r\nLDAP_PASSWORD=supersecret AUTH_JWT_SECRET=my-super-jwt-key node server.js\r\n```\r\n\r\nThe module resolves at construction time (before passing anything to LDAP or SAML libs). Explicit values in the config object always take precedence over env.\r\n\r\nYou can also use the classic `process.env.XXX` references inside the config file if you prefer visibility of the var name.\r\n\r\nSee the per-provider `config.auth.*.template.js` (and the combined `config.auth.template.js`) for more commented examples with env var usage.\r\n\r\n## API Reference\r\n\r\n### Legacy / NTLM\r\n- `setNTLMAuth(app)`\r\n- `setRoles(app)`\r\n- `getRoles(req, res)`\r\n- `removeCache4(userName)`\r\n\r\n### JWT-based (Cognito, Azure, OIDC, custom)\r\n- `validateToken(app)` — smart, works for legacy + external\r\n- `validateExternalToken(app)` — clean dedicated middleware for cloud JWTs\r\n\r\n### SAML 2.0\r\n- `setupSaml(app)` — registers login, ACS (assertion consumer), and logout routes based on config\r\n- `samlAuth` — middleware to protect routes (checks SAML session cookie or token)\r\n\r\nAfter successful SAML login, an internal JWT is issued and stored in an httpOnly cookie (`saml_auth_token`). The `samlAuth` middleware validates it and populates `req.user` + sets the usual `isXXX` headers.\r\n\r\n## More Examples\r\n\r\n### Protecting an API route with external JWT (Cognito)\r\n\r\n```js\r\nconst auth = require('@acastellon/auth')(cognitoConfig);\r\n\r\nauth.validateExternalToken(app);\r\n\r\napp.get('/api/data', (req, res) => {\r\n  // req.user contains { id, isAdmin: true, ... }\r\n  res.json({ data: 'secret', user: req.user });\r\n});\r\n```\r\n\r\n### Full SAML flow with role-based access\r\n\r\n```js\r\n// In your main app\r\napp.use(auth.samlAuth); // or per-route\r\n\r\napp.get('/admin', (req, res) => {\r\n  if (!req.user.isAdmin) return res.status(403).send('Admins only');\r\n  res.send('Welcome admin');\r\n});\r\n```\r\n\r\n### Hybrid: External JWT + LDAP roles\r\n\r\n```js\r\n{\r\n  AUTH_TYPE: 'EXTERNAL_JWT',\r\n  COGNITO: { ... },\r\n  useLdapForRoles: true,   // still calls LDAP for additional roles\r\n  // ... ldap config\r\n}\r\n```\r\n\r\n## Migrating from v1\r\n\r\n- Existing NTLM + LDAP + internal JWT code continues to work unchanged.\r\n- Add provider blocks to config.\r\n- For JWT providers use `validateExternalToken` or `validateToken`.\r\n- For SAML use `setupSaml(app)` + `samlAuth` middleware.\r\n- New dependency `saml2-js` for SAML support.\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}