{"_id":"@advanced-rest-client/auth-dialogs","_rev":"13-a5a812eea6ae4e0b364dcc4845005378","name":"@advanced-rest-client/auth-dialogs","dist-tags":{"latest":"3.0.0"},"versions":{"3.0.0-preview.1":{"name":"@advanced-rest-client/auth-dialogs","version":"3.0.0-preview.1","keywords":["web-components","polymer","advanced-rest-client","authorization","dialog","basic-authorization","ntlm-authorization"],"license":"Apache-2.0","_id":"@advanced-rest-client/auth-dialogs@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/auth-dialogs#readme","bugs":{"url":"https://github.com/advanced-rest-client/auth-dialogs/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"2695b36a86d1b10f5712b143fa4d9bc88ed2fd42","tarball":"https://registry.npmjs.org/@advanced-rest-client/auth-dialogs/-/auth-dialogs-3.0.0-preview.1.tgz","fileCount":14,"integrity":"sha512-WHdQfxRnACu+qyNJO78je5ODd3NX0dT7+m8f+iPxu/75Dyp2/RYkDGJv1MuCKmvxzJck4Lu9kh8KZKfhwwoR5g==","signatures":[{"sig":"MEQCIDXgWZ6V9bnd2g+ZPTQMQKwnyD5EFCOAIewTYOpLpKZ2AiBIcAUSUMhbQG2P/3eYdiOVgAn4u4Rz+DInTFTaxt0nnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclpzTCRA9TVsSAnZWagAAxHcP/R8LrrJbHqMEKuYpJikB\nTfBwaPEKbF6O4p6jdegztasBj5bPpoJ4HTHjcYhFbVYLJl9vKBRejoTA5l7n\nkzg8kdjzmwGpWQuTKw+Vsv0IMCOSHAhPkuwvLqFqKGEjoI79C/Gj/J5BXZf8\nXm0etqd9BYYy6xk+xj4JShqDU0TnA4LGxxuWWQFVmonnESjICJT2HiQib+hH\nR/Gr+qFKT+ocVwhPrgXJo3iY1Bdkkyin/vCrjLE1sgLyWiFncVtJ2jStR/g5\n+oMUqZjXjmLG00x5IUCRI+6bXrPIiabjMw1xB4IH8wv9mH4nlumms3wWDk/+\n7jcsvGpj0Hwqggsr4O/SLKhAYYfGrRzkZMDu2nSNKOHhe9qech0NnB/JO21j\nMd8gC7o9UN3c6gZDuOxaHaHPaErRgSJMVfggzPbMUKBMOhCXVYdC9q4Q8Q2a\nmCwor/0e8g3RmQKsk9tfwEH8RJiqAygT7jF88RVcArF8KYwJln/Te0DshvMq\nbWJbMhKQYW9pVTvsLliis1W40g3Yb1lANnt0V8hhT4urovXJWtAO7Wj8M7TC\niPsSHSldgUyMai7JUCqXTcMAfdcphS37ZE4o2atk6/r/SWDYK/OF8vlicPsN\nSe+SafV6qJDxMuCl8R9EsIb2S1jxTX0jpIoDbNbb762F1wSdscGf72ui3LVB\n6fMm\r\n=vezq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth-dialog-basic.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"61f03ecccaa039358a1c4528d35ab4bcf6aac7bb","scripts":{"lint":"polymer lint auth-dialog-basic.html auth-dialog-ntlm.html auth-dialogs-mixin.html","test":"polymer test --plugin local","test-sauce":"polymer test --plugin sauce --job-name \"auth-dialogs:local-test\"","update-types":"gen-typescript-declarations --deleteExisting --outDir ."},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/auth-dialogs.git","type":"git"},"_npmVersion":"6.9.0","description":"Common authorization dialogs to provide client credentials","directories":{},"_nodeVersion":"10.15.3","dependencies":{"@polymer/polymer":"^3.0.0","@polymer/paper-input":"^3.0.0","@polymer/paper-button":"^3.0.0","@polymer/neon-animation":"^3.0.0","@polymer/paper-dialog-behavior":"^3.0.0","@advanced-rest-client/paper-masked-input":"^3.0.0-preview.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.2.3","wct-mocha":"^1.0.0","web-animations-js":"^2.3.1","@polymer/paper-toast":"^3.0.0","@polymer/test-fixture":"^4.0.2","@polymer/iron-demo-helpers":"^3.0.0","@polymer/iron-component-page":"^4.0.0","@webcomponents/webcomponentsjs":"^2.0.0","@polymer/gen-typescript-declarations":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/auth-dialogs_3.0.0-preview.1_1553374418675_0.6426885708028114","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@advanced-rest-client/auth-dialogs","version":"3.0.0","keywords":["advanced-rest-client","authorization","dialog","basic-authorization","ntlm-authorization"],"license":"Apache-2.0","_id":"@advanced-rest-client/auth-dialogs@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/auth-dialogs#readme","bugs":{"url":"https://github.com/advanced-rest-client/auth-dialogs/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"953aeec15cb4b719d1150e8f44a28704d9aa9395","tarball":"https://registry.npmjs.org/@advanced-rest-client/auth-dialogs/-/auth-dialogs-3.0.0.tgz","fileCount":18,"integrity":"sha512-zZE6h4ovPnUCO/NnBgYaT+guOpOXh+0+kHs+1LXi1mK3ieO36qWgtOcpnLKhatommT8HoJUJffXot7VYW0jPiw==","signatures":[{"sig":"MEUCIGwtrkF5QOOqYWszDr1hLUFgTJg6SLOughI4xTKNloHfAiEA2hWiZZ1tIeaygnnRacM1G6Wtf9V/zREloaYz3lSEpMs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeTp/CRA9TVsSAnZWagAALMUQAIdtfnILTQ+eXg8/6/TM\nRs1vQFa7Yhk1omwQXom6E+WRlI5y3JFpOmfZvZmXUYCpBK8AxIFHxC45EFHb\n/Y73tyBSY43FWUMsQcnaPjyXGt26j8Q7rYcbKPKDHrjRhX+1lh3TLEfSa11y\nFVErEjtAZ7bDXpnlNrxFuZ49DTvTh1zsYyXnDpX/0vzpJ7rxs+iCckiE+NkB\npSlX0SNFKyQgA5K9UFNLxvRV+GekYnNomBkIlyHSkaCK377wHKQOY+3rZs45\ntfymIrh8DVqLhqaOJq2bvsrIBigYw5wblI2EQ9mj+PwQl2y3PwT+gUt/6aa5\nz+Smw2JM5Db/9cQEuw/mqN2SXmQgjvaEazG6MyeaxMdt9C7HbmDE6UbSSg4Y\n/mijfpRa+bR16YG7aOvx2y+PY+ISeQRzaDZ4ZyErL8BElQH5R/pC1NYG0sgs\n1OMJrYl6CK0QnWJu+c+NuQW7ngxCIppzvZXO/ebKniIaeJ+f2HskyHPxeaV4\nN7Y2TWh3/lf4UiEZdy3WO2fOiE3B7MP2SK+eSolfOLF6kpQMnCUmoYKJXC+X\nGwX6TSLyouybRPE8AP7PrNrKhz1juo9ohRH0VBBmbKVzzLGFat7Bi6X55V8P\nG79DkMAaNQFWqm1Z9YzP6ANVhI2qlSJmuRN4yM9Tba3VQRG7g8KsZ5A4bbAb\ny1Rt\r\n=OsrD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"auth-dialogs.js","module":"index.js","authors":["Pawel Psztyc"],"gitHead":"f4d3f55c9364ace7e087aa2d6156f729baacdab8","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/auth-dialogs.git","type":"git"},"_npmVersion":"6.11.3","description":"Common authorization dialogs to provide client credentials","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.2.1","@anypoint-web-components/anypoint-input":"^0.2.5","@anypoint-web-components/anypoint-button":"^1.0.10","@anypoint-web-components/anypoint-dialog":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","sinon":"^7.4.2","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","@polymer/paper-toast":"^3.0.1","@open-wc/testing-karma":"^3.1.29","@commitlint/config-conventional":"^7.0.0","@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.4"},"_npmOperationalInternal":{"tmp":"tmp/auth-dialogs_3.0.0_1568225918367_0.14726470992996088","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-23T20:53:38.518Z","modified":"2026-04-07T19:30:25.727Z","3.0.0-preview.1":"2019-03-23T20:53:38.864Z","3.0.0":"2019-09-11T18:18:38.529Z"},"bugs":{"url":"https://github.com/advanced-rest-client/auth-dialogs/issues","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/auth-dialogs#readme","keywords":["advanced-rest-client","authorization","dialog","basic-authorization","ntlm-authorization"],"repository":{"url":"git://github.com/advanced-rest-client/auth-dialogs.git","type":"git"},"description":"Common authorization dialogs to provide client credentials","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/auth-dialogs.svg)](https://www.npmjs.com/package/@advanced-rest-client/auth-dialogs)\n\n[![Build Status](https://travis-ci.org/advanced-rest-client/auth-dialogs.svg?branch=stage)](https://travis-ci.org/advanced-rest-client/auth-dialogs)\n\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/advanced-rest-client/auth-dialogs)\n\n\n# &lt;auth-dialogs&gt;\n\nAuthorization dialogs to provide client credentials for Basic and NTLM authorization schemes.\nUsed primarily in Advanced REST Client.\n\n## Usage\n\n### Installation\n```\nnpm install --save @advanced-rest-client/auth-dialogs\n```\n\n### In a LitElement\n\n```js\nimport { LitElement, html } from 'lit-element';\nimport '@advanced-rest-client/auth-dialogs/auth-dialogs.js';\n\nclass SampleElement extends LitElement {\n  render() {\n    return html`\n    <auth-dialog-basic @auth-dialog-closed=\"${this.onAuthData}\"></auth-dialog-basic>\n    <auth-dialog-ntlm @auth-dialog-closed=\"${this.onAuthData}\"></auth-dialog-ntlm>\n    `;\n  }\n\n  onAuthData(e) {\n    if (!e.detail.cancelled) {\n      console.log(e.detail.value);\n    }\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    const basic = this.shadowRoot.querySelector('auth-dialog-basic');\n    basic.opened = true;\n  }\n}\ncustomElements.define('sample-element', SampleElement);\n```\n\n## Development\n\n```sh\ngit clone https://github.com/advanced-rest-client/auth-dialogs\ncd auth-dialogs\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"}