{"_id":"@graphql-authz/envelop-plugin","_rev":"7-0dfb3c36ef03c622ee5e0c4e053c0d46","name":"@graphql-authz/envelop-plugin","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"@graphql-authz/envelop-plugin","version":"1.0.0","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","_id":"@graphql-authz/envelop-plugin@1.0.0","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"homepage":"https://github.com/AstrumU/graphql-authz#readme","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"dist":{"shasum":"399df6628d8509fbcf8924345cb0194cd631272f","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.0.tgz","fileCount":6,"integrity":"sha512-oryhtrtYRI6jphYJsO00grIkL+SDNHgF0S3LQwmCz915blWFvdRI3kZw3m88fiysSduP8ovEZPpgQ2eHEriCGw==","signatures":[{"sig":"MEQCIEfZVU/wBjLeOx5zelTmCH+SDIgRwU/Elstbt/KNykQIAiBSLcxq96kWjYRP2wv6Zm/7Xmv/sK4ufJc/KUDr1c1jQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOmmFCRA9TVsSAnZWagAA1YsP/jScBXidGJsxQm8tj2Pl\nahsLHG3zMdjRFVMIJX5xIzQUa1Mo8qf9zdjCGUCvjjbuVYTxpn/XbsAEQheN\n3bVUMMM+VPrGyJLAzsI/885KmWMMBomaPnp6dG9X4NMHvngHx7nqBK1RjLIe\nFewAxcUuMY1VH3EpBOXcQ+iStSUm1XEyBP+cVyBzVpg/xKbKx107DLMMPAsH\nPi/nd/gUwufhKguL5TaRikRg8hJAaJPVxNwIGqsbv9fr2GgzngUoX3wEX1Ap\nDDOUQ8B1U6JBOEEF21Lv1RwfT3s6E6NKFAW412zjFWXGR4S11pZmnnwaKf7D\n1cKgJUOqIo6syAlwtJmQIzlsfL1ElhOUlYXquypbGpZNZ+XB97LcLZRr6QQ8\nczD4ukzssFQzTzlzJKNloYOQMHLPRdjUUyshe2qDyQzHSxPRCKT6cwzg0J6c\n4B234AvCXDxbxuWtOuh5CAfZYWkwfbsVykhzU26AheOY9mmGGhk0+L7vkDOZ\nRr+FVLaItqyt+nqGtkYT0lr8cvyx1CUNVxb7J3D9HBbVf0D9q6Da8walikb2\n7N30+8otcINfAE4GprLluWRVWDo1mbVQIsvCSfRy5aq0TsChrOmqrJxmTJN3\nP3MvwDaDFDjtmFtHfXJNlqPTkAcAS/YRZ14ARhPNxHSruk/Z7FTnLgpwcM/K\n77ay\r\n=WDPg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","typings":"dist/index.d.ts","_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"repository":{"url":"git+https://github.com/AstrumU/graphql-authz.git","type":"git","directory":"packages/plugins/envelop"},"_npmVersion":"6.14.15","description":"Envelop plugin for graphql-authz","directories":{},"_nodeVersion":"14.17.6","dependencies":{"@graphql-authz/core":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@envelop/core":"1.0.3"},"peerDependencies":{"@envelop/core":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/envelop-plugin_1.0.0_1631218053478_0.6079408264100752","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@graphql-authz/envelop-plugin","version":"1.0.1","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","_id":"@graphql-authz/envelop-plugin@1.0.1","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"homepage":"https://github.com/AstrumU/graphql-authz#readme","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"dist":{"shasum":"e679ec7671532ab00885def6f3c6d57e2b4b71a3","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.1.tgz","fileCount":6,"integrity":"sha512-imgzd1OTloy3L4rwgN4trmuC/h+JheMZxhCTdNcygSb429mB1pQ+sUlIozmPbI8/DOBSpapwjy4yjkviLn1Y7g==","signatures":[{"sig":"MEUCIQCeN7nNi67VIEDPhEEriMx2kEjCUylNNBg/vWag0IP77QIgHqdNjyalMP8OA3FlPFKpvM8Z/GO2NqbOTL9FN2IUn4o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3885},"main":"dist/index.js","typings":"dist/index.d.ts","_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"repository":{"url":"git+https://github.com/AstrumU/graphql-authz.git","type":"git","directory":"packages/plugins/envelop"},"_npmVersion":"6.14.15","description":"Envelop plugin for graphql-authz","directories":{},"_nodeVersion":"14.18.1","dependencies":{"@graphql-authz/core":"1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@envelop/core":"1.5.0"},"peerDependencies":{"@envelop/core":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/envelop-plugin_1.0.1_1636585524926_0.3889127723497512","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@graphql-authz/envelop-plugin","version":"1.0.2","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","_id":"@graphql-authz/envelop-plugin@1.0.2","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"homepage":"https://github.com/AstrumU/graphql-authz#readme","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"dist":{"shasum":"009481f81544120aeb7ee7c95f937a8863723b4a","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.2.tgz","fileCount":6,"integrity":"sha512-Aoz4ifnUGD2HcPxdmfTd89I8XaugIs2xzS5O0x3HabAvvB1PCWIOUdf9qS2idetz/fqGJLUu/UEkBxpFG9bHqg==","signatures":[{"sig":"MEUCIBEkqOagxOY/T3G8Z2r+SUxowjz+jUSKhlV3Z+G8TaoQAiEA7G5IfzcRfF7wBbv/ld04043z0P5IBbNlSVY5VFjAoAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqR+OCRA9TVsSAnZWagAA918P/1kACPncpNh6vngQwznY\nuyRES8a63WVxu7tEXd5hFRUKCmV+eqHCZX60EgonanBUeqAKm+P/tdLp7mFy\n+WnaFHuFX3OMIMBm92rZdJ0bfZccD/SAbxQTnc6ztMtpk72su8j/b8/vlRgf\nnBepsgXsQ44SLFp4wQ/olAlHa3kHSQn8IcoT23XHHmQOJbCyBog8vpMmodxr\ndzynXIAbg33TErobkRePt4FuhFlBJ25wys0t3/vM9iSBB3CTSW+XXVPf1H99\naI2vNpJcDclqQLggk9rmnsUzF7+JxXCITkL9jfq+gWNgnF/WKH3w/jkEx7NA\nku7ajyz+I56IAQ4SZ7OV73af9PeGb3BbKj6MO7CLR76FmBiqKsMQf9F/tbVj\nb9hH32oYZhMHy6RlLWhXWZXkI9e7JV6HczBmVEOmNFov1AonONRNA6qIAyrS\nv3HSl+9NUpGESKCAYkb6XfLocWwtjn/WhUFMFqVkK7W5vE998jTbZHz4lzWy\nKcZo47GATGmVOs005uz707wuy9kioqdMg/UgFsM34F5vMOdOtih9uOdu3suq\nkBZ9Iua89oo6fzc+yubf5B22T4qLpss4FhEhnKhe2+2uKp/cf3wUSD2x7XEi\n6SJ8mgUeLbNyFqIjLObl9ThvaOwx+crGxgSRoDfuIzF7DG4OT5EHSOx+fwYw\naoTU\r\n=mgbl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","typings":"dist/index.d.ts","_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"repository":{"url":"git+https://github.com/AstrumU/graphql-authz.git","type":"git","directory":"packages/plugins/envelop"},"_npmVersion":"6.14.15","description":"Envelop plugin for graphql-authz","directories":{},"_nodeVersion":"14.18.1","dependencies":{"@graphql-authz/core":"1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@envelop/core":"1.5.0"},"peerDependencies":{"@envelop/core":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/envelop-plugin_1.0.2_1638473613831_0.4293140843312351","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@graphql-authz/envelop-plugin","version":"1.0.3","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","_id":"@graphql-authz/envelop-plugin@1.0.3","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"homepage":"https://github.com/AstrumU/graphql-authz#readme","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"dist":{"shasum":"7075b8b86302cb3b442df5ac5fef2d890321f4ae","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.3.tgz","fileCount":6,"integrity":"sha512-s3MHzuL7pZOCxGyy5ATD70Cb3KRp8xAIXkg73eZmcL7L/FSFHKXFan0rq9NheoxR2db3hjpChLmwIihKLsVH5Q==","signatures":[{"sig":"MEUCIFhOSjsygWcZciJXfrrteOamdnKNFIZ/Dx/zOEgG+JWEAiEAm5iRz6cm7K9lXgusyouFHafzWfG5YnrmDuPPOp5VUmc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwxTNCRA9TVsSAnZWagAAePYP/iYNmRTFHPYsbHb05fpq\nyHdaJ5Y3+297m2nlxhfYAb6pSWZkLVwf1kpAXvxRZuJgto1e6STjGGM9mTfa\ntZjo0a8wXiIuRuam6cuPh96RQlCg49CYnXFxp6CBMYM4IPM/ODNNGZ03vE9x\nGnXq1cIfTfDH5x0Uv6hl04xA6nLdhA1PQZTem9NHt8CSzXHCajQiCzkg2lx4\nI+yudnoYGJP97ZiwpE6EYecYG65lyxEiM/xAjU4LmvmG8ErfLEr9DDVhuShe\nX7M30RVStk7y7Etj5WB1alxUkmN/v7ZewYUwvRiHL7zjHCSInuXdI4FGu8Cx\nqeg/LemW+TpPn/XdZacfy2msGDxZft0tUdi7+0m4hgNNudckcdjHNWE8QZgH\nZvZhKkW+J8usVPUenDUaQSh/SZFZeCGv6kYDyC6WCvavZpMtQ0jAVIQgGM+8\nSR8H5qHLSJLhBCjiy9u2EQjZEhEg3QYdWgGNvJZZKJry5Kmf6yoVPfJKa7KX\nW7UrMP7FB23JRlJ0mGKoaQZxPseaarKsZuSJzfM2dhd96futZ7gqboc+n1/8\nsbveeeeyQwjLn9rr0m+7jeLmLpLQq4S/P3DNnNoIlgTePePQXnZw3LC/Tjlj\nVzBWZ0snYZX5F75VonfNXMbA6UMUZ+RMS9iCvUKiZ8k46d9fXErpdNNdruEk\nYCjD\r\n=Ral7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","typings":"dist/index.d.ts","_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"repository":{"url":"git+https://github.com/AstrumU/graphql-authz.git","type":"git","directory":"packages/plugins/envelop"},"_npmVersion":"6.14.15","description":"Envelop plugin for graphql-authz","directories":{},"_nodeVersion":"14.18.2","dependencies":{"@graphql-authz/core":"1.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@envelop/core":"1.5.0"},"peerDependencies":{"@envelop/core":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/envelop-plugin_1.0.3_1640174797032_0.416176293596374","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@graphql-authz/envelop-plugin","version":"1.0.4","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","_id":"@graphql-authz/envelop-plugin@1.0.4","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"homepage":"https://github.com/AstrumU/graphql-authz#readme","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"dist":{"shasum":"68287a0ef4c8a8f65e60188a0634ae800a300735","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.4.tgz","fileCount":6,"integrity":"sha512-JD6XS4d38NawUyZHkezCw0AkDe6lbRh3CmYvSC4zhMD879z2d968S6kpypJAOYob3rY5n8qNfG6EvkfEEfS/QA==","signatures":[{"sig":"MEUCIDxt8Hvf/XGOnju6uwn6SjLokqxwGmJB+XlDlli9w3WYAiEA+3rTxJOy7ms3rSV3f7HY3dkItMAbm4+J2M7MjIydeAs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHt9sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdXRAAmvWXjMci9Jyo1H4ZPHLkUzB63yFEOaSFXA1pRxfjLRW7cYgO\r\nKryrY7CUvPSFyO/yqEZ69TLXHnYuCGqCIl8LEdYiZjRURGP5GpYW2FqRwaU2\r\nrOejVI7qOTZfSDlbeHsHxIz4cTbN0m048D8OeIqNtmQOTl1WDSTr9OU/7j8x\r\nl3B5qM1V8e7//0m0QA7aLUKJ+2JN7D/vmjy0+Cp6R6c2QHIWcZm44taCSsEH\r\nb7eqc5ij24V2pBG+/n2tBLAB/Oe2GMXaO6lroNu+GcgTN0/moh/+T0wE5LTh\r\nLIiUuoLQLKXG9gdtnxGllFHR8RN6r2TGZgIRgq6A8VPTvIvHew8tAR0NO6KZ\r\nbiCpsGPw2GCoJBQtjlHJhEXYXZQBR2YngubhSMT5rcmMrUVvJ0b7Xi7tPlte\r\n8dafA5PMt/dK9bkfsKkJbzPsHLuXNUBuEdraG5A/hABlk0FF6E52VMJz/pbc\r\nhZ68vK8THaSVyqPx2VYO7UGFv8zPEv7ZDPlN6wb3sDrPRqwa5yGMDD4eVtuA\r\nAAgMTBD083aft6GswlliunuGsqmKljYEndgBKtJRhQEOUmS+XMADJqf9gVBP\r\n/lqmRPFRZUuuz8iS17mfYevNaQ2lxO6GgNYFoMDASkcQmLBqiW4IL/f0xRhj\r\nNpKXQGC3/pfo2h+9T298LsWt8ADCfYDuN94=\r\n=eEPi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","typings":"dist/index.d.ts","_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"repository":{"url":"git+https://github.com/AstrumU/graphql-authz.git","type":"git","directory":"packages/plugins/envelop"},"_npmVersion":"6.14.17","description":"Envelop plugin for graphql-authz","directories":{},"_nodeVersion":"14.20.0","dependencies":{"@graphql-authz/core":"1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@envelop/core":"1.5.0"},"peerDependencies":{"@envelop/core":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/envelop-plugin_1.0.4_1662967660489_0.08305970597087486","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@graphql-authz/envelop-plugin","version":"1.0.5","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","_id":"@graphql-authz/envelop-plugin@1.0.5","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"homepage":"https://github.com/AstrumU/graphql-authz#readme","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"dist":{"shasum":"2950a8205929ed98b160836a2b67eb068b47d14f","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.5.tgz","fileCount":5,"integrity":"sha512-wHeNB8ZdO5DEw3tK7V1/gI6aFyugCNLEAM3KL1dsSWsOJMgBW/i85dTf88L8yL+o83EkLQgW0DKWw+6eEO2p7w==","signatures":[{"sig":"MEYCIQDAHn2B9bKVotu0uYwwEf3zkK0KCsFUhHBhjQ5h4tWdRwIhAN8G5bRd/XW9xL7L9VQ+NcaiW2UB1xJlpCS94vALXhcx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3565},"main":"dist/index.js","gitHead":"eac18d8039fa4b7055ca41666b2293c6c068e38f","typings":"dist/index.d.ts","_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"repository":{"url":"git+https://github.com/AstrumU/graphql-authz.git","type":"git","directory":"packages/plugins/envelop"},"_npmVersion":"10.2.3","description":"Envelop plugin for graphql-authz","directories":{},"_nodeVersion":"20.10.0","dependencies":{"@graphql-authz/core":"1.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@envelop/core":"1.5.0"},"peerDependencies":{"@envelop/core":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/envelop-plugin_1.0.5_1701356716842_0.5413741322898644","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@graphql-authz/envelop-plugin","version":"1.0.7","description":"Envelop plugin for graphql-authz","main":"dist/index.js","typings":"dist/index.d.ts","author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/AstrumU/graphql-authz.git","directory":"packages/plugins/envelop"},"keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"devDependencies":{"@envelop/core":"5.0.1"},"peerDependencies":{"@envelop/core":"^5.0.1","@graphql-authz/core":"^1.3.2"},"_id":"@graphql-authz/envelop-plugin@1.0.7","bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"homepage":"https://github.com/AstrumU/graphql-authz#readme","_integrity":"sha512-3r42Zb2DM6W3ADNgR7MWR1hWj/LmxuL7MJeqFFs9xj2KL0KgfUpPOMpQsCsXp/hy43/+KPbx1ANctm8SGQM1wg==","_resolved":"/tmp/107cd13d6214b615714b0fc2bd128d15/graphql-authz-envelop-plugin-1.0.7.tgz","_from":"file:graphql-authz-envelop-plugin-1.0.7.tgz","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-3r42Zb2DM6W3ADNgR7MWR1hWj/LmxuL7MJeqFFs9xj2KL0KgfUpPOMpQsCsXp/hy43/+KPbx1ANctm8SGQM1wg==","shasum":"7bf97ededd8c1ae47e5636aefb5e895524de6f58","tarball":"https://registry.npmjs.org/@graphql-authz/envelop-plugin/-/envelop-plugin-1.0.7.tgz","fileCount":6,"unpackedSize":4808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELbyN/knIRkMvRmevwwfJe8Thm3lv+htS8e0iyYKeeSAiAlQkI0od8kouepSdez7ujPlV5+0UbYAS90y51OjI272g=="}]},"_npmUser":{"name":"graphql-authz","email":"till.dima@gmail.com"},"directories":{},"maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/envelop-plugin_1.0.7_1723478970352_0.1612577087082918"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-09T20:07:33.396Z","modified":"2024-08-12T16:09:30.684Z","1.0.0":"2021-09-09T20:07:33.595Z","1.0.1":"2021-11-10T23:05:25.116Z","1.0.2":"2021-12-02T19:33:34.038Z","1.0.3":"2021-12-22T12:06:37.182Z","1.0.4":"2022-09-12T07:27:40.649Z","1.0.5":"2023-11-30T15:05:17.028Z","1.0.7":"2024-08-12T16:09:30.515Z"},"bugs":{"url":"https://github.com/AstrumU/graphql-authz/issues"},"author":{"name":"Dmitry Til","email":"till.dima@gmail.com"},"license":"MIT","homepage":"https://github.com/AstrumU/graphql-authz#readme","keywords":["typescript","graphql","schema","directives","authorization","authz","envelop"],"repository":{"type":"git","url":"git+https://github.com/AstrumU/graphql-authz.git","directory":"packages/plugins/envelop"},"description":"Envelop plugin for graphql-authz","maintainers":[{"name":"graphql-authz","email":"till.dima@gmail.com"}],"readme":"# @graphql-authz/envelop-plugin\n\n## Configuring for Envelop\n\nEnsure context parser is configured to perform authentication and add user info to context\n```ts\n  const getEnveloped = envelop({\n    plugins: [\n      ...\n      useExtendContext(req => ({\n        user: someHowAuthenticateUser(req.get(\"authorization\"))),\n      })),\n      ...\n    ]\n  });\n\n```\n\nor\n\n```ts\n  getEnveloped({\n    user: someHowAuthenticateUser(req.get(\"authorization\"))),\n  });\n\n```\n\nAdd plugin to envelop\n  ```ts\n    import { authZEnvelopPlugin } from \"@graphql-authz/envelop-plugin\";\n    \n    const getEnveloped = envelop({\n      plugins: [\n        ...\n        authZEnvelopPlugin({ rules })\n        ...\n      ]\n    });\n  ```\n\n\n### For Directives usage\n\nApply directive transformer to schema\n  ```ts\n  import { authZDirective } from '@graphql-authz/directive';\n  import { authZEnvelopPlugin } from \"@graphql-authz/envelop-plugin\";\n\n  const { authZDirectiveTransformer } = authZDirective();\n\n  const transformedSchema = authZDirectiveTransformer(schema);\n\n  const getEnveloped = envelop({\n    plugins: [\n      useSchema(transformedSchema),\n      authZEnvelopPlugin({ rules })\n      ...\n    ]\n  });\n  ```\n\n### For AuthSchema usage\n\nPass additional parameter `authSchema` to `authZEnvelopPlugin`\n  ```ts\n  import { authZEnvelopPlugin } from \"@graphql-authz/envelop-plugin\";\n    \n  const getEnveloped = envelop({\n    plugins: [\n      ...\n      authZEnvelopPlugin({ rules, authSchema })\n      ...\n    ]\n  });\n  ```","readmeFilename":"README.md"}