{"_id":"@advanced-rest-client/authorization-data-saver","_rev":"12-5d46befdfeccbd44f99cae90402a32c4","name":"@advanced-rest-client/authorization-data-saver","dist-tags":{"latest":"3.0.0"},"versions":{"3.0.0-preview.1":{"name":"@advanced-rest-client/authorization-data-saver","version":"3.0.0-preview.1","keywords":["web-components","polymer"],"license":"Apache-2.0","_id":"@advanced-rest-client/authorization-data-saver@3.0.0-preview.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/authorization-data-saver#readme","bugs":{"url":"https://github.com/advanced-rest-client/authorization-data-saver/issues"},"dist":{"shasum":"b74c502924b8fe4fb3a1bec1c9251aaa999276ce","tarball":"https://registry.npmjs.org/@advanced-rest-client/authorization-data-saver/-/authorization-data-saver-3.0.0-preview.1.tgz","fileCount":6,"integrity":"sha512-ie0PFO8/q0bZzTEamrYn0dltV/2iyZEUkWNJnp3oH50EctnVL5qbpWc4Cv6qqOLB44c2pALi4Hh/ZtzHm8JexA==","signatures":[{"sig":"MEYCIQDIGKnAf4hOrAlucCBO6GmWhgfD5cKWZQK8qhYmt6Qx4gIhAIfnzL4ZUxggjC2uOeHj/l2UZxp9ecNj+EkLz2TEStMH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclqZFCRA9TVsSAnZWagAALIgP/jHQTuPcg9dX3sFkXaaC\nZX8wPz9MC6MbbFGswGh4eKdfoUFjqtl04SFlLDT5HBRlaHwLmT9d1OFwbzSn\nMn0+LZqK1V5DkPLjvuu2IR3xLQe1MwZJoSsF9BolF/zHBqOtmvX/Nt1kM71R\nWy3md6w1YIGRmaLfIlsixBgzflRBXoXZCJ2RPE0fVBYGoUdu2FnUhamQahY6\nM6XcjorZ0FiCqdPML2l+6VZaqoUCsWsn5kRxzd0lPIIlWT859e9yRbcFlFEC\nWUPxnYNe0edGuWlbxovd2uyNtnFziIYDcNu9P3D12PV2nZqz+jrL3Vj8po5G\n0LDEV9REt2saKzrUBlslevMRZCzhA7mcSNqDSG1Crjul53+/+DYA15znQ6VX\nYGeMnF2Cc5E+LQlED8ccThNCzHekc70Fh1IlUfHkrXQRGVLW9ghPdRD2YHpx\ng80cPERIZP9WCFRNDsHdEVBDuScVmk41pnXA4qV0HsotOdZFinX7Y0VoZ+/f\nAaS2PTPpYEB6yDCzP/2s/looIheAgFL02DLbdln8FsXAjFRIsnDdxI5YQ2to\nXX3TgWBbxy0IsZmL+shMID6nc7HLShd6lApPE6A5hVUh6/8xfY+ZfDWGo6+Z\niUssK+H24VGnLw4SD8X2+I/gncgIdvgQNwfSea9/Lui9vlS+FuDvHWnXSLl9\nBqWx\r\n=EBI+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"authorization-data-saver.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"ce4864ff7951ef4f067d6f7d8183797c0ffa082e","scripts":{"lint":"polymer lint authorization-data-saver.html","test":"polymer test --plugin local","test-sauce":"polymer test --plugin sauce --job-name \"authorization-data-saver:local-test\"","update-types":"gen-typescript-declarations --deleteExisting --outDir ."},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/authorization-data-saver.git","type":"git"},"_npmVersion":"6.9.0","description":"An element responsible for applying authorization data to the request and requesting auth data from the user","directories":{},"_nodeVersion":"10.15.3","dependencies":{"@polymer/polymer":"^3.0.0","source-map-support":"^0.5.9","@advanced-rest-client/auth-dialogs":"^3.0.0-preview.1","@advanced-rest-client/headers-parser-mixin":"^3.0.0-preview.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.2.3","pouchdb":"^7.0.0","wct-mocha":"^1.0.0","web-animations-js":"^2.3.1","@polymer/test-fixture":"^4.0.2","@polymer/iron-demo-helpers":"^3.0.0","@polymer/iron-test-helpers":"^3.0.0","@polymer/iron-component-page":"^4.0.0","@webcomponents/webcomponentsjs":"^2.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.2","@polymer/gen-typescript-declarations":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/authorization-data-saver_3.0.0-preview.1_1553376836371_0.9578528490083213","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@advanced-rest-client/authorization-data-saver","version":"3.0.0","keywords":["advanced-rest-client","authorization","dialogs"],"license":"Apache-2.0","_id":"@advanced-rest-client/authorization-data-saver@3.0.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/authorization-data-saver#readme","bugs":{"url":"https://github.com/advanced-rest-client/authorization-data-saver/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"56f4ca7e16e4d71a3188e6b7386776be900f1022","tarball":"https://registry.npmjs.org/@advanced-rest-client/authorization-data-saver/-/authorization-data-saver-3.0.0.tgz","fileCount":8,"integrity":"sha512-QOBjypqWeyVBCZKcU4R1cGzZSk6BSLpdErHKsfrDFpo5dDgVdOz0lS9vVtXMnxv6WyqgbP9kpB+JG6kGbkxxdQ==","signatures":[{"sig":"MEUCIQDxZlpyDOycAh3qgpqdBgSRoj6zHNzW47u5kb1nxOYnswIgCCdBMwK0L5gG7j/5MpyxxYg5DD+VcR6p5tItRxszz4o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeUIoCRA9TVsSAnZWagAA/sQQAIw2A3TXjFdUmb65Ojxl\nw/aOviQpkbppWBtoYCIk+Wkv9t3MR7oh7fBdgP2UvM2NrIZNjxqKrWiHa9fn\nFFtLkUzXN1X+R4FQYDC/8cStMZS6PtFDm67E+6AdJK9DFZcmRhEu9v7w5Hec\no2IGSdtvK5i4CCgW/ytLhLeDdnAYV0rQCNEUGGd1dOu+qtZy0eyIx4ydGrqV\nEZ7eMeaS06r3bvXUNMCRL+z5xAjtY6eNLCYcWVRikO0D2SGGYaGrGS8dJyLp\n5Ky6pyJZ8ckO+KNBL1GKZbXgLVmwHi7aynAZXCPJ17fEIkNd+OHDSnPre/hF\nGpE6pQB9mnVjvLUnRdozr7bFkK9/DmDJ7XaeoFOX6pQZBHrbRCiJmR83K7XG\nCgfUU72Lwcacduj72ATcOZWcPwmyySnJfRhwwT/LPkcs7D9wKEsj/bIuTr12\nVj3P4kjLs5LduElIPM0m78FrVOzSEkVtPe1xjmWw6JsUtWfL5FEUstmlFtUn\nloaUrFuz9IvZlwHbJ38DUd+Zx42MRV2iEzgODqjivml5ydsHchUB+XDimp/Q\niX21V4hBM9M1OyuLJDSfDdcgwwANdCLFDAztG3w2UAlQT7aVsP2PJpHNFwPe\ngufoBxyiMVLBjrvOR4BeA/tdXNdaOAJ8ocRnUWJS9FLpVb6xzv93GV53Q4wI\nB0Ra\r\n=b02T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"authorization-data-saver.js","module":"index.js","authors":["Pawel Psztyc"],"gitHead":"50bedf94f50f02b8406b200be0765ecc28fbb469","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/authorization-data-saver.git","type":"git"},"_npmVersion":"6.11.3","description":"An element responsible for applying authorization data to the request and requesting auth data from the user","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.2.1","@advanced-rest-client/auth-dialogs":"^3.0.0","@advanced-rest-client/headers-parser-mixin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","sinon":"^7.4.2","pouchdb":"^7.1.1","deepmerge":"^4.0.0","lint-staged":"^9.2.5","es-dev-server":"^1.17.2","@commitlint/cli":"^8.1.0","@open-wc/testing":"^2.3.3","web-animations-js":"^2.3.1","@open-wc/testing-karma":"^3.1.29","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.11","@advanced-rest-client/eslint-config":"^1.1.2","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.14","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/authorization-data-saver_3.0.0_1568227879963_0.5073728329656797","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-23T21:33:56.211Z","modified":"2026-04-07T19:30:28.412Z","3.0.0-preview.1":"2019-03-23T21:33:56.481Z","3.0.0":"2019-09-11T18:51:20.134Z"},"bugs":{"url":"https://github.com/advanced-rest-client/authorization-data-saver/issues","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/authorization-data-saver#readme","keywords":["advanced-rest-client","authorization","dialogs"],"repository":{"url":"git://github.com/advanced-rest-client/authorization-data-saver.git","type":"git"},"description":"An element responsible for applying authorization data to the request and requesting auth data from the user","contributors":[{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/authorization-data-saver.svg)](https://www.npmjs.com/package/@advanced-rest-client/authorization-data-saver)\n\n[![Build Status](https://travis-ci.org/advanced-rest-client/authorization-data-saver.svg?branch=stage)](https://travis-ci.org/advanced-rest-client/authorization-data-saver)\n\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/advanced-rest-client/authorization-data-saver)\n\n# &lt;authorization-data-saver&gt;\n\nAn element responsible for applying authorization data to the request and requesting auth data from the user.\n\nIt dispatches `resend-auth-request` custom event after the user accept dialog with data. The handler should send the request again with updated data.\n\n\n## Usage\n\n### Installation\n```\nnpm install --save @advanced-rest-client/authorization-data-saver\n```\n\n### In a LitElement\n\n```js\nimport { LitElement, html } from 'lit-element';\nimport '@advanced-rest-client/authorization-data-saver/authorization-data-saver.js';\nimport '@advanced-rest-client/arc-models/auth-data-model.js';\n\nclass SampleElement extends LitElement {\n  render() {\n    return html`\n    <auth-data-model></auth-data-model>\n    <authorization-data-saver></authorization-data-saver>\n    `;\n  }\n}\ncustomElements.define('sample-element', SampleElement);\n```\n\nThis element requires the `auth-data-model` peer element to be present in the DOM.\n\n## Development\n\n```sh\ngit clone https://github.com/advanced-rest-client/authorization-data-saver\ncd authorization-data-saver\nnpm install\n```\n\n### Running the demo locally\n\n```sh\nnpm start\n```\n\n### Running the tests\n\n```sh\nnpm test\n```\n\n## API components\n\nThis components is a part of [API components ecosystem](https://elements.advancedrestclient.com/)\n","readmeFilename":"README.md"}