{"_id":"@fastify/basic-auth","_rev":"41-9a9bcb030a2190279edab297640cb8d0","name":"@fastify/basic-auth","dist-tags":{"next":"6.0.0","latest":"6.3.0"},"versions":{"3.0.0":{"name":"@fastify/basic-auth","version":"3.0.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@3.0.0","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"614a8989b55d8585c3fd4b32efbfd554fec0a877","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-3.0.0.tgz","fileCount":10,"integrity":"sha512-nkJiXdnPJcgfebQxo/FmFTbsJ1hPwmoq4L2WZakoYUEofDYcdyOkAmAC3ZVKTunmx+tKBrjHgyxQJ8PpUw6o/g==","signatures":[{"sig":"MEYCIQDDc67Zp7U4/2Nd+TPkjvzeOhA4mqVZydd8aPiLofG1kgIhAOvw1avU+1WZumZJjuU42Y1K6f1zoVoPH4Q6rRnv8rq9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaUXhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZfQ//ZXr4gzaSPxjdwWtwXz0HCroVTSUeK7EKMfaUeyCIJ4sJPH3q\r\n2PxeiBebyu6pQsn8VPQRG9wD+kfr+yAnR9mS/9R76k7ilrplOPnrsa+4wH/q\r\n6MgFszbT3YegEwCbLwQ3qNC0UErynoXLodzUqwdxjnSKpTXwkftBD0TGNgXw\r\nvMm+yRnIK1QYeXh/MZJ8fgHU1b/C5DjlP2aP1sHyAfOJkzvOe3m3yd8OFACe\r\nMhLyAUKwJVv27AryyF2csQjJoCIm64jeFmycUb7ratU2HzIa3AJ6/N2cMjMO\r\nZjWV0NtHyg8WCEhUArPRGv/80BljvcVHWsvug8W7YqBMaZhA3xdlXNhJp2re\r\nehLNOu8E84iPkfjWcTc/DYdEK7fyhbfAcVfhSjfPXK9/TbUzQ0jsunPfw0Gz\r\neJBnv1Chb5vJVK7NTxeRFq5SiOIeygGo/rO2HxEpEvYfivVik8yctBz1FnOt\r\niK3zYhHGHRSF0W7CsHDb0Vbf05kxsPr9eDJLZXd9sQONH7XpspkUTMDHnLN8\r\nvQH5f7MU5YEdS3saR1lI+O303qnx+yWp8PsnXxlA/N19OPHsMXW7GWese/qo\r\nCXSkHYmh9JNdAb/scq8aLZQtuIrB9hG+n5r+QJBJx7W7m9ygtt5g0Y5dcltd\r\nH2g2+0kc4SIIyfi+jv/NZ8/iPKO9pURaWic=\r\n=Spk8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"714444c2a83dd653cda39c0a3a90d9807648c358","scripts":{"test":"standard && tap test.js && tsd"},"_npmUser":{"name":"jsumners","email":"james.sumners@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"8.5.5","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"16.15.0","dependencies":{"basic-auth":"^2.0.1","http-errors":"^2.0.0","fastify-plugin":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","fastify":"^3.0.0","standard":"^17.0.0","@types/node":"^17.0.0","fastify-auth":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_3.0.0_1651066337040_0.14973059426468516","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@fastify/basic-auth","version":"3.0.1","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@3.0.1","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"3bb927632f2be14fbf53b0d701aebb97f498f0cf","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-3.0.1.tgz","fileCount":10,"integrity":"sha512-pigDHCddOXQTP/lSVCymEApxua/axonZ9FzyMSJySv8UdOKfueA7JEweqw54ROmYVwRYZa1YvquUN0WUbXtuhw==","signatures":[{"sig":"MEYCIQCYwGXlK6q6w17b3Gx/IGrSuqpHXlgJE4ESg5HmaYwgswIhAIaT2MY59GY0WZU+Vc8y5JP4bGX7Eb4en/hKMU6GeR+B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibrhdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOow//SoJN0qlaeua2ZjAys5LXHOuwYXZx0Y2egN1azPo5gVP1Lg9A\r\nASIzNBUjVC9lIyPEg9vcyirYM9abrsAf2PilCGcB3xpizw4OezAw5WBb4U4Y\r\nCjaXmDO2GIxFwKog88lS8DuH+OdkgW/WCCyswaC9R3lwkCNf0tOAigrfpykQ\r\nwKdkuK+z8Y8D7LLoaeZnZ+VE0AWx5FJqjlPeDRRJ7k4pP0/RiapLhXmMgH82\r\nPX4+YCvx4OtuilWHM+8LvV/7xPq4TjJRRDH2Hgryxd2BtK4Fstzycr4RUv4J\r\nkoFBeULHpIHVpJGzNdB4mh/L6ZwWqYT7szGWOwRaUIHrmYGm/mZR4emN/Iyw\r\nrztqnzY87pHxAUccmU8fQzOZKGd3rYnii8A/iJma23G/qAz7Xa954Shv/4j0\r\nFKWlzvbshS1zxXq+kItsH9/R6PZkbc3ECCarQZ7/oEx6Pnki8fa+DbeL2kpI\r\nllfTxVp3vCSGay901QR07eYwY9NNaZeM9NPiXRTz7h+HPNuB+agRsTOWwBGv\r\nkFLeK9/88vgWf9wRYLzkniyZNPRJ6E0MWQHtzUaIZ1+S2HPJIKFa0Aiami20\r\ntmMkW7dsSIe7bkl+HhiBkSljHV4QjjsdcAYNU/VA/D5HOXUXI/wr0IE9+96+\r\nvrNVN20oXVCOqIiSvCQutCoddYKa4Se/ZPk=\r\n=VyJY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"89300d42c010c0780dd2481cb79b6bffa000c09c","scripts":{"test":"standard && tap test.js && tsd"},"_npmUser":{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"8.1.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"16.13.0","dependencies":{"basic-auth":"^2.0.1","http-errors":"^2.0.0","fastify-plugin":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","fastify":"^3.0.0","standard":"^17.0.0","@types/node":"^17.0.0","@fastify/auth":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_3.0.1_1651423325590_0.22421798742943588","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@fastify/basic-auth","version":"3.0.2","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@3.0.2","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"15efb187ebdcb77ff56582431674b3886bdb4979","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-3.0.2.tgz","fileCount":10,"integrity":"sha512-LCAhLRn4/CrJAS/ThZxNbT1FDpd1SyZD2lWnepJgvrZobytADlXDHtm/VRnJvqOfvlHsUzOfp5BrTPtcvw2h5w==","signatures":[{"sig":"MEUCIE2vdENM1PVrMGddFHMNIeRlNiEvdkCFPvU+1uFFfA+uAiEAiQxJWyYKpTambCw06/8LmvK80FXGS0YFJ//SxiZCB6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJickfZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1Ng/+K7L/7xd8vsdTgXwE1XPHBIVJptTFLQAzkOsBplbZtxWlrLOs\r\nmF8WU63TUsnTSAUF0CkbQEN+TmdsJfkzCdFMqNesEeVL5QPv1BUl4ocufoLc\r\nZicSbJsYF4TedF+5Kt96XgY2LR3Ud4IkNxlpZKWsm+4F/7e/PDaX56tIYNwW\r\nt86Vkn59AjwtZwZoPfQq1tUnOeJc9EiuNFO5Dwl4P4PhDeE21BJWKmhGuwn2\r\nHxfEpZWRtT1/RE/Nc46FydK03B9ZEodoSP1poKZ5upeow5TQIUF9mS0mtzhU\r\nKdczZ5KybPAynaiuTojsFRaikEqzG6PgocXyWt+ctOzndA/x0tNpMuQ6fOVr\r\nckwRzSL8xDP8Q5vWoF2xYLq8HeyeWVxQFU33ZgP8BWarlsS2wbHa6bzqIzNO\r\nOuIAdQ/N6lF8FlzkCj90KBl0rsjK7hlYJMqgTdmuoITG2zDC9L4neaawDf1C\r\ndXrD69k7lBMfXvb0PoSxbcUzsjLWY7KoCHvgVtojOY+CnB/ZD0HHH07Qv4MD\r\nwL+6yB1YA0qnIr7M9F63ZhE5pSPOeNWZ2sispbjZfctYFGaffkrYZyvG8knI\r\nZKyBgUShpfvvH3q7XQ6pJAiFekiZW66G8KUeQLIroHdfOT/bW4mEGmCEZAeX\r\n5Do6nGg/lDMZEU5+DO0i+tVT2sJSXJ09q0I=\r\n=dFJO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"20758b63bdfb5bc00130eb0785b27506fa08c383","scripts":{"test":"standard && tap test.js && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"8.5.5","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"16.14.0","dependencies":{"basic-auth":"^2.0.1","http-errors":"^2.0.0","fastify-plugin":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","fastify":"^3.0.0","standard":"^17.0.0","@types/node":"^17.0.0","@fastify/auth":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_3.0.2_1651656665422_0.5334683024336861","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@fastify/basic-auth","version":"4.0.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@4.0.0","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"2d35c7c77710af08c36a8c9c2cc31a7f73a953bb","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-4.0.0.tgz","fileCount":10,"integrity":"sha512-qx8n2BTutuCmzMw/7yQmvr1MOsCmasV/CljYg2CCBgAi4ljps627a6FpFX+xFj5wfjmYrvZQRcCMP5Oa67CJpA==","signatures":[{"sig":"MEYCIQCgCUuTJs8mjtGbk6sf9kGFTOm4erlHxaBAfxvH7445NAIhAN9yTCoeqG93rvD7WL1PvuBrI9yF/NXybBuxq7csfyyY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifhswACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjZw/+OosrEtCco5tHQgaMv0IXR1YBIPJFRKY1JLTg3rhVHc/ejlcA\r\nDBd5QE9gJhp93yYfSOcPP2dFRoCikpvVp7BcemsreoJvmrKXXwdL4/kuYjf4\r\nLFoKWjY6jLlg65+nu0hroDGkX51LcWevovVJtSMd1wZNE5LaFPMKmsH0hiPl\r\n0IaVaIG+AO3g+KF9hcSqUP24vXV8iqaZ7Pwdv0S5cpG3+io5bASRZevdmZM+\r\nd9g1vUriworyRRA7xryifZ3HXW9Jw4iaaD8z7Ekx1Yc5mDsbVpwhefLB9q4X\r\niHK5etsd0qq0MyHHUDoD/wnbkq/SS0s2DFxRCzrCF1aGMB6NTQ9WucOUPLq8\r\ntbQrFHPNbAM/Wf8rkax33uyT81ipXsUIREvp0OWxH1T3twkdb2j33yfdG/GG\r\nuU7YvlbH1Tc7A7ikMoVEv0pldC0rEcvz8mUGOu/FG91IlZ1a8ab9MAF9K8D8\r\n+lOpB7NPwLkCSUMifR8DIh9NolFt8Q/fCowt/w5hHh4DOJoj0liQd5qTytm1\r\nF1zpt26or2Jv+BQRZtJqbXRhBR6vSlC3pbZd7n8BGJUrL2JqCmZh/qeIjYgL\r\naqQEoM+gNZTTOHvvAit5AS8AfK2xHXzp7ERSGty5vF7PHkzIGnlt9Ek/fvul\r\nR9es+KmU67GrYoPRO7o7dH20dJKqelJJvFY=\r\n=uK0o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"e514f44b033faf7c4c0be4c1b5598831d36bc21f","scripts":{"test":"standard && tap test.js && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"8.8.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"18.1.0","dependencies":{"basic-auth":"^2.0.1","http-errors":"^2.0.0","fastify-plugin":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^17.0.0","@fastify/auth":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_4.0.0_1652431663920_0.5223169176945026","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@fastify/basic-auth","version":"5.0.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@5.0.0","maintainers":[{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"73ba5d79aafd0b8accf96ee09f7dd475cbc253a7","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-5.0.0.tgz","fileCount":11,"integrity":"sha512-SKqJ0z6ziUZ2rfTcI0Y/RTlyvWgLlwATsOC9HSkAUEfIunFUXCTeygijSZRg/CYQkBRjoczwhNvBFr8Pm6agTg==","signatures":[{"sig":"MEUCIHk/Y58EGrrmOJY+qQ+hkAoX1V/8TSJ9LNw0QvRRAY6oAiEAwwR1fJUBosvNsVK4qq5VxNd45IIPwQ9e/jvhFvHmBug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhbB5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGshAAonCTE3bGpJbeuEr6FWn517f5ZmKMZFVPlQEubJl/3VP/+wXg\r\nsvcq3toUsvbqvwPXv3l0zngnwTECbRyhgCIopEJjIHHJYFN37i8+3iWcvrUg\r\n8ko0hT2xnE1gjVGpOyfhxmgj5vKurQuOJW8ZZ5o3lMHavyeQGr7JuJzuP4/o\r\nWuUS/l/xsEpGQo3MpWOW8Dt9Ql5mdq8z+Q2bo0vvHuE6wpqBj1ySxUFPTWRL\r\n+wTnvn0hDyeVw4H227kasquMAqFyZrzb7uzsKyOhU3jHGZkP8+ZrGxaf8NKg\r\n9hLwadUV24UoUpvu9tkpawV8ND8Zt41IG/Ile8xnupPMmQDYiBWHXD6VtNXb\r\nLXnBeegslhWdHvP+aSd0gLqMYbniKa/Fbp3uz4fc64jlumbhxwGjfSeVLgwS\r\n/VKbXbuOn2AQ7wDGefWs7ziYoNGscFYVQzHTCZUwr6jLabdzcPMddgRlfkx0\r\nWoS5qC+A95dlHi2AluxVtbiqXapYsb0W8GY1CzEFmxpVBL5ck8FLddsCrIwf\r\nuLPNVCfNrtSvx+GRLoQ/pBA0kpphnnft/l7MsvmG01gu3yPLBX+IQ4+TFwgu\r\nqCXTXDSkxPwp92jci0aPQ+mhNrJcXd1hYKEuPQpe/j1gQxfDCBHcBXkaKVGQ\r\n1OhSdcwXxGKXRZZMhno9NOHXyn8MFSj/y6E=\r\n=jVXj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","gitHead":"ae90063dcc1f084fe4538951e6785a8c58b4fa2c","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"tap","test:types":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"8.10.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"16.13.0","dependencies":{"basic-auth":"^2.0.1","@fastify/error":"^3.0.0","fastify-plugin":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.24.1","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^18.0.0","@fastify/auth":"^4.0.0","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_5.0.0_1669705849355_0.7144495164339184","host":"s3://npm-registry-packages"}},"5.1.0":{"name":"@fastify/basic-auth","version":"5.1.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@5.1.0","maintainers":[{"name":"gurgunday","email":"gurgun.dayioglu@icloud.com"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"356ebe0caf35107abbad70ba748d35283a25343f","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-5.1.0.tgz","fileCount":13,"integrity":"sha512-oZYuI9EJQMdor1fZybb/sqV5zxbux2pSV7LK6Tj+Y/ZM1fuwK9jFYxNSur4tbTiJ+oFjDtbVvKaNBiSzqLaqdw==","signatures":[{"sig":"MEUCIQDEQj41WyCnSCmiuBaDKZW3UfI6c4LKohwbGM/1fXcZJwIgIiIOgX4dQbkdWspVvwQt7hgzRBH0uKLzbk66shRJj/4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48799},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"bc9e1026d79e3586988fbb919358be2616209367","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"tap","test:types":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.1.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"20.8.0","dependencies":{"@fastify/error":"^3.0.0","fastify-plugin":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.29.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^20.1.0","@fastify/auth":"^4.0.0","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_5.1.0_1698784089172_0.7296825520529227","host":"s3://npm-registry-packages"}},"5.1.1":{"name":"@fastify/basic-auth","version":"5.1.1","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@5.1.1","maintainers":[{"name":"gurgunday","email":"gurgun.dayioglu@icloud.com"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"ff93d787bbbbd93b126550b797e1c416628c0a49","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-5.1.1.tgz","fileCount":13,"integrity":"sha512-L4b7EK5LKZnV6fdH1+rQbjhkKGXjCfiKJ0JkdGHZQPBMHMiXDZF8xbZsCakWGf9c7jDXJicP3FPcIXUPBkuSeQ==","signatures":[{"sig":"MEUCIQDlEEmP5akCXii/2yuehUqilGnlUQKJ4HAZlGz6rtRzXAIgXf3wk4/ZsX6xIpeKQJuQaJRgMh1nlJENECLG16T04cY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49908},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"d314d9bad1ea9f66cdee8666d1a4dbf4423a7961","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"tap","test:types":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.1.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"20.8.0","dependencies":{"@fastify/error":"^3.0.0","fastify-plugin":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.29.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^20.1.0","@fastify/auth":"^4.0.0","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_5.1.1_1701528926772_0.9221009086106222","host":"s3://npm-registry-packages"}},"6.0.0-pre.fv5.1":{"name":"@fastify/basic-auth","version":"6.0.0-pre.fv5.1","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.0.0-pre.fv5.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"d71e32499b18658f7608e872ca0ed654a2940814","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.0.0-pre.fv5.1.tgz","fileCount":13,"integrity":"sha512-qisq6C9DyWUYydaGRrSClcrOu6GUYswM26Ml1KCTf6Ub6t1LKYkkA3QVeVbavyebmUT0eLPGIGksDtT7ZNxT/g==","signatures":[{"sig":"MEUCIBZRSacPN+eu4vLscM+nQiPU8YzrtsVTtQX6/zjcyHmdAiEA+FfNOi8c7fKW6tKzUwgAGEInsI8p8nh0p6kKGX/2Q5U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49954},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"07928b4f4cbc3e8881d75e2980a8c8f29ad437e9","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"tap","test:types":"tsd"},"_npmUser":{"name":"jsumners","email":"james.sumners@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.7.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"20.15.0","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0-pre.fv5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^18.7.1","tsd":"^0.30.7","fastify":"^5.0.0-alpha.3","standard":"^17.1.0","@types/node":"^20.11.30","@fastify/auth":"^5.0.0-pre.fv5.1","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.0.0-pre.fv5.1_1720176183616_0.8367142308007085","host":"s3://npm-registry-packages"}},"6.0.0-pre.fv5.2":{"name":"@fastify/basic-auth","version":"6.0.0-pre.fv5.2","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.0.0-pre.fv5.2","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"1d3cebdd2def0f68b62c3305ac5ef7f56b77b29e","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.0.0-pre.fv5.2.tgz","fileCount":13,"integrity":"sha512-DVJuhQ+xLK9WK9qBI6BnAbXXQcihCLPX6CHWZ2AmfHCDw+fvFzIqBtiYLiiFjj9gH58/y1jgT2sGufcPR5+vYg==","signatures":[{"sig":"MEUCIQDc3DrR8K707csoy+Xvc/KU+H+mvVPZ1eckhGvxfjr3BAIgRAOApF9Cipdxzonp7oxdDpMzinYUCtqhhzgiQIIpMB4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49940},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"4a1bad9f8c744703cbf7c137180e81f2c7006aae","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"tap","test:types":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.2.4","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"22.3.0","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0-pre.fv5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^18.7.1","tsd":"^0.31.1","fastify":"^5.0.0-alpha.3","standard":"^17.1.0","@types/node":"^22.0.0","@fastify/auth":"^5.0.0-pre.fv5.1","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.0.0-pre.fv5.2_1723022019603_0.5150832826887912","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"@fastify/basic-auth","version":"6.0.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.0.0","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"bb17c4c48ba18273007e5279ea710e76e8c2a55c","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.0.0.tgz","fileCount":12,"integrity":"sha512-OpVFSvkNGplt2C7cd3ijC2XKZkmteZYagnjCiLdHpunZLGIDCw1UDCdOcTlqbqjl5VrxpIqRfmFO35UnU9kNcA==","signatures":[{"sig":"MEQCIGUBmd5n6462IX+EMaep+FvlvgF9u6RlKrMshhupbamBAiAHHMJPjhs6BwOzy0d6DntYAb/BLHW+P1/C1pSvwyvB4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51309},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"f44c9573fd9ed3c828e677152103d4fcabf587ab","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"c8 --100 node --test","test:types":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.8.1","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"20.16.0","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","fastify":"^5.0.0-alpha.4","standard":"^17.1.0","@types/node":"^22.0.0","@fastify/auth":"^5.0.0","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.0.0_1725547296959_0.79052314108504","host":"s3://npm-registry-packages"}},"6.0.1":{"name":"@fastify/basic-auth","version":"6.0.1","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.0.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"3dfcbd8a896b29b0dcb20ebeabd76b46e4f43257","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.0.1.tgz","fileCount":12,"integrity":"sha512-qEc2GvqqKg6LdkG4/a/95lmOfJVY1iImv+F8hyYtmnQjqihmB1s0GZJUgSUjGpJRZcl7bta09/nKIlRfGbhu1w==","signatures":[{"sig":"MEUCIQCYpn3ATbdnSqBP5lkcigPchFh2/wXb6U3mUpLq2UoRMQIgPOXFjV8GNRfl7H4ZxuYQxD0ZiWYNL1cGPg4bdez/rfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51301},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"b508e593c831b5d58ddb7128d8345cfd8613158e","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:types","test:unit":"c8 --100 node --test","test:types":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.1.0","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"20.8.0","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","fastify":"^5.0.0","standard":"^17.1.0","@types/node":"^22.0.0","@fastify/auth":"^5.0.0","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.0.1_1726995610019_0.9108438608763387","host":"s3://npm-registry-packages"}},"6.0.2":{"name":"@fastify/basic-auth","version":"6.0.2","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.0.2","maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"fdawgs","email":"frazer.dev@icloud.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"448ef91e889539a1b0658d9a70880a1650b5c3c1","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.0.2.tgz","fileCount":13,"integrity":"sha512-tnFVBPGHSqO/+g134I1S1bWxDKBAuByThy35zNdpCls/pyZ/sy7B0TwxtfG6MmESP4WiqwmLUTMfW+YOKe83vA==","signatures":[{"sig":"MEUCICkvBzxQw/TkIGIq1zCnJpV98m1RlgTe3FRgGbI3WOSvAiEAyVrmpm6iI9fGQgWVOrm31gl3DIXWscFbOHW220csOw8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51613},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"36277998e1963902c497c6f07b78b63390bc9738","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:types","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:types":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.8.2","description":"Fastify basic auth plugin","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","fastify":"^5.0.0","@types/node":"^22.0.0","neostandard":"^0.11.9","@fastify/auth":"^5.0.0","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.0.2_1734165129961_0.8047480569340466","host":"s3://npm-registry-packages-npm-production"}},"6.0.3":{"name":"@fastify/basic-auth","version":"6.0.3","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.0.3","maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"9af4ced5958e2579554e6f6527d4b5b20d35a3fe","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.0.3.tgz","fileCount":13,"integrity":"sha512-1uFhStk9zFAQQgSdbGVK2BMSEOPyKQ+lPLLkbto8gpqYqISmXLtvD1jz8/5ibf2Q7jI6+Ns4WdKmRQjI8FYiyA==","signatures":[{"sig":"MEUCIQDeoT7gNIcMSOTLordXo8RN6nzLPypnlyR2eI2v3Ge5xgIgetCBmk2JvTJaYSXE/61lFKje/HF+DMR50rAbzBmJCLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52875},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"55f00be2c536e043cb6c1d1b3e92d637e3c0b0ce","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:types","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:types":"tsd"},"_npmUser":{"name":"fdawgs","email":"frazer.dev@icloud.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.8.2","description":"Fastify Basic auth plugin","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","eslint":"^9.17.0","fastify":"^5.0.0","@types/node":"^22.0.0","neostandard":"^0.12.0","@fastify/auth":"^5.0.0","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.0.3_1735822137919_0.42052814998096477","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"@fastify/basic-auth","version":"6.1.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.1.0","maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"a2e3524114b8678812c41a2dc52d0c451faa1f0f","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.1.0.tgz","fileCount":13,"integrity":"sha512-66yA8LpWLUZjCYX5vn6yxtoCG33McFapbUdiVIXqRoTednWGMo4q3xWvYbw91y5leevP0JkM0EjsipMASyPrBQ==","signatures":[{"sig":"MEUCIQC9BFIapp7SpGKl6IYc/s/ynNPFKXfCWuu+6ST+3CbSmwIgcwBzeZ9zpCYj9Z57c+XKodGYudidi9i7ZXqh3dLY/iU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56238},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"35c914e43cf27e544048883ddab0b42af4d00e61","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:types","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:types":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.8.2","description":"Fastify Basic auth plugin","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","eslint":"^9.17.0","fastify":"^5.0.0","@types/node":"^22.0.0","neostandard":"^0.12.0","@fastify/auth":"^5.0.0","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.1.0_1744572499540_0.2711464336051803","host":"s3://npm-registry-packages-npm-production"}},"6.2.0":{"name":"@fastify/basic-auth","version":"6.2.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.2.0","maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"c311870a3343879e11b57225587349c9cce5a046","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.2.0.tgz","fileCount":13,"integrity":"sha512-Ao9Jf8TyW8v7p3CPy++c+E3qcCDeWfAlSIfFo0CsKrfvm81i0OCpnobIMwaSSkg/At0rzsLzbJPDWrgNru0G1w==","signatures":[{"sig":"MEUCIGJo+aQKQSMJhl7l6OVG4GEgXirlOJAUEQ2JvreDyBxRAiEA6ms/VU4wiOn8xFlDDpYI828YFYWiPbw7TUG41gjvo8Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59403},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"cb1554488402abbb729821cddd77b100e4cb1755","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:types","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:types":"tsd"},"_npmUser":{"name":"fdawgs","email":"frazer.dev@icloud.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"10.8.2","description":"Fastify Basic auth plugin","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","eslint":"^9.17.0","fastify":"^5.0.0","@types/node":"^22.0.0","neostandard":"^0.12.0","@fastify/auth":"^5.0.0","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.2.0_1745520687179_0.2645109745678309","host":"s3://npm-registry-packages-npm-production"}},"6.3.0":{"name":"@fastify/basic-auth","version":"6.3.0","keywords":["fastify","basic","auth","authentication","plugin"],"author":{"url":"https://delvedor.dev","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/basic-auth@6.3.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"tony133","email":"a.tripodi133@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-basic-auth#readme","bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"dist":{"shasum":"77b17706393bcc65e670f72370fcef89bfebfa4e","tarball":"https://registry.npmjs.org/@fastify/basic-auth/-/basic-auth-6.3.0.tgz","fileCount":13,"integrity":"sha512-Yohe3nQ8J3xtYXoryDwrVj1bYEJRq+kNPU1Sdv7w0Nh45JyyflVpCttyfzioc/JnHJ/i0CKpVwW2K+5fGMW/pQ==","signatures":[{"sig":"MEYCIQCiJ7dbyd1xMllaqmnCfRj/eOw1kHlgFj4hVTkqKU2/mwIhAOcr6PaXfVWGvzzX3NFyyax0p1ApSmWb0GsMQjzdLP9V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61137},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"c6a5b7bb2f03d066e7d3ccd029825e0f11837edf","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:types","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:types":"tstyche"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"_npmVersion":"11.11.0","description":"Fastify Basic auth plugin","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@fastify/error":"^4.0.0","fastify-plugin":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","eslint":"^9.17.0","fastify":"^5.0.0","tstyche":"^7.0.0","@types/node":"^26.0.1","neostandard":"^0.13.0","@fastify/auth":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/basic-auth_6.3.0_1786200086621_0.37397480389452875","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2022-04-27T13:32:16.943Z","modified":"2026-09-04T11:16:37.252Z","3.0.0":"2022-04-27T13:32:17.202Z","3.0.1":"2022-05-01T16:42:05.760Z","3.0.2":"2022-05-04T09:31:05.639Z","4.0.0":"2022-05-13T08:47:44.114Z","5.0.0":"2022-11-29T07:10:49.528Z","5.1.0":"2023-10-31T20:28:09.400Z","5.1.1":"2023-12-02T14:55:26.928Z","6.0.0-pre.fv5.1":"2024-07-05T10:43:03.788Z","6.0.0-pre.fv5.2":"2024-08-07T09:13:39.763Z","6.0.0":"2024-09-05T14:41:37.146Z","6.0.1":"2024-09-22T09:00:10.180Z","6.0.2":"2024-12-14T08:32:10.164Z","6.0.3":"2025-01-02T12:48:58.220Z","6.1.0":"2025-04-13T19:28:19.729Z","6.2.0":"2025-04-24T18:51:27.374Z","6.3.0":"2026-08-08T14:41:26.768Z"},"bugs":{"url":"https://github.com/fastify/fastify-basic-auth/issues"},"author":{"url":"https://delvedor.dev","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","homepage":"https://github.com/fastify/fastify-basic-auth#readme","keywords":["fastify","basic","auth","authentication","plugin"],"repository":{"url":"git+https://github.com/fastify/fastify-basic-auth.git","type":"git"},"description":"Fastify Basic auth plugin","contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"maintainers":[{"email":"hello@matteocollina.com","name":"matteo.collina"},{"email":"behemoth89@gmail.com","name":"eomm"},{"email":"iselwin@gmail.com","name":"kibertoad"},{"email":"kaka@kakawebsitedemo.com","name":"climba03003"},{"email":"hey@gurgun.day","name":"gurgunday"},{"email":"a.tripodi133@gmail.com","name":"tony133"},{"email":"me@metcoder.dev","name":"metcoder95"},{"email":"frazer.dev@icloud.com","name":"fdawgs"}],"readme":"# @fastify/basic-auth\n\n[![CI](https://github.com/fastify/fastify-basic-auth/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/fastify/fastify-basic-auth/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/@fastify/basic-auth.svg?style=flat)](https://www.npmjs.com/package/@fastify/basic-auth)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)\n\n A simple [Basic auth](https://datatracker.ietf.org/doc/html/rfc7617) plugin for Fastify.\n\n ## Install\n```\nnpm i @fastify/basic-auth\n```\n\n### Compatibility\n| Plugin version | Fastify version |\n| ---------------|-----------------|\n| `>=6.x`        | `^5.x`          |\n| `^4.x`         | `^4.x`          |\n| `>=1.x <4.x`   | `^3.x`          |\n| `^0.x`         | `^2.x`          |\n| `^0.x`         | `^1.x`          |\n\n\nPlease note that if a Fastify version is out of support, then so are the corresponding versions of this plugin\nin the table above.\nSee [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details.\n\n## Usage\nThis plugin decorates the fastify instance with a `basicAuth` function, which can be used inside any hook before a route handler, or with [`@fastify/auth`](https://github.com/fastify/fastify-auth).\n\n```js\nconst fastify = require('fastify')()\nconst authenticate = {realm: 'Westeros'}\nfastify.register(require('@fastify/basic-auth'), { validate, authenticate })\n// `this` inside validate is `fastify`\nfunction validate (username, password, req, reply, done) {\n  if (username === 'Tyrion' && password === 'wine') {\n    done()\n  } else {\n    done(new Error('Winter is coming'))\n  }\n}\n\nfastify.after(() => {\n  fastify.addHook('onRequest', fastify.basicAuth)\n\n  fastify.get('/', (req, reply) => {\n    reply.send({ hello: 'world' })\n  })\n})\n```\n\nPromises and *async/await* are supported as well!\n```js\nconst fastify = require('fastify')()\nconst authenticate = {realm: 'Westeros'}\nfastify.register(require('@fastify/basic-auth'), { validate, authenticate })\nasync function validate (username, password, req, reply) {\n  if (username !== 'Tyrion' || password !== 'wine') {\n    return new Error('Winter is coming')\n  }\n}\n```\n\nUse with `onRequest`:\n```js\nconst fastify = require('fastify')()\nconst authenticate = {realm: 'Westeros'}\nfastify.register(require('@fastify/basic-auth'), { validate, authenticate })\nasync function validate (username, password, req, reply) {\n  if (username !== 'Tyrion' || password !== 'wine') {\n    return new Error('Winter is coming')\n  }\n}\n\nfastify.after(() => {\n  fastify.route({\n    method: 'GET',\n    url: '/',\n    onRequest: fastify.basicAuth,\n    handler: async (req, reply) => {\n      return { hello: 'world' }\n    }\n  })\n})\n```\n\nUse with [`@fastify/auth`](https://github.com/fastify/fastify-auth):\n```js\nconst fastify = require('fastify')()\nconst authenticate = {realm: 'Westeros'}\nfastify.register(require('@fastify/auth'))\nfastify.register(require('@fastify/basic-auth'), { validate, authenticate })\nasync function validate (username, password, req, reply) {\n  if (username !== 'Tyrion' || password !== 'wine') {\n    return new Error('Winter is coming')\n  }\n}\n\nfastify.after(() => {\n  // use preHandler to authenticate all the routes\n  fastify.addHook('preHandler', fastify.auth([fastify.basicAuth]))\n\n  fastify.route({\n    method: 'GET',\n    url: '/',\n    // use onRequest to authenticate just this one\n    onRequest: fastify.auth([fastify.basicAuth]),\n    handler: async (req, reply) => {\n      return { hello: 'world' }\n    }\n  })\n})\n```\n\n### Custom error handler\n\nOn failed authentication, `@fastify/basic-auth` calls the Fastify\n[generic error\nhandler](https://fastify.dev/docs/latest/Reference/Server/#seterrorhandler) with an error\nand sets `err.statusCode` to `401`.\n\nTo properly `401` errors:\n\n```js\nfastify.setErrorHandler(function (err, req, reply) {\n  if (err.statusCode === 401) {\n    // This was unauthorized! Display the correct page/message\n    reply.code(401).send({ was: 'unauthorized' })\n    return\n  }\n  reply.send(err)\n})\n```\n\n## Options\n\n### `utf8` <Boolean> (optional, default: true)\n\nUser-ids or passwords with non-US-ASCII characters may cause issues\nunless both parties agree on the encoding scheme. Setting `utf8` to\ntrue sends the 'charset' parameter to prefer \"UTF-8\", increasing the\nlikelihood that clients will use that encoding.\n\n### `strictCredentials` <Boolean> (optional, default: true)\n\nSetting `strictCredentials` to false allows additional whitespaces at\nthe beginning, middle, and end of the authorization header.\nThis is a fallback option to ensure the same behavior as `@fastify/basic-auth`\nversion <=5.x.\n\n### `validate` <Function> (required)\n\nThe `validate` function is called on each request made\nand is passed the `username`, `password`, `req`, and `reply`\nparameters, in that order. An optional fifth parameter, `done`, can be\nused to signify a valid request when called with no arguments\nor an invalid request when called with an `Error` object. Alternatively,\nthe `validate` function can return a promise, resolving for valid\nrequests and rejecting for invalid. This can also be achieved using\nan `async/await` function, and throwing for invalid requests.\n\nSee code above for examples.\n\n### `authenticate` <Boolean|Object> (optional, default: false)\n\nThe `authenticate` option adds the [`WWW-Authenticate` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/WWW-Authenticate) and can set the `realm` value.\n\nThis can trigger client-side authentication interfaces, such as the browser authentication dialog.\n\nSetting `authenticate` to `true` adds the header `WWW-Authenticate: Basic`. When `false`, no header is added (default).\n\nWhen `proxyMode` is `true` it will use the [`Proxy-Authenticate`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Proxy-Authenticate) header instead.\n\n```js\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  authenticate: true // WWW-Authenticate: Basic\n})\n\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  proxyMode: true,\n  authenticate: true // Proxy-Authenticate: Basic\n})\n\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  authenticate: false // no authenticate header, same as omitting authenticate option\n})\n```\n\nThe `authenticate` option can have a `realm` key when supplied as an object.\nIf the `realm` key is supplied, it will be appended to the header value:\n\n```js\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  authenticate: {realm: 'example'} // WWW-Authenticate: Basic realm=\"example\"\n})\n```\n\nThe `realm` key can also be a function:\n\n```js\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  authenticate: {\n    realm(req) {\n      return 'example' // WWW-Authenticate: Basic realm=\"example\"\n    }\n  }\n})\n```\n\nThe `authenticate` object can include an optional `header` key to customize the header name, replacing the default `WWW-Authenticate`:\n\n```js\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  authenticate: {\n    header: 'Proxy-Authenticate' // Proxy-Authenticate: Basic\n  }\n})\n```\n\n### `proxyMode` Boolean (optional, default: false)\n\nSetting the `proxyMode` to `true` will make the plugin implement [HTTP proxy authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication#proxy_authentication), rather than resource authentication. In other words, the plugin will:\n\n- read credentials from the `Proxy-Authorization` header rather than `Authorization`\n- use `407` response status code instead of `401` to signal missing or invalid credentials\n- use the `Proxy-Authenticate` header rather than `WWW-Authenticate` if the `authenticate` option is set\n\n### `header` String (optional)\n\nThe `header` option specifies the header name to get credentials from for validation. If not specified it defaults to `Authorization` or `Proxy-Authorization` (according to the value of `proxyMode` option)\n\n```js\nfastify.register(require('@fastify/basic-auth'), {\n  validate,\n  header: 'x-forwarded-authorization'\n})\n```\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","readmeFilename":"README.md"}