{"_id":"@advancetec/auth-backend","_rev":"8-bf410f0a982156ba9b3f7384636353a9","name":"@advancetec/auth-backend","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"@advancetec/auth-backend","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.0","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"c81fad5f47fc1de189cc27cb7c356b3af2867920","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.0.tgz","fileCount":11,"integrity":"sha512-MSER0dxSVqxxikgDXijRxkqtH9ew+UChVlsXUuzgBrkqzGFKf4wbhuy+PjLqybxhNgStG+eg20ie4Pi0gIthzA==","signatures":[{"sig":"MEQCIHIQx1/v7lSa3cYXfwbIKKCIzQmcj4rn1aJ96BjWxu74AiBgMHPh8PiDRqmv3URI8xn85ZdmQbpRXny6IqfxueP1sA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6781},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"8700639a43da3acf5ab6da25780f729050558149","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC React + Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.0_1747079414956_0.2826687572057618","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@advancetec/auth-backend","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.1","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"67203541eaea7390f8441d45c8de63225f6b37ca","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.1.tgz","fileCount":11,"integrity":"sha512-KjRmuC9fpZeekC/nsfs05eReW6ZblxlqU2VuI/PyEGqzCEDqTfyp3yKXT5hI/OWRwZzyrHqnMFB8Gk4KDgBsZA==","signatures":[{"sig":"MEUCIQCiBxkdhtVv28BJUiiTcMPIe8wEd8RigNnrBtOiFOGCmgIgVP8uBoc5tbpCql6mI2QPjSoqeZQZJI9vCFi/jO9SY5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6789},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"8700639a43da3acf5ab6da25780f729050558149","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.1_1747079544653_0.5087897822364971","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@advancetec/auth-backend","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.2","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"c81de5b4e93b652d09274bda3e9002fd17afa88c","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.2.tgz","fileCount":11,"integrity":"sha512-TWUMM7ErqPKykDTmf5tyEiCQY0TBzO/1Q03759L8XApe8OvVc7NFlTO5wnzW6kO/ze5uo6azBemQyFg1L4HcLw==","signatures":[{"sig":"MEUCIQCd5MufGEo3cLlr+8si8U1zO8TMVXNCPdX37iZj+qpi8AIgQyQw6uUwL4T78YXzgJgRA6bCKGUXPMs7FSAcgLNfHV4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6789},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"8700639a43da3acf5ab6da25780f729050558149","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.2_1747080031053_0.048369440805345","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@advancetec/auth-backend","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.3","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"3afeec7819c932412de7cff803ac9e489084417f","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.3.tgz","fileCount":11,"integrity":"sha512-Pu6OygWIt1R5/44XTRQlhPXx9jmnq+5ip/ksvOly4aeVGvRhrsnJV7yI919+0CWwrJyHtJgJ2CPWbbFdDu0D0A==","signatures":[{"sig":"MEYCIQCZEQv1WVuzz/VQuZxJd/yEIoRvwwFBHb7cVFFri2QTHAIhAJJd517kANn2c867y0d/rCfrhtalzzUFWEG2n0mIFYMn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6765},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"81d4b82ae476358b3591121020a37f8d1527dfc7","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.3_1747149891586_0.8321494312906632","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@advancetec/auth-backend","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.4","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"fc11a94e52a5974c150a02d9615ce7d513be8f88","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.4.tgz","fileCount":11,"integrity":"sha512-1S/krs/Wpxjt8nuO6mrGDXzb90VWE15JzLmZIwytoYUowCRUxguuc4l3WYzgd+rvxVmtTQFvliNXzhVNOcus8w==","signatures":[{"sig":"MEUCICJIO/4jiYJJm3jGIckhCOf+h9D1SVAYDyZWBcj+3Q2nAiEArU2dZT3NnTRI+dQX4mogiOZSshyorJtT7wWPkXKnsD4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6856},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"e55a6b0db3756c6547f746fa3beb985893feb526","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.4_1747150144743_0.5991496211658305","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@advancetec/auth-backend","version":"1.0.5","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.5","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"e4a21edc2677b02833debee5aaaa87bb433c47ab","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.5.tgz","fileCount":11,"integrity":"sha512-lY4e3InBu8wZMjDPPk5YbYghVU5WoCOfrSLYuq7JwICBGYW5ZvlI4O92Gr4LrHkXLvIh77jyfA4WQ4l9nJcmig==","signatures":[{"sig":"MEUCIDJyhnrE7CQ3wq/ZbXHHI7HW5wOGqLVpyWzXrvkv8CM2AiEAusvbA+JsAaX8E+fvepsSCCcr9OS/SBKOdi026WcmZGI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6989},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"d86e72fa3ca8a69a07fca53ed2751577f6141995","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.5_1747241762617_0.7551601661617606","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@advancetec/auth-backend","version":"1.0.6","keywords":[],"author":"","license":"ISC","_id":"@advancetec/auth-backend@1.0.6","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"dist":{"shasum":"0e692c7f4ec4ff60c060b90fc42e2b766f2931f2","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.6.tgz","fileCount":11,"integrity":"sha512-uCcgVMp0plV/c0yU0MS7VfkD3Y62eSGGpOvVo6/hit3nKHR1v/JYGJXcu7kDF49x3RZ8Ww5qzfmqfm7pG3T0uA==","signatures":[{"sig":"MEUCIQC1tu6Ec7tqX9GD/HVwHPqQ8TiyRuXorB+9hCNUUaR+2QIgXzmcXEKISN/C4WrNVR9ju4PVwdmXcjuW2P2270Sp0fo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7003},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"77f4bc8403a54ed6945f1e554218acf956eb92bc","scripts":{"lint":"eslint 'src/**/*.{ts,tsx}' --fix","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"repository":{"url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git","type":"git"},"_npmVersion":"11.3.0","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","directories":{},"_nodeVersion":"22.11.0","dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.17","@types/express":"^5.0.1","@typescript-eslint/parser":"^8.32.0","@typescript-eslint/eslint-plugin":"^8.32.0","eslint-import-resolver-typescript":"^4.3.4"},"peerDependencies":{"axios":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-backend_1.0.6_1747246122584_0.801534780610591","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@advancetec/auth-backend","version":"1.0.7","description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","lint":"eslint 'src/**/*.{ts,tsx}' --fix"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git"},"keywords":[],"author":"","license":"ISC","type":"module","bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","devDependencies":{"@types/express":"^5.0.1","@types/node":"^22.15.17","@typescript-eslint/eslint-plugin":"^8.32.0","@typescript-eslint/parser":"^8.32.0","eslint":"^9.26.0","eslint-import-resolver-typescript":"^4.3.4","prettier":"^3.5.3","typescript":"^5.8.3"},"dependencies":{"express-oauth2-jwt-bearer":"^1.6.1"},"peerDependencies":{"axios":"^1.9.0"},"_id":"@advancetec/auth-backend@1.0.7","gitHead":"eb3e25a240850c878003a105c1fb7bbf0408449b","_nodeVersion":"22.11.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-J7Ya7S7+giZbChpQtKhJd08vBi1mFNOHGMwWqIJXYHz0aSTBlofpkTEgfyEIx3Mm35JoL5q5m8HgfD1qhAyg6g==","shasum":"5d48b6d7d142685fe4125a5b325cfdf3dd4d32f9","tarball":"https://registry.npmjs.org/@advancetec/auth-backend/-/auth-backend-1.0.7.tgz","fileCount":11,"unpackedSize":6886,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFwryquaZ5CiwzIiSdwD5OStO3+ZRRIwlRr5Oe6TLwTWAiEAwb5VsA6Xv6pk1tCeZnoSA5fGYpkIzeU2/U25fDx4dyY="}]},"_npmUser":{"name":"mattburton","email":"matthewb@advancetecllc.com"},"directories":{},"maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth-backend_1.0.7_1747252729876_0.31416725040656046"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-12T19:50:14.850Z","modified":"2025-05-14T19:58:50.247Z","1.0.0":"2025-05-12T19:50:15.113Z","1.0.1":"2025-05-12T19:52:24.820Z","1.0.2":"2025-05-12T20:00:31.236Z","1.0.3":"2025-05-13T15:24:51.771Z","1.0.4":"2025-05-13T15:29:04.911Z","1.0.5":"2025-05-14T16:56:02.812Z","1.0.6":"2025-05-14T18:08:42.850Z","1.0.7":"2025-05-14T19:58:50.061Z"},"bugs":{"url":"https://github.com/AdvanceTEC-LLC/authentication-backend/issues"},"license":"ISC","homepage":"https://github.com/AdvanceTEC-LLC/authentication-backend#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/AdvanceTEC-LLC/authentication-backend.git"},"description":"> Centralized authentication tools for AdvanceTEC Node apps using Auth0","maintainers":[{"name":"mattburton","email":"matthewb@advancetecllc.com"}],"readme":"# @advancetec/auth-backend\n\n> Centralized authentication tools for AdvanceTEC Node apps using Auth0\n\nThis package provides backend authentication utilities designed for internal applications. It includes a backend Express middleware for verifying requests.\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install @advancetec/auth-backend\n```\n\n## 🧠 Features\n\n- 🔒 authentication: Express middleware to validate JWTs in protected routes\n\n## 🚀 Usage\n\n### Express Auth Middleware\n\nUse the authentication middleware to protect your API routes:\n\n```ts\nimport express from 'express'\nimport { authentication } from '@advancetec/auth-backend'\n\nconst app = express()\n\napp.use(authentication)\napp.use('/private', routes)\n```\n\n### 🔌 Environment Variables\n\nThe following variables are expected to be available in the consuming app:\n\n```ini\nAUTH0_AUDIENCE=your-api-audience\nAUTH0_ISSUER_BASE_URL=https://your-tenant.auth0.com/\n```\n\n## 📤 Exports\n\n| Name             | Type       | Description                                     |\n| ---------------- | ---------- | ----------------------------------------------- |\n| `authentication` | Middleware | Express middleware for backend route protection |\n\n## 🏗️ File Structure (Simplified)\n\n```bash\nsrc/\n├── backend/\n│   └── middleware.ts\n```\n\n### 🛠️ Roadmap\n\nAdd test suite + CI integration\n\n### 🧾 License\n\nInternal use only. Not licensed for external distribution.\n","readmeFilename":"README.md"}