{"_id":"@mattplaygamez/auth","_rev":"27-089d1275cddd84ad367f2817d0edec93","name":"@mattplaygamez/auth","dist-tags":{"latest":"3.7.6"},"versions":{"2.0.0":{"name":"@mattplaygamez/auth","version":"2.0.0","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.0.0","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"c44ce14507eed2ee0938911b64b2fddd9ace5382","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.0.0.tgz","fileCount":4,"integrity":"sha512-BZX+nsDQdsFocJvuENjgb4qWolzXLzOTGyuLsrG2epbXSU4wgElkZM/bVBrSkmkn4qTs0RDs6zr+8meM6yoo3Q==","signatures":[{"sig":"MEUCIGNN40XHsFHwb2XUF4RSVpmVwejWONRH1oJ2Bi54A7IfAiEAvDRDZHTHGMOa1lXn64r+Aoz27oIM8HivKOdb7PpzpPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3952},"main":"index.js","gitHead":"6f8363a68b2827617eeddc27a15b8552b5f9fa15","scripts":{"test":"node test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"22.8.0","dependencies":{"bcrypt":"^5.0.1","nanoid":"^3.3.4","uniqid":"^5.4.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.0.0_1725472029349_0.16398937204342667","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@mattplaygamez/auth","version":"2.0.1","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.0.1","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"b1ba585d2b23b0c244a86c49e5923d550d388f3f","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.0.1.tgz","fileCount":4,"integrity":"sha512-4J7T7oS405oT9REKnFvNvBbtJwuxY0q7+8MyFhaIcQbGsa9Di1neoAv5QsJwjr45te0Kzy/kPdVKPkzAY+cWMA==","signatures":[{"sig":"MEQCIAc7/iD+xHDiID/W36IyGJlP3Udv2Q2SJJ1h4IPiGVfoAiA8f8CXeFAw4noFNwab/UtrNsekBnVDSEDM9iTaqUNfLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8477},"main":"index.js","gitHead":"8dfc0a10054e9bb022bc3d5c8f414f43a2e578db","scripts":{"test":"node test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"22.8.0","dependencies":{"bcrypt":"^5.0.1","nanoid":"^3.3.4","uniqid":"^5.4.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.0.1_1725472437362_0.9590085975570766","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@mattplaygamez/auth","version":"2.0.2","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.0.2","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"dd315f03c54c54a1508db98949b5db43e04ef495","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.0.2.tgz","fileCount":4,"integrity":"sha512-Y9MUDZqy5C3DwWiGLEkg15owsGCXj3dNsQp9hBLuD27yTAiCvraDu1DInW6lzGm5N77y96iQJJVt1ILbj3rqlA==","signatures":[{"sig":"MEUCIQDhb4TlAI1Sfrt38db1vA+jmKPja9qiamsRQbGj891QYQIgH1y/ZzH+qKt14psCN4rd6v1LgaYzCe+pM4/rUzGv4VQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8483},"main":"index.js","gitHead":"14fce49b775c2a6b29941703c343b5fcf7ef5a3d","scripts":{"test":"node test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"22.8.0","dependencies":{"bcrypt":"^5.0.1","nanoid":"^3.3.4","uniqid":"^5.4.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.0.2_1725472534794_0.5875881621855985","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@mattplaygamez/auth","version":"2.0.3","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.0.3","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"cf3dcf633079c1bd6a85dcef4ec7f6f5fdbd702e","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.0.3.tgz","fileCount":3,"integrity":"sha512-SWPK01ygEwmx3u6hSDl5YZ6E+H7L6h1ZYKBXYQnlfBcesXhNAfbgcECLswrG2zo4hItmFJd2E4R4QnGxGoTFgg==","signatures":[{"sig":"MEYCIQD/uPFwtCIBFHrVXqWFwznD9g+notvlvQbmRGuOmOqHuQIhAOZZ9AqYfwFXUL4E6kfc6VUDhm+7yPGtIwhIpvn8OSd0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7596},"main":"index.js","gitHead":"247569afbf9a51ae6af5dc137828f254b4e5b1d6","scripts":{"test":"node test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"22.8.0","dependencies":{"bcrypt":"^5.0.1","nanoid":"^3.3.4","uniqid":"^5.4.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.0.3_1725793184478_0.028368917784285186","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"@mattplaygamez/auth","version":"2.5.0","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.5.0","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"56ede1e7994ca22b12cd304a5a8cb168593faec3","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.5.0.tgz","fileCount":4,"integrity":"sha512-fC8R0a/O4RtXJz7yWqGLgu8ZfK6WBc/5GDgD8ba6BTRcQNQyiS6vslJH5MPWIZMAyhwIw2Ta5gvZ9QSPZH1KUQ==","signatures":[{"sig":"MEUCIQCknvPPmWNBbauW5QYXgJC7jHrKiSkC3f9q+7nD9zpGYQIgJ8wSOgzXjbosfosQH4a5z/CtNcbsHdqNFjQkOcCgUjw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@2.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12763},"main":"index.js","gitHead":"226a62edf9d9939ad996e33e84bc0232c78323ed","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.5.0_1725809258739_0.04932764071352391","host":"s3://npm-registry-packages"}},"2.5.1":{"name":"@mattplaygamez/auth","version":"2.5.1","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.5.1","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"85e6ed8bf253d8bf1fd8edd422f891341c7d1f58","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.5.1.tgz","fileCount":4,"integrity":"sha512-xF/zMHCTnsKVGt7p5F2J5zZHrtkPxxcQsrvf6wNMIAzu4/6FpblUrsFHNLQnxVjWd0oJdrf6e/Wwp1CuSaSVoQ==","signatures":[{"sig":"MEYCIQCPvUJKuSEh+AQpoGairi0jCXownX/upeyW9G5ftajtoQIhAPMqdgzmnvDQnjFJfSH9zkUzwRNLmGlt3CMcJne9XHi+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@2.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12763},"main":"index.js","gitHead":"3701799b19e76b59fec12f7dd8a7c40b6148f6c5","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.5.1_1726117464380_0.9415381465740456","host":"s3://npm-registry-packages"}},"2.5.2":{"name":"@mattplaygamez/auth","version":"2.5.2","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@2.5.2","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"dd64eb0d195498c9fa419e1e436c838a48a9a385","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-2.5.2.tgz","fileCount":5,"integrity":"sha512-HkpJrnzONAAIsyTEX5fqze8oS3A2SvX8y1t3b+ZlA5iwpVqp4DI9Wh4eN0szoejX15zMCmxByoMsvKxajNk19g==","signatures":[{"sig":"MEQCIE0kAmJfzbYVA2KQRefYxUN7Sy1oEw7MrJfiaSw+UsuUAiBnzm7L1Os0utxvThLLbQA1miGe/5czDwQCKAd26zr/BA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@2.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13285},"main":"index.js","gitHead":"5634e7509bfa6b84a118a65e1545907c8b38b74a","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_2.5.2_1726117579342_0.20638667689085466","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@mattplaygamez/auth","version":"3.0.0","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.0.0","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"a4db0cbe5deaa7d87a1cc6d4a977f31b66842329","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.0.0.tgz","fileCount":7,"integrity":"sha512-pP0nvyhhhpsZ6ZP2ufYQkgShm755XAZSC8k5gcl9E8kQt0QGFx5RQTqI715IKXri41rMWe6kqgTiBfBHma/cJw==","signatures":[{"sig":"MEQCIC9MxLIPtn8h9UjlUPokbfMCRmFk8Q+0ame2r0OBBN0hAiAmsK7JqFDkeEFzePWPIHicsdQpBmrUv679uZhYAcMIyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27677},"main":"memory.js","gitHead":"20a4fd8f0018cd59c5d5c9b82c9114ed4c51d371","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.0.0_1726307410070_0.06770487486398769","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@mattplaygamez/auth","version":"3.0.1","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.0.1","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"6e370d53d2cc765488e5fd8a33ea09e4a5c8c611","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.0.1.tgz","fileCount":13,"integrity":"sha512-QxvTLXzCOGJUw4PpLPK4LRkfaT32apL7LY5leXszy3y/iS/bmnr3wnEuQymm59NcWwtLEdNjQ7YOhcal81j2Vg==","signatures":[{"sig":"MEUCIQCKx4LRRMQkgiN/wBnTnMs03Xfu51KnWQxiJxR/9MzyWAIgdpyxEK2K9C7Xm/dnpIOnSonXYcKIysMdmd43JexsG9E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":104699},"main":"memory.js","gitHead":"610436e0b23f7413eefe5bc76288dddfd4106fb6","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.0.1_1726308589769_0.14328977288999956","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@mattplaygamez/auth","version":"3.0.2","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.0.2","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"567aaf2d752c5656558e41d7df5c9733bf58eb85","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.0.2.tgz","fileCount":8,"integrity":"sha512-nlmPOfE7bqhGKrOUP6z7IoBS2TF+1OB4eoumBol+P1II08yDmQNZZoQnV38Vfm39Jeg4ZcontILZZHQ5SHKjDg==","signatures":[{"sig":"MEUCID+qdSlKHY/09IQWV4exXqGyPWtjwviCMeRiQ/gKDzw4AiEA92+6cYR2Z5dQPIHMPg/0cIvealefA6mnpg8yRTTPQAw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45592},"main":"memory.js","gitHead":"1dabd452d126d75e1951b33c87d0994495db8365","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.0.2_1726310923407_0.9085043170809928","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@mattplaygamez/auth","version":"3.5.0","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.5.0","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"4e89e587f2f377bacfcefd5f830d58d18c0ef4d6","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.5.0.tgz","fileCount":8,"integrity":"sha512-8kgFfsmEes++lyWM9I0rG2EVOC/aZ3TDVyTgpHXcG8nwqaVv3/vc/0X2sGDRZwJhUY/4fk5/Iiw8I+TDmPFNVg==","signatures":[{"sig":"MEYCIQDBr1m6M4HANTt4GHug9BLhtSKMQCNWP7GUfI9cc8ZEAQIhANPIDwaiUGFkGVzD66E8NkiM9qK1wbzZLfhuykVXQTWw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49163},"main":"memory.js","gitHead":"5df44b7b66158ae15b19809e31e2823f31294482","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.5.0_1726391948155_0.3276725461694736","host":"s3://npm-registry-packages"}},"3.5.1":{"name":"@mattplaygamez/auth","version":"3.5.1","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.5.1","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"8bd96cbdf3c879e7fa06a4de78a05406a40013db","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.5.1.tgz","fileCount":8,"integrity":"sha512-YQqYZ8uKGFJYgzmBZu4mnRzT62ilogLphZneXh5UekJD2g4A3VfqwYDDjYxhDlPNoBp521JXAyI1rWWgHwFnbQ==","signatures":[{"sig":"MEYCIQDvw/JVv8hYF/8SelXDlShSOQZBlGjEs1g2mGw32Pan0wIhALm7ec/z0GsDa4lxMDQvLjrUmFhUYFkTr//PU+OYnIN6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49155},"main":"memory.js","gitHead":"70709c35dabd159dc0ec37a3d54ffda01aa76c37","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.5.1_1726392096607_0.03549405810706108","host":"s3://npm-registry-packages"}},"3.5.2":{"name":"@mattplaygamez/auth","version":"3.5.2","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.5.2","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"d5e1ae97a95b673ee5fd8eeccf6956f0ac19ed47","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.5.2.tgz","fileCount":8,"integrity":"sha512-Ym14GMfzRR6K+ogZajKW/AFFiFrjntFj1+NK0wXhpWvYde+OP27yXovGsdRqCeBpVBn3KAtgjZ1mQHGU+PMUxA==","signatures":[{"sig":"MEUCIF1xPCu4rMZw5I9acHJuzxpp6hZvLztShcJ23sjnd4gUAiEA010U6liGQO8+NVGgedqHvv9NK3HOaXRF5JgE32UCTh0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49157},"main":"memory.js","gitHead":"ba921d9bc41ebddd4a8314b5851b088ed6220546","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^10.0.0","bcrypt":"^5.0.1","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.5.2_1726392190888_0.603178385271963","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"@mattplaygamez/auth","version":"3.6.0","author":{"name":"MattPlayGamez"},"license":"ISC","_id":"@mattplaygamez/auth@3.6.0","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"fe23c5ef040dcd040de8c29d73991ed4942815bf","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.6.0.tgz","fileCount":10,"integrity":"sha512-4HmbQ4R2K3NvzX+6ifSaWax+PA4EP0q25nEWpZ4BuAO3wDxJlny07fPyxv8K7EQooZpntsMCEioHq8EXOWwLNA==","signatures":[{"sig":"MEUCIG7OL8EpVIaFM4/Tia9ZSdVZqKnF+Horcq55BZGys7/pAiEAlQzTCamndjua37Z25Fwf+VB0cGuvJPsZ15WgAq1prRQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53690},"main":"memory.js","gitHead":"c0c868517b586bd1656fc26ccc0f5a3126281a4f","scripts":{"test":"jest mongodb.test.js --forceExit ​","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","nanoid":"^3.3.4","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.2","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.6.0_1726684500793_0.2729621325044238","host":"s3://npm-registry-packages"}},"3.6.1":{"name":"@mattplaygamez/auth","version":"3.6.1","author":{"name":"MattPlayGamez"},"license":"MPL-2.0","_id":"@mattplaygamez/auth@3.6.1","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues"},"dist":{"shasum":"2c8afbd47814f1157a12aabeafd8e086ea2d8ec0","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.6.1.tgz","fileCount":10,"integrity":"sha512-k2E9qygi60KX8UDksPiYGWmywPZfbOloevhwJtZmZDyG+SNK/C3PPFxjwLEDySbzM3xI8CnVrtdGCljtiYIZIw==","signatures":[{"sig":"MEUCIBsIXtZjshHcM50PvtOWEa5oLkdZ0bEyv8n8EhuLQMZtAiEAj2qCaQHNXg+q0ZWlgZCzurji5LiuwwP5524tLaCnfek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mattplaygamez%2fauth@3.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56267},"main":"memory.js","gitHead":"806e69a6320f6a2dfa8b02c3ee8ed43e058bdbfa","scripts":{"test":"jest mongodb.test.js --forceExit ​","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system, you can initialize it with your own data. Supports password hashing and token generation, auto user locking, DB/file integration + more","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","nanoid":"^5.0.7","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.6.3","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth_3.6.1_1726685729436_0.7415968307397285","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"@mattplaygamez/auth","version":"3.7.0","_id":"@mattplaygamez/auth@3.7.0","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"dist":{"shasum":"a50b77c78fd15273707e5e8334b4196f42d6ec03","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.0.tgz","fileCount":16,"integrity":"sha512-LczG9cCDMKMRL7RYzDWCv1hIZpWhKkj5MvldeACfqW/OiFNnFJyNHE3s5EiSwxTmCjJ1gRYPB8I03YERc/QN+A==","signatures":[{"sig":"MEYCIQCzgyflVG1cvv4pWt5Ux84YgSar10ADp5cxTwmK5nmJhAIhAJB+azx1ydQuFechTuenGEOw4fpoAKzlFy14K1PTHhLL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87208},"main":"memory.js","type":"commonjs","exports":{"./file":{"import":"./file.js","require":"./file.js"},"./memory":{"import":"./memory.js","require":"./memory.js"},"./mongodb":{"import":"./mongodb.js","require":"./mongodb.js"}},"gitHead":"f5c042ddf50affb77207331fde188590b6178457","scripts":{"test":"npx jest --forceExit *.test.js","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system...","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","nanoid":"^5.0.7","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.7.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"babel-jest":"^29.7.0","@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4"},"extensionsToTreatAsEsm":[".js"],"_npmOperationalInternal":{"tmp":"tmp/auth_3.7.0_1727876893113_0.0440848101732938","host":"s3://npm-registry-packages"}},"3.7.1":{"name":"@mattplaygamez/auth","version":"3.7.1","_id":"@mattplaygamez/auth@3.7.1","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"dist":{"shasum":"ecfb31ecfb98c6301595a97171702c251833f469","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.1.tgz","fileCount":16,"integrity":"sha512-/uS0x+VRR2sI84b+yIjqzPIRLsgtkO/E0oQZuxuCzP9cBKAnBDhmRDWw1iXpyBO4GheH3la2F5NjW0xdzSof8A==","signatures":[{"sig":"MEUCIQDHlDZw/sR0GF+rVMyri/3LWYvnqmqVLl9vHlH7Uqf/ZwIgCTusovwibj6FVHSyEx509Y4GPALnxqpbbY8vdABjsSg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86675},"main":"memory.js","type":"commonjs","exports":{"./file":{"import":"./file.js","require":"./file.js"},"./memory":{"import":"./memory.js","require":"./memory.js"},"./mongodb":{"import":"./mongodb.js","require":"./mongodb.js"}},"gitHead":"f5c042ddf50affb77207331fde188590b6178457","scripts":{"test":"npx jest --forceExit *.test.js","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.3","description":"A full fledged authentication system...","directories":{},"_nodeVersion":"22.9.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.7.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"babel-jest":"^29.7.0","@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4"},"extensionsToTreatAsEsm":[".js"],"_npmOperationalInternal":{"tmp":"tmp/auth_3.7.1_1727878151831_0.8392708065469368","host":"s3://npm-registry-packages"}},"3.7.2":{"name":"@mattplaygamez/auth","version":"3.7.2","_id":"@mattplaygamez/auth@3.7.2","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"dist":{"shasum":"dcaa20d2b58ff9b1b99d5ff083a87d332e203ce2","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.2.tgz","fileCount":16,"integrity":"sha512-hAcyOQAqvFeXx52I+sFcqrdBlJQ3agyikMefRNylUdv+PZWzkmsJo7CI2Zk1QakUTHCyH2di29BUWI3bt1BNSQ==","signatures":[{"sig":"MEQCICc0SvZCbx6YfVzblziVC2Sq63udQIJ96Da4B6m2clkwAiApp15Yp0/R6Qk52d/zFt7AKF4ULeKTAbEFw0SE0GMu0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86675},"main":"memory.js","type":"commonjs","exports":{"./file":{"import":"./file.js","require":"./file.js"},"./memory":{"import":"./memory.js","require":"./memory.js"},"./mongodb":{"import":"./mongodb.js","require":"./mongodb.js"}},"gitHead":"f5c042ddf50affb77207331fde188590b6178457","scripts":{"test":"npx jest --forceExit *.test.js","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system...","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.7.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"babel-jest":"^29.7.0","@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4"},"extensionsToTreatAsEsm":[".js"],"_npmOperationalInternal":{"tmp":"tmp/auth_3.7.2_1727878628751_0.6218239955912503","host":"s3://npm-registry-packages"}},"3.7.3":{"name":"@mattplaygamez/auth","version":"3.7.3","_id":"@mattplaygamez/auth@3.7.3","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"dist":{"shasum":"93aff07512f4bb2cd7b050d197ed71d75ebb8b27","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.3.tgz","fileCount":16,"integrity":"sha512-Ffkz7r/O50n7k6JuHNnqWzYvNnyqFe3zZRA/5JKfKz7D3c4DV5LJiPGLYfzyd4VqQ79tv/PtAkaGKGMSAiTXVg==","signatures":[{"sig":"MEUCIQDEiNxOx1s1s8HWaOEV24QvJ03GPuP0eWPHplzA7LeDPwIgZfqSBJEEYQZPcYN81uluLtgOOiheghGLKrYQGRs/6zA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86741},"main":"memory.js","type":"commonjs","exports":{"./file":{"import":"./file.js","require":"./file.js"},"./memory":{"import":"./memory.js","require":"./memory.js"},"./mongodb":{"import":"./mongodb.js","require":"./mongodb.js"}},"gitHead":"31883ec75eb6564f9c8769f536aac7c43280635c","scripts":{"test":"npx jest --forceExit *.test.js","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system...","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.7.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"babel-jest":"^29.7.0","@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4"},"extensionsToTreatAsEsm":[".js"],"_npmOperationalInternal":{"tmp":"tmp/auth_3.7.3_1727880019316_0.7431212149921758","host":"s3://npm-registry-packages"}},"3.7.4":{"name":"@mattplaygamez/auth","version":"3.7.4","_id":"@mattplaygamez/auth@3.7.4","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"dist":{"shasum":"67ae58b267765018e00a20ea92e1cd1a9b94b3bf","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.4.tgz","fileCount":16,"integrity":"sha512-f94FDsABBf2hi+nX6rfEoV2HtmDFIquusCKGHFrJF/n3mPO9TEaZccuv81qA5Oxbo1sTOLXeIWbDXSXXzKsB+A==","signatures":[{"sig":"MEYCIQC6FFLW6IjJ4o2FzAk+q4v3f9Vadm7m1bDJ051PD7NbqwIhAN5+djwKkhr+QvW8SL3a1cb4bdD+Hq5ReDx+WQK+p8+s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86464},"main":"memory.js","type":"commonjs","gitHead":"6fea3f99587304de2236c1f761d0e813c80a7663","scripts":{"test":"npx jest --forceExit *.test.js","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system...","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.7.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"babel-jest":"^29.7.0","@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4"},"extensionsToTreatAsEsm":[".js"],"_npmOperationalInternal":{"tmp":"tmp/auth_3.7.4_1727880223093_0.9558557236102374","host":"s3://npm-registry-packages"}},"3.7.5":{"name":"@mattplaygamez/auth","version":"3.7.5","_id":"@mattplaygamez/auth@3.7.5","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"homepage":"https://github.com/MattPlayGamez/auth#readme","bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"dist":{"shasum":"efa71f014a508a76bca3c51500d754c22bdd8dc3","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.5.tgz","fileCount":16,"integrity":"sha512-5Ugl09B7VyVRtmngxUBPhCKcUmRkIf5RYTFxJK+ZiWVQGyj318W9DxTXdvVJx4J8eQP/svUTfJA/4EMdj+/jJQ==","signatures":[{"sig":"MEUCIQCT0x76B9jKQH3/1Y5ZM/M4rU3skvBjHauL5Q/hFBdeMQIgVztTWmZhs3lOYdR+2FA4C1SDwkBnmFZ6s/li1W+T/V4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86453},"main":"memory.js","type":"commonjs","gitHead":"b4fa052e964f7bb7ec7b606928042be1b883e044","scripts":{"test":"npx jest --forceExit *.test.js","start":"node test/test.js"},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"repository":{"url":"git+https://github.com/MattPlayGamez/auth.git","type":"git"},"_npmVersion":"10.8.2","description":"A full fledged authentication system...","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jest":"^29.7.0","uuid":"^10.0.0","bcrypt":"^5.0.1","dotenv":"^16.4.5","qrcode":"^1.5.4","uniqid":"^5.4.0","mongoose":"^8.7.0","speakeasy":"^2.0.0","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"babel-jest":"^29.7.0","@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4"},"extensionsToTreatAsEsm":[".js"],"_npmOperationalInternal":{"tmp":"tmp/auth_3.7.5_1727881536416_0.28621570088355686","host":"s3://npm-registry-packages"}},"3.7.6":{"name":"@mattplaygamez/auth","version":"3.7.6","description":"A full fledged authentication system...","type":"commonjs","main":"memory.js","scripts":{"start":"node test/test.js","test":"npx jest --forceExit *.test.js"},"bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"repository":{"type":"git","url":"git+https://github.com/MattPlayGamez/auth.git"},"extensionsToTreatAsEsm":[".js"],"publishConfig":{"access":"public"},"dependencies":{"bcrypt":"^5.0.1","dotenv":"^16.4.5","jest":"^29.7.0","jsonwebtoken":"^9.0.2","mongoose":"^8.7.0","qrcode":"^1.5.4","speakeasy":"^2.0.0","uniqid":"^5.4.0","uuid":"^10.0.0"},"devDependencies":{"@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4","babel-jest":"^29.7.0"},"_id":"@mattplaygamez/auth@3.7.6","gitHead":"d2a40a15f4447faee7f96a72de1522c118d346fb","homepage":"https://github.com/MattPlayGamez/auth#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-SGmwbod+pcFPXMd8+WTmu4aEl3RKohN/awdyIqku2/cEX14KUwTmlH2pilFLGiZem+Z20mc1xgPCIgPRMjTMmg==","shasum":"70c6969c9fc0e04841df0a46bcfdea9ba4711441","tarball":"https://registry.npmjs.org/@mattplaygamez/auth/-/auth-3.7.6.tgz","fileCount":16,"unpackedSize":86671,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6mXpb4C3EP4W3NO0JRqacq/c+n8oMTU20SpkZk/X4RAIhAOEkBbbQ1Slz+b5Czd5JQVCgUEeGu6/lxUBgoGYqfO2M"}]},"_npmUser":{"name":"mattplaygamez","email":"penson.mathys@gmail.com"},"directories":{},"maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth_3.7.6_1727882926663_0.5975533962207553"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-04T17:47:09.260Z","modified":"2024-10-02T15:28:47.042Z","1.0.0":"2021-07-14T13:27:30.879Z","2.0.0":"2024-09-04T17:47:09.505Z","2.0.1":"2024-09-04T17:53:57.525Z","2.0.2":"2024-09-04T17:55:34.937Z","2.0.3":"2024-09-08T10:59:44.625Z","2.5.0":"2024-09-08T15:27:38.943Z","2.5.1":"2024-09-12T05:04:24.542Z","2.5.2":"2024-09-12T05:06:19.489Z","3.0.0":"2024-09-14T09:50:10.204Z","3.0.1":"2024-09-14T10:09:49.924Z","3.0.2":"2024-09-14T10:48:43.558Z","3.5.0":"2024-09-15T09:19:08.321Z","3.5.1":"2024-09-15T09:21:36.746Z","3.5.2":"2024-09-15T09:23:11.091Z","3.6.0":"2024-09-18T18:35:01.026Z","3.6.1":"2024-09-18T18:55:29.604Z","3.7.0":"2024-10-02T13:48:13.326Z","3.7.1":"2024-10-02T14:09:12.013Z","3.7.2":"2024-10-02T14:17:08.949Z","3.7.3":"2024-10-02T14:40:19.781Z","3.7.4":"2024-10-02T14:43:43.375Z","3.7.5":"2024-10-02T15:05:36.717Z","3.7.6":"2024-10-02T15:28:46.895Z"},"bugs":{"url":"https://github.com/MattPlayGamez/auth/issues","email":"xjuqhfou@anonaddy.me"},"homepage":"https://github.com/MattPlayGamez/auth#readme","repository":{"type":"git","url":"git+https://github.com/MattPlayGamez/auth.git"},"description":"A full fledged authentication system...","maintainers":[{"name":"mattplaygamez","email":"penson.mathys@gmail.com"}],"readme":"# @MattPlayGamez/Auth\n\nA versatile and secure authentication module for Node.js applications.\n \n\n## DEPRECATED\n\n> **Warning**\n> TO GET UPDATES AND FUTURE PROOFING, please use `seamless-auth` package\n\n\n\n\n\n## Features\n\n- Support for multiple storage methods: MongoDB, encrypted file, or in-memory\n- User registration and login\n- Password hashing with bcrypt\n- JWT token verification\n- Two-factor authentication (2FA) with QR codes\n- Login attempt limiting and user locking\n- Password reset and 2FA management\n\n## Installation\n\nInstall the module via npm:\n\n```bash\nnpm install seamless-auth\n```\n\n## Usage\n\nImport the desired version of the authenticator:\n\n```javascript\n// For MongoDB support\nconst Authenticator = require('seamless-auth/mongodb');\n// For encrypted file storage\nconst Authenticator = require('seamless-auth/file');\n// For in-memory storage\nconst Authenticator = require('seamless-auth/memory');\n\n\n```\nIf you use MongoDB, you NEED to make a schema with these values as a minimum.\nYou can add as many fields as you need. (e.g., phone number, address)\n\n```javascript\nconst DB_SCHEMA = {\n    email: { type: String, required: true, unique: true },\n    password: { type: String, required: true },\n    loginAttempts: { type: Number, default: 0 },\n    locked: { type: Boolean, default: false },\n    emailCode: { type: String, default: \"\", required: false, unique: true },\n    wants2FA: { type: Boolean, default: false },\n    secret2FA: String\n}\n```\n\nInitialize the authenticator with the required parameters:\n\n```javascript\n\nconst auth = new Authenticator(\nQR_LABEL,\nSALT,\nJWT_SECRET_KEY,\nJWT_OPTIONS,\nMAX_LOGIN_ATTEMPTS,\nUSER_OBJECT // Only for memory authentication\nDB_CONNECTION_STRING, //for MONGODB or DB_FILE_PATH for file storage\nDB_SCHEMA, // for MONGODB schema  \nDB_PASSWORD // only for file storage\n);\n```\n\n\n## API\n\n### `register(userObject)`\nRegisters a new user.\n\n### `login(email, password, twoFactorCode || null)`\nLogs in a user.\n\n### `getInfoFromUser(userId)`\nRetrieves user information.\n\n### `verifyToken(token)`\nVerifies a JWT token.\n\n### `verify2FA(userId, twoFactorCode)`\nVerifies a 2FA code.\nUseful for reverifying user identity when accessing sensitive functions\n\n### `resetPassword(userId, newPassword)`\nResets a user's password.\n\n### `changeLoginAttempts(userId, attempts)`\nChanges the number of login attempts for a user.\n\n### `lockUser(userId)`\nLocks a user account.\n\n### `unlockUser(userId)`\nUnlocks a user account.\n\n### `remove2FA(userId)`\nRemoves 2FA for a user.\n\n### `add2FA(userId)`\nAdds 2FA for a user.\n\n### `registerEmailSignin(email)`\nGenerates a OTP so the user can use passwordless login, using their email\n\n### `verifyEmailSignin(emailCode)`\nVerifies the OTP from the user and responds with a valid jwt_token\n\n### `revokeUserTokens(userId)`\nRevokes all existing JWT token for that user\n\n### `removeUser(userId)`\nRemoves a user.\n## Example\nEncrypted File\n```javascript\nimport Authenticator from 'seamless-auth/file.js';\nconst auth = new Authenticator(\n    'MyApp',\n    12,\n    'my_secret_key',\n    { expiresIn: '1h' },\n    5,\n    './users.db',\n    'db_password'\n);\n\n```\nMemory storage (ephemeral)\n\n```javascript\nimport Authenticator from 'seamless-auth/memory'\nlet USERS = [] // If you want to have existing users, add here\nconst auth = new Authenticator(\n    'MyApp',\n    12,\n    'your_jwt_secret',\n    { expiresIn: '1h' },\n    5,\n    USERS\n);\n```\n\n```javascript\nconst Authenticator = require('seamless-auth/file');\nconst auth = new Authenticator(\n'MyApp',\n12,\n'your_jwt_secret',\n{ expiresIn: '1h' },\n5,\n'./users.db',\n'db_password'\n);\n// Register a new user\nconst registerResult = await auth.register({\n    email: 'user@example.com',\n    password: 'secure_password',\n    wants2FA: true\n});\nconsole.log(registerResult);\n\nconst loginResult = await auth.login('user@example.com', 'secure_password', '123456');\nconsole.log(loginResult);\n// OR   \nconst emailCode = await auth.registerEmailSignin('user@example.com'); // Sent code to users email or phone number\n\ntoken = await auth.verifyEmailSignin(emailCode) // emailCode is that code that the user sends back, can be because a link he clicked or just when he filled the code in\nconsole.log(token.jwt_token); // It responds with a JSON WEB TOKEN\n\nawait auth.revokeUserTokens(userId)\n```\n\n\n```javascript\nimport Authenticator from \"../mongodb.js\";\n\nlet DB_SCHEMA = {\n    email: { type: String, required: true, unique: true },\n    password: { type: String, required: true },\n    loginAttempts: { type: Number, default: 0 },\n    locked: { type: Boolean, default: false },\n    wants2FA: { type: Boolean, default: false },\n    secret2FA: String\n}\n\n\nlet connectionString = \"CONNECTIONSTRING\" // The connection string for MongoDB\nconst auth = new Authenticator('MyApp', 12, 'your_jwt_secret', { expiresIn: '1 ' }, 5, connectionString, DB_SCHEMA);\n\n```\n\n## License\n\nMozilla Public License, v. 2.0\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## Support\n\nFor questions or support, please open an issue on the GitHub repository.","readmeFilename":"README.md"}