{"_id":"@auth0/rule-utilities","_rev":"130-27cd8f0cda872b7e9cc353329c122c11","name":"@auth0/rule-utilities","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@auth0/rule-utilities","version":"0.1.0","author":{"name":"Auth0","email":"support@auth0.com"},"license":"MIT","_id":"@auth0/rule-utilities@0.1.0","maintainers":[{"name":"crigot","email":"cristofer_g@hotmail.com"},{"name":"jim.andersoon","email":"jim.anderson@auth0.com"},{"name":"th3maio","email":"andre.demaio@auth0.com"},{"name":"ldoorz","email":"luis.britos-manriquez@auth0.com"},{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},{"name":"widcket","email":"zeta@widcket.com"},{"name":"davidpatrick0","email":"david.patrick@auth0.com"},{"name":"rosnovsky","email":"artem@rosnovsky.us"},{"name":"faroceann","email":"maxhammad@gmail.com"},{"name":"rob.coles","email":"rob.coles@auth0.com"},{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},{"name":"lzychowski","email":"les.zychowski@auth0.com"},{"name":"luuuis","email":"luis@eml.cc"},{"name":"sandrinodimattia","email":"sandrino@dimattia.be"},{"name":"yacine-b","email":"yacine.brahimi@auth0.com"},{"name":"davidmoses","email":"david.moses@auth0.com"},{"name":"bmaxwella0","email":"brandon.maxwell@auth0.com"},{"name":"stevehobbsdev","email":"steve.hobbs@auth0.com"},{"name":"sambego","email":"sambellen@gmail.com"},{"name":"heyitsry","email":"ryan.wilke@auth0.com"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"matchai","email":"hello@matchai.me"},{"name":"shawnmclean","email":"shawnrmclean@gmail.com"},{"name":"jstrutz","email":"j@jasonstrutz.com"},{"name":"ziluvatar","email":"eduardo.diaz@auth0.com"},{"name":"iaco","email":"sebastian.iacomuzzi@gmail.com"},{"name":"jfromaniello","email":"jfromaniello@gmail.com"},{"name":"cocojoe","email":"martin.walsh@gmail.com"},{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"auth0npm","email":"devops+npm@auth0.com"},{"name":"auth0alec","email":"alec.pesola@auth0.com"},{"name":"auth0brokkr","email":"support@auth0.com"},{"name":"hzalaz","email":"hernan@auth0.com"},{"name":"glena","email":"german.lena@gmail.com"},{"name":"aaguiarz","email":"andres.aguiar@gmail.com"},{"name":"machuga","email":"machuga+npm@gmail.com"},{"name":"lbalmaceda","email":"balmacedaluciano@gmail.com"}],"homepage":"https://github.com/auth0/rule-utilities#readme","bugs":{"url":"https://github.com/auth0/rule-utilities/issues"},"dist":{"shasum":"0584ca3047749f6e4e41172b9462c68a4b2441d8","tarball":"https://registry.npmjs.org/@auth0/rule-utilities/-/rule-utilities-0.1.0.tgz","fileCount":6,"integrity":"sha512-LDREoGokCbqqR+qmXSNbZ4rXsmJc1OeqXA3QoUSNPgz5w0XLOXQE38bzlpHGoY7NK4czaHV3c7v/o6PjLpzQIQ==","signatures":[{"sig":"MEUCIQCNjdVNdhyxhj4WJcNwhhaOXlWvoP7vpeAGe4cMWZUttgIgazkFEuDVEbmshOBPHfrXQCc0YnurqczqoBpnb7ZmA40=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSS9QCRA9TVsSAnZWagAAOaYP/1yFAFMMU1dtl/I/8Y7U\nJEkoXPO0/u4JKFPCABTZmfRcIHOjInfvF+P3J7fC20IkPzjRkA6DoGp7RkUA\nZiCgdooztsFQn3ivcW4KHwZEekmPqHYh9vN1CD7UpQ1PpzaHTE5ROMeOFAKQ\n7JI2CTzNW6/04ZpVYxSn3bmlao4wi/MDDriOyCy4dVoLGFBCHFeuvkn1t/P8\n0EnS09bUR09j0AaBlG1qrFGQ+ACYpBjHrIJDhWWGJAzUVDm2kogOaFqBnB6u\nLUXI88Oj78cQcTRUYbKyU+Y0XeFkG7X8KG6nnYxYWAtUfXAjCflG7MMGh2BW\n87BgKoAl4HdDlMAJbYsw2RysJj/trI7xb39x2kZGVhFJc4Qpnm80gysAxsWR\nnEWnxwySlhvN5Ok8rJh391nduYxmgnk/xsxrpho8qCKzPmTCiXjmsOADqTHg\npktbLxfbYQd6P1/JR0CZefMSJC6jZDMv+7ylODvX+GPuARRTIl8+aw2GuthL\nfw1XhcyHHPGNTFqhGvPboImFWiSkV+i/GqnqB6YadKger5shz/yxU5irMcVh\nVkd8Zn6NbRUWuiOWBfjp98RBNxoa+82ha+b0U6x22rSZ3+X1LN1MK9MXhAoX\nYrgx1NjEMqMcFr63ITP4K+AKcO4ugt6M/brWrUz6ebS07+lATA9iHO3XMmd7\np1JP\r\n=26ck\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"d83dc8da2d47e53845f8daa8a09ff4f800ecac9b","scripts":{"lint":"eslint","test":"jest","format":"prettier --write .","test:watch":"jest --verbose --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+ssh://git@github.com/auth0/rule-utilities.git","type":"git"},"_npmVersion":"6.14.4","description":"Utility functions for use within Auth0 Rules","directories":{},"_nodeVersion":"10.16.3","dependencies":{"jsonwebtoken":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.4","faker":"^4.1","eslint":"^7.1","prettier":"^2.0"},"_npmOperationalInternal":{"tmp":"tmp/rule-utilities_0.1.0_1598631759416_0.6523969140631023","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@auth0/rule-utilities","version":"0.2.0","author":{"name":"Auth0","email":"support@auth0.com"},"license":"MIT","_id":"@auth0/rule-utilities@0.2.0","maintainers":[{"name":"fadymak","email":"fmakram1@gmail.com"},{"name":"crigot","email":"cristofer_g@hotmail.com"},{"name":"jim.andersoon","email":"jim.anderson@auth0.com"},{"name":"th3maio","email":"andre.demaio@auth0.com"},{"name":"ldoorz","email":"luis.britos-manriquez@auth0.com"},{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},{"name":"widcket","email":"zeta@widcket.com"},{"name":"davidpatrick0","email":"david.patrick@auth0.com"},{"name":"rosnovsky","email":"artem@rosnovsky.us"},{"name":"faroceann","email":"maxhammad@gmail.com"},{"name":"rob.coles","email":"rob.coles@auth0.com"},{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},{"name":"lzychowski","email":"les.zychowski@auth0.com"},{"name":"luuuis","email":"luis@eml.cc"},{"name":"sandrinodimattia","email":"sandrino@dimattia.be"},{"name":"yacine-b","email":"yacine.brahimi@auth0.com"},{"name":"davidmoses","email":"david.moses@auth0.com"},{"name":"bmaxwella0","email":"brandon.maxwell@auth0.com"},{"name":"stevehobbsdev","email":"steve.hobbs@auth0.com"},{"name":"sambego","email":"sambellen@gmail.com"},{"name":"heyitsry","email":"ryan.wilke@auth0.com"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"matchai","email":"hello@matchai.me"},{"name":"shawnmclean","email":"shawnrmclean@gmail.com"},{"name":"jstrutz","email":"j@jasonstrutz.com"},{"name":"ziluvatar","email":"eduardo.diaz@auth0.com"},{"name":"iaco","email":"sebastian.iacomuzzi@gmail.com"},{"name":"jfromaniello","email":"jfromaniello@gmail.com"},{"name":"cocojoe","email":"martin.walsh@gmail.com"},{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"auth0npm","email":"devops+npm@auth0.com"},{"name":"auth0alec","email":"alec.pesola@auth0.com"},{"name":"auth0brokkr","email":"support@auth0.com"},{"name":"hzalaz","email":"hernan@auth0.com"},{"name":"glena","email":"german.lena@gmail.com"},{"name":"aaguiarz","email":"andres.aguiar@gmail.com"},{"name":"machuga","email":"machuga+npm@gmail.com"},{"name":"lbalmaceda","email":"balmacedaluciano@gmail.com"}],"homepage":"https://github.com/auth0/rule-utilities#readme","bugs":{"url":"https://github.com/auth0/rule-utilities/issues"},"dist":{"shasum":"06faad12fc14b4c438cf9cda443152ce3dc1c856","tarball":"https://registry.npmjs.org/@auth0/rule-utilities/-/rule-utilities-0.2.0.tgz","fileCount":8,"integrity":"sha512-oUHbJUiws1i/sYv/pTgnTk0uXF4LT4imx66KjRvLEQaYOQ2SFUxodX0kMF0vP4Of8LhQynUFkMjK8gHb/ON0UQ==","signatures":[{"sig":"MEUCID6i02RPPQBJCTFgQRqQQWFe/185W/No8Qu05LQ6eC8QAiEAmpmdYbWf/mvlgLls4xqVuOX1UfGgOHR11S6Nss6lugE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh12HxCRA9TVsSAnZWagAALosP/1YyETcg/m/4YpONRmJ7\nvDreOEKNAw4iwDv5TZNZlBkPefwS93rr8wAX1ftoARUriYEdWT29bimcDBpl\np8fbcjhVnmSYdhQHXR0dCyLjhipS3c6diiMjM4gXwMxr/xnf/c7yor1R40FI\n8yMAxsqoUVeu8nfQShn8ZbBhp98nGYFd6XWrtx0BgqNxvzZ8k70sbZ3auxvp\n3vl6O66vb/RS3dqkzgDQ5ZXgBlvu99uFovtqhH4sAWQkMoAr04ncbq7ecRNn\naw/3CJB9F5Vl8VZsK7HXvOsFlUtfn/MYF6w+xmljhpv89aLAtyC5D6Ltnq/N\nYLcaAUXwEQezwm+3lKDP2KE3s7C82vZc7O5c/qo6Gaie8xd2MA6+bL9XiR8b\n3JN8sOeAkVm/53Q2i4r+ec53VeCYf2653hCxmARYzxVZyFmoOsiNwoUQNpy8\ngFd8TU4vc6oiOz7hqtVprIwJDSXU0nh3czabuP75+x3NAG5P8DzMiHfUCGd+\nH8DNpXnaHf7wpy4N7m6yr17do44AME8QchUKojndca7QyodbGAOBuqKqy+YT\nMYP/enLFwE9tAzqDQOZRGCnmW+buwce/P63/TTBukNQ+Mmyn67eIg4UztSU5\nEkMzn96bxskfXMBIeoJGCecnTgJb4q7I/67WZffR1lJnk6s393up68YVwvQ2\nhuDO\r\n=A5Jd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"239151047fe6018fd5478f6befd6948abf370d75","scripts":{"lint":"eslint","test":"jest","format":"prettier --write .","test:watch":"jest --verbose --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+ssh://git@github.com/auth0/rule-utilities.git","type":"git"},"_npmVersion":"6.14.4","description":"Utility functions for use within Auth0 Rules","directories":{},"_nodeVersion":"10.16.3","dependencies":{"auth0":"^2.28.0","jsonwebtoken":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.4","faker":"^4.1","eslint":"^7.1","prettier":"^2.0"},"_npmOperationalInternal":{"tmp":"tmp/rule-utilities_0.2.0_1599836498391_0.12316203933883174","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-08-28T16:22:39.198Z","modified":"2026-07-14T10:26:10.444Z","0.1.0":"2020-08-28T16:22:39.672Z","0.2.0":"2020-09-11T15:01:38.486Z"},"bugs":{"url":"https://github.com/auth0/rule-utilities/issues"},"author":{"name":"Auth0","email":"support@auth0.com"},"license":"MIT","homepage":"https://github.com/auth0/rule-utilities#readme","repository":{"url":"git+ssh://git@github.com/auth0/rule-utilities.git","type":"git"},"description":"Utility functions for use within Auth0 Rules","maintainers":[{"email":"oss.sdks@auth0.com","name":"auth0-oss"},{"email":"devops+npm@auth0.com","name":"auth0npm"},{"email":"support@auth0.com","name":"auth0brokkr"},{"email":"jesse.le@auth0.com","name":"jessele"},{"email":"jeff.shuman@okta.com","name":"oktajeffoktajeff"},{"email":"brian.s.smith@okta.com","name":"bsmith-auth0"},{"email":"sanjay.manikandhan@okta.com","name":"sanjay.manikandhan"},{"email":"nirmal.joishi@okta.com","name":"nirjo"},{"email":"nil.torres@okta.com","name":"niltorresatko"},{"email":"jaskirat.singh@okta.com","name":"jaskirat_atko"},{"email":"henry.mcardle@okta.com","name":"henry.mcardle"},{"email":"nicolas.villalobos@okta.com","name":"nicolas.villalobos"},{"email":"choah.jung@auth0.com","name":"choah"},{"email":"josecarlos.chavez@okta.com","name":"josecarlos-chavez_atko"},{"email":"saurabh.kumar@okta.com","name":"skatko"},{"email":"tirone.pama@auth0.com","name":"tj.okta"},{"email":"sergio.garciaramos@okta.com","name":"sgarcia-atko"},{"email":"roger.chan@auth0.com","name":"roger.chan"},{"email":"michael.antone@auth0.com","name":"maaantone"},{"email":"lewis.byrne@okta.com","name":"lewisbyrne-okta"},{"email":"tarunpreet.kaur@okta.com","name":"tarunpreet.kaur"}],"readme":"# Auth0 Rule Utilities\n\n[![npm version](https://badge.fury.io/js/%40auth0%2Frule-utilities.svg)](https://badge.fury.io/js/%40auth0%2Frule-utilities)\n\nThis is a collection of utilities for use in the\n[Auth0 Rules](https://auth0.com/docs/rules) pipeline.\n\n**References**\n\n- [Redirect Rule guide](https://auth0.com/docs/rules/redirect-users)\n- [Rules best practices](https://auth0.com/docs/best-practices/rules-best-practices)\n\n## Redirect Rule Utilities\n\nUse the `Auth0RedirectRuleUtilities` class in rules that need to redirect users\noutside of the Rules pipeline to collect information or run additional\nvalidation.\n\n**[See an example here 👉](https://github.com/auth0/rule-utilities/blob/master/examples/redirectRuleExample.js)**\n","readmeFilename":"README.md"}