{"_id":"@capsulajs/capsulahub-service-auth","_rev":"12-0d45f89c6851ef8a14701bfbe7d29b11","name":"@capsulajs/capsulahub-service-auth","dist-tags":{"latest":"0.0.3","snapshot":"0.0.2-alpha.1575380902.111","next":"0.0.4-next.100"},"versions":{"0.0.1":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.1","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@types/lodash.omitby":"^4.6.6","@capsulajs/capsulahub-workspace":"0.0.2-alpha.3","@types/auth0-lock":"^11.4.12"},"_id":"@capsulajs/capsulahub-service-auth@0.0.1","_npmVersion":"6.5.0","_nodeVersion":"10.13.0","_npmUser":{"name":"mikesquall","email":"michael.arbib@om2.com"},"dist":{"integrity":"sha512-Qma4FzJW22ERonV6j8oVH5fy9g/363py3paM+5SwZ3MqAW7zPuYqA8Z+M9jtBCypUZVguhY91mVlfkOxsoe2KA==","shasum":"4645cdfde1a08bc5f6bec909bd721ad3ec4e60af","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.1.tgz","fileCount":67,"unpackedSize":951114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvCI0CRA9TVsSAnZWagAAQHsP/RZP2F58Q0es7197tYrb\nV9D3QtfF7XJfPpxnlZEkqKeIJUKaFkwkVKAdaOVAoXIewk7bUsdF+LQFfttj\nSjrF39A6vDoZKyR6MvfB0Shbra87vbmfYQdRCyVNbXSHXt8F0SdiI924c60V\nMEtCBWO95x37xwMOhy2XnvF/hx5GScuxkb9Ck/jBKQ2R+ZpqVN1Bu9iDsv+6\nky2i2+fyVvCMYBAStDlj2JYEGNMKBAncfJKmMFp1CIafyrvMP3gLi0d0Sg7V\nUmPg4glC20m/byc15BfpuW/GfEL/05Y/fTNXSDdMm+bADm4FrS/yOd6p/wgp\nIQod5kAy4Jj+hBaXRdqtBtJFyz/GxjtROwQAf5P+uFSacx346uFJY4LjkcAB\nyYIvUVyjSQt8DwOPglX9j8Nl3C24iCQzhXShfiUgix0MqEW6034e3vwWO8qj\nP/Y0m4vcHjF3Gms/RUEMLxF4WjveuoOeZg6y6Kk6N+l5e/khGf2fwFVy7bwx\ngW0aizZ4WzyhW0cJxM3/I2/3nsne5odVU1aey2kNEfVZpe++7zTKaZ65TwzJ\niAUPyqWhacTHo7nk0hGZcsdqyvEPBfE5u1YfWXtu4CPSN/W5cisTGU7orqeJ\nqYonXPqCD5y1JyNNphsidjOceHhNaPQm+VR23BUbLathlWRVtO6JrIJQi6DY\n23HC\r\n=7IDt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1S+DxhLpzy/+E9isXeSU4/ZbFBU9a++ckAYMumakJ5QIgBTNvZMQpPy0iykiA1VRZ/DT7QFjQBWXuRJ75IPRszCY="}]},"maintainers":[{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"mikesquall","email":"michael.arbib@om2.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.1_1572610612093_0.4296726470806309"},"_hasShrinkwrap":false},"0.0.2-alpha.1572613534.140":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-alpha.1572613534.140","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"6ebfef168fdf7a079e33320ccc6a963d8c4326dc","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-alpha.1572613534.140","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-TZ0zlCj7zCamw8HHkT/2TXEtrPDkMsSpv43v6hAUlzvdRvqEcOO6tlIz1RiXazkoT9UXCexfVwC9+Bx9BIkBXA==","shasum":"7ffb1ad2c0fa2573f3443d9a466b6463900710cd","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-alpha.1572613534.140.tgz","fileCount":72,"unpackedSize":1331241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvC2iCRA9TVsSAnZWagAAQZQP/jpo94VePaRROCPVBiEe\nHI1qo7JuxbEDkGSAqlsDn95mvWH/23nsM2eUPsxTP8ruMFqhKkAuFQC2uswg\nN31GIYrHE8VdAHQvrCn2PmePL5M80vtqfO6SUrktjVuW8LRjm7XIqzqsTO7J\nwYfNs0bef1o3TAiR6+Ose4Qzv1/iCjwJxPLcBufflw3hoNQUhJjPpS2nlvXe\n9gKOdq2mYr9AdH+Fyl+K9eXYWfIHirc/LiauEKcByc0OpS/MXaHhtq7BhoYH\nuEFgGr8osNb/RbbEBPVKddeXOARHC+VAJ/lecBrrNF+s1hqLFtKqo2Ry3tC1\ns4JJvGFeTqiYFGDYMDIVIwxKqLVvzfNYtbP1L7wwOHBn10yBA3It3HYdRpWu\nAipL0NSZlU3WYuHQHiEN2DVQUF+H7wsrEZDpEseugavfIJ4OBqxx1zvYEwcV\nABXmUZwc+E/S1TkzXnY5pPPbE4GBGNmIINsCJ2fuAU0Ayo8c5IecLOD/FuIT\nDzZu12ha7IH18yWihlmdrqYp+H2BHc0OEcUq1C+dCBSClWKHw27geqgqrSHh\nt6n1bvrkmJy/qLdjTTE/PUsx3aJ6ygMK8uu2pv5F5McK+pM5J1ActUGeeQ/i\nvNcJKCWiXTpBEcP+ZvTthicC/FTRDl8Tc+1OiADa6v98dTmlWR2fIMd6w++L\nRvc2\r\n=skV6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXFZi1RMbUlTVYDs2gxWjv33Sb5qT1+uiVr9XDALNMNAiEAskzmI9hrNBgXWvKhph9fjkMMfsL+gl+oq3/CjUQs4WU="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-alpha.1572613534.140_1572613538148_0.06346439561553119"},"_hasShrinkwrap":false},"0.0.2-alpha.1572615468.141":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-alpha.1572615468.141","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"b50e73c22f6c6267f961961329fe677c96e0ce5b","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-alpha.1572615468.141","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-o1eJXfCCTvSDhX5CPiD3TcqrRRmxh8ingntQEIpb9GbhIt/lOQ3ggn5TlntTXHg0FG5nVsVDHdragUkEvXSIdQ==","shasum":"692cfac6d041c6005990bb416edd6f223477464d","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-alpha.1572615468.141.tgz","fileCount":72,"unpackedSize":1331195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvDUwCRA9TVsSAnZWagAApsEP/RGIq28/5U5qTmdNgNv3\n2vNNM5NJlgOUjySlrhUtvmCpgIeus/ef32Imp0mKTNOT69oZWk3fU+YaBYHR\nCF4H7osmdzdQ0DKvlsgj4VG9SJiSt/vzYIAqE60IYENwKaLwLhNFTZmXiD9O\njgPF0+s15f+G8FUfa2I1D4ysgyzk10/DQmQrXz9oYZMnpyJWVvbDkzJRa3Gl\nlnGMfecgGNpiSWfATu/Ervz+NWUnCawMYW+drI2EJJ8C/Niw98zdH79zgOC3\nLfgVVzyjzvz1a5tI72t9+x7Tqctp5EyIjclOyJnefT6dwP3Px2F3ME81awLX\nyIkGaWkPvPfH8MdvdVBPf8KFG8ey8HSNt3DPK+OmFkMnEaprFtvk/QGM6y+N\nhex4pRxoWFbz3Hnz3wzWeJAd9yqzlckQJkwsl5jXSj0D50SEMlGovg30MDyl\nPnB+BW6rCdx+sgMHAOlZt1VPrIUXd7g8l3byR7lhDCnHIaN3Xz+FKvCNAYxf\nf0qR5F/GR243YtsEuCy2SpOA7v+J3MQ1iJjztzJvLqEJMvtHHwfavBqson2p\njhAEV0ymWr1bSFPbXROcgJsM901bePZtJT3V2LskL/FgHTyj7mFGuLRsoWlN\nMA0JM4GXLvLJsQ0UfPOYokA5gShfJOssfxWVPUppHqt14Z8mBkf/On1bzVqu\n7rtj\r\n=OfRs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERm4aqzhWzPIpmhNr3k9JMeGI8iPTRV4Fu2O2o79YebAiEArksfuEhBpzQLoogOJF04G83cU86GKKRAT5raqR5EH5g="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-alpha.1572615468.141_1572615471733_0.47289131157143216"},"_hasShrinkwrap":false},"0.0.2-alpha.1572618123.143":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-alpha.1572618123.143","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"1812a5cdfbcef53b9d5dda7c64eb0326bb2c6917","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-alpha.1572618123.143","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-8is3c8Fo/0hZwQF+9SgvbE+t5i1IoiHs/EK9x54pGSAe39ZCLTFgEAMJgLBZm6EKtkpa3E4aXsLR0hB+t0udQw==","shasum":"a380c016feacf1456d1ad2c5f6fa8e4460715da0","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-alpha.1572618123.143.tgz","fileCount":72,"unpackedSize":1331278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvD+OCRA9TVsSAnZWagAAZ+YP/RDbVInG/xFVzMPT0m+y\nEMHWB3oP7JeTbHz9jVeibf0oIp+hyz50pbdIbW6GN7BXQvJJEHeO2d+PW068\nCNMf5EazgzxEOc5Y67Ew3LRGWSONmCigWH20b/yZ3BEb1xZjSay/kV6MxhgV\nyR8pxP2MpBethbcLwxUVhmkTTOhdhsDr4Mql4zvJjgzu5PThaZPusF4vXvKB\nmT+dm39lybLF1KhCz9dNlWUBUn5KZ9pk3B//zbpS68sLkXJBj2YIcVn2bTa9\nLDLdqr0BBwSmXSwtIQZzgPAX5ApZqFR472Mnapwo0VEt1RiLTsvnXn8UzXxG\nNXS1NvQR41EVy7Zhdf/mAidUSuu+c06VZT3mP9AviyCUXNIf59b7Lsw2us3y\ntYKD3BJxrmTPXfTjpP5lFNUqq+8eNVDawl1VVXRQIH1CEK+toKEkZ0x8/eYO\nqtUie70yb2rlwoI6bTq8xJgTw8m4X/3JAF8OjpFAZLoj88ven0WZyT2r2vOb\nLljTTmAeDaClvAwqL8xWrpn1RUxPPEr5UEcLHmHHOHJhPA23xZ8dUQjVd0w0\nelfsfh/PyH6d0WWG5c/tQeQIcjKJAw0/UL+OFjkwy3fISJvi51+5sdlXDLOF\n8rmL9Y/Fy6StchKH80NpHMdzywGF6sK+dR3WH0Uz8uD/+SXWe6KwUnV3k2+G\nLIQG\r\n=q/kF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNCgLS5AX0Rd0cr5xgoJ0+0R7GjotkbKDKrdH4hOl9fAiEAqQnhKmir/01QPoF8nW2XJQKKS2HxXfmXI9486VsQrWc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-alpha.1572618123.143_1572618126237_0.015617155256991477"},"_hasShrinkwrap":false},"0.0.2-alpha.1572619696.145":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-alpha.1572619696.145","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"ec571477e3f6ca375b8232a1464dabb54b42f086","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-alpha.1572619696.145","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-1h5GQ92/Yl0Aen5rbHsgh+uLq3HcypJjbi4v17QEamiIlBMRPOknKsBkWnJZuRT/tQo+ryDccgvsZUU3uF2UfA==","shasum":"bffde8a20059fdfe6481fda962bff94741f5f759","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-alpha.1572619696.145.tgz","fileCount":72,"unpackedSize":1331362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvEWzCRA9TVsSAnZWagAAG5EP/i1NZQ/AMe4WZZuQoBr8\ncsi3PKMS6eW2T1N1J8YYZfWrV0iMDY4naTH4b1RvnUKstVsITdUmebnZQDjh\n7wl6VXZ3rbge7ignsHk6yqdZMPSyY7Z+UfMNl+DvNTobKKY1QW/B5eDn/FkY\nOxIgFDifSYK0Xa9U9J3uUFWDgn4FRyVs8u2qc0dwAK+nuovlh1urDjyNKUGf\nWY8Xele5NI0Yq23GPFpYDam3SFHym5ZLr+rwaLJ5KpVMqxb92+3oL122GMi3\nGaa8iscoQmLOqwY4GVtGen35Vg4c5JxYMGflc30BL4SyQ0ETW5+UVSCC+1dG\nV7DgYrhaPxpfctDcN1lOl9WczpBaNVXlr56KdX+mvzeVWOAiI7iMVOsust7x\nzaOiLLiDBxNjUEDa3C7d2vzajk0UwDXW6TNYSuSHR0esKTNu7tP1iJiUyYjB\nMW1FkIviWlcIs+pf78E9BHBAicBhKHiGI4gsWkJmLszF4iDDddZJN6LNTS79\nx09/2T5HrckRI/XKSnVq3M+ICGLqJ5DCo0gINGr94UAFbgoXWYLUNv7Srrqq\nEg2ugP6g48tWlciHEcvUljXVreluwOt66qoMF373MQdssU4Ze23rXH0y2vMd\nRhRFFqgzpoB1pfQAwQMg7CqqTv4MDpwwj48kOuQY3q4gjWBW67rXMFaQbGgd\nUfIH\r\n=8xx5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdSbNAK2/YbV5sutBH8exLXY0ovSQCZbUrq+XhG814EAiEA3UdJRNZzzgM4UIjOvKE+K4w6PdV9heDeRXFOghVavBs="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-alpha.1572619696.145_1572619698861_0.5437774861309792"},"_hasShrinkwrap":false},"0.0.2-next.115":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-next.115","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"7a2af789ec55d4c4e0ee9464982908d3baf3581d","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-next.115","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-a7WVjaQuxTMfvqDXEKZ5uYCo1TqKVVBHS23xOrxY/g8ZOCINbOtjNgsOUNQDcpLauFWWHUzgy363DYJDElpiQg==","shasum":"e105bd3b5ea342e33e880b26ba5c9313f8b90cfb","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-next.115.tgz","fileCount":72,"unpackedSize":1331350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwAOxCRA9TVsSAnZWagAAAO0P/23IVrj1XbvdC6N+OC2U\nZTjlyX0EzCCQ3NCWDglod1y40OY4I6YxOqAXgKw6I35JZB32M8ZeP34veExL\nAxTTNEiT0EWZOvJu70gj75+rF2S9kHQGbvTReO7ytE+sKEeH04FDMSfoQ+mY\nT42WfcbmtXd3n+dCvZ7mG9XywZxsKzFsGDc91EzTgj0txcBwL3Y1hdfQAndj\njECBo6exrXdIaX5O6aFd2w7o9jLvMS/h2jS/lPiiXkgmazVlXdyUpeautK4N\nV/qEuWD6+FMuVzc84UAql8s+G+Pb+lJ9SVGJw8tBU8L/UsetKghacF9BpIOU\nrbRwb74brP0kK0o6tvevjuKBZ3YFG88+5YfMlEPRdBhLXRGV7mfxMSb5vhqT\n0IGcw12NzEuS0E4iTBpVMIMXjpCF9JIDjU23irVcyvmteiJg7Z8fPlXD6p74\n32zNa8K4q9C23wWG+Mu4NrcSjGM4qsZevOJi344uoC1M/pCSA32tSowOalVi\nVmANVy9JPU8Qju4NNS/xR+wtsUa4BC/5l/9rK/DoKQXeaBKfIWuj1xUzfrml\nZ4AevVSlPI5zyXsvg2G4bAvtvJthkq2hvvnMkUNfi//chCJjyJEN49+djCty\nWwamhWSa7O+c/p2UBS9gsLZ1XP0AMBF2lyYwDKzqCH921aYmWoN4IyrkE2m6\nfOe7\r\n=f4zz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB79gfAfIetZHCyCv3i1c0T1VFmF+ZeF5Xx4yICzzZZwAiB5YSmTc/6GXVKboEdORG6HaFDt0ml4MZV4XB+os+cFig=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-next.115_1572864945252_0.9207871775580567"},"_hasShrinkwrap":false},"0.0.2-next.109":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-next.109","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"12a4b68bb34f0dda79284bc51bf8b43216e0e492","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-next.109","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-lxF8jAjI81o0o8NrVYHx3FAD5D0PBkquGJmNJBPqfyoXZW3gZmJI+tSfzitP4UBQ7UE9I1igHEWDiFhLAFrnVw==","shasum":"9f35fa2a404a0fe4581895a3215c3100126ef3e2","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-next.109.tgz","fileCount":72,"unpackedSize":1331483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwaHiCRA9TVsSAnZWagAA4EIP/iqqFlK+FHUP2VV9Yw/a\nL7Lpm8bYVay1RJ36geQb1rdEX5qA3AWeWfXXwkOHJu/ywXEazdWbC18Uvv4g\nvQOWgOp704cJdpMmP8CxKCe7EwmZiZ7aaxxYuyCa7iDyDMyK0wUwYKd4aZMX\nfv6WLcT2prY4Ajv6GWuMekhbt8qJW9EYBEreOwUI/qkwm0LAKRkjPEgxUYOb\n7HXV6laVUVgsglvp2cJ0jj7E6czA4qxPoqXkP9W+Eg0yM1g5HWF3pQB5Alqs\nLyoLuydJ5uMEIaN6SMcJnXNvA82TwL83QgDFX5zZkvRU6IUb9O29OMHA3dBu\nq9SYhj0vspfiolh5Nf3UgEM8jmGVDhqSOa37ghjRKLL9bogpLUbzbGZ9CwI/\n5Tqujx5DyowS9nckEofE6P7K5n18j9/ZQKTsNf2veCEJQ6kxnlf1G5hjxlHk\nyKeOBm8RB8fluL7VyY5bhlx6122HztXTpoQ9ZYGFZHz6OemVwFB+TLSBuniP\nRBZoxbD7Do0zc9EjOrIza13eTDxNZhPQNdoboX9UQDhUdshSaFGHAKUVwZan\nHGtm/y/nj0fEJ89r56GpN2auJcWLvjL9j7Gxf4uozbllYpv6MwBg+/Swueb9\nEFNkkwIeKVKkmGaIRy+E3tmhz+NmWVmHglNhMNJkF9GJR6RRxYYB7NRFr1fN\nitaQ\r\n=w9oZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqkYXnt6xq5oNm7traexsNVAL8XH2uRA7rP2esr4L/YAiEAgp+8641PfjnKm0zCgBXVBN2ilBT/yDq4OpbnWC2XXVI="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-next.109_1572970978514_0.9933949945337861"},"_hasShrinkwrap":false},"0.0.2":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"f8f58bb637f0ec38179e1a2ff5d76b4895c3f77a","_id":"@capsulajs/capsulahub-service-auth@0.0.2","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-bHrOMKqjW7DI/WcKKZUTy4O17ZJZZ+SNkqJuyxvPSGACTUOj9IPiZA+pYPzfAvzj9scFs3BtzqBQHmorti2x8A==","shasum":"cbd4c3825a7297376444808cb60cfbfc8b472a80","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2.tgz","fileCount":72,"unpackedSize":1331458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5P25CRA9TVsSAnZWagAAZMUQAIkHSLLbbkF3et81ZsuS\nimQriOoSQy4VEUYLhj26niBwifPVrv55RMyXcLXV68+OBmaSKjAJVj2C6FXi\n4CX0+B5DsRq3UC7nUXJfmNMRufB/xh9F4bp4sFL6R3HFnX7ZTxHLVecXl8gy\nCSvk99aMLhZ7JNgEbtQIVDyLM5Sd+dFnJDVR7UbQZyhOkTrCGPAdAMpcVEvi\nlJhIvZE8KZIYPPup4bO9hZXtNYDAQX56ORwXdaqQbTp2+OdQxxK40dFJ+ZXN\nAKtWq6Ld4saTBCMkpCjCMXRPx/zTN8xOx6qJV3H7GKyaI0TQ0Ujx87OYLLSb\ncNsPeeNpQ+33wTbsrrKvHbbAE4uM8h4u0ruvktedxMzhBo10OWm86OuHPYUh\n8fjqXJFfxYo9nmIchBHtX4aNRFhDgLNiZ6RFidzwS3/BA4jIGDQu853A4Wah\nHcGXgonYm23ShNmeJrV7BKrL2eUXl6QUIEMMs/6bEOf0+JcUsN4x6daSi3p0\nkNWVQOz0nPPnovaC+oGZVZs8T/pw6kaEtJ6k1Puuhf47SHrnhxwt+MytQO60\nyJ++zam5Gvgx6O26II3npcwr9VFuhK72MZX/oiK6cXbl30HrEorqGK3VSARb\nZQK7Uca5Un7sk7vbOfMF1UFoM8CAmiR/j8l4XVj5z0OgLx5UwIu0PAmF2e8d\nQVId\r\n=q1lP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO+vxAzu90IGDQczuw5rlqJixERtuOilw6Xn1W3Q9y6wIhAOTogmrw73jK3EuEroDZMBQFujUTs4UJaPqCrnMPJpVS"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2_1575288249052_0.8075006966526335"},"_hasShrinkwrap":false},"0.0.2-alpha.1575380902.111":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-alpha.1575380902.111","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-alpha.1575380902.32+c908675","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"c9086750e29cd2893da2a3879ae37fdb72b885bc","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-alpha.1575380902.111","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-Hgt5KQoq+9usvHuKK4OozSvur1yCpo7OHtjCGcBwbiUM2csaku3xbVWyzYXGzr5Qr+NSwScuLY3RWwLhiKWo7A==","shasum":"dd1f21e13ce7f9f2912eb9c2c40f32df0941ca90","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-alpha.1575380902.111.tgz","fileCount":72,"unpackedSize":1331515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5mepCRA9TVsSAnZWagAAykcP/1XvxMzpI0WpNyqBnpXp\nFkxzHfhoI0teWQKAlj21Vq1BIO8Xcc0M1aHScabWyCQvd5H76v38VQXcXTyG\npd45jIOuAoCHPFUVj7BxlL8TC5TLy0CHAen5VWguINFcnNXE3/f9zAB5sl1I\nIj9ZXr7A10uQuKfaONAMzrsDvJm8iQLXZXvDFBJ9NiXka0VnZTWy9rA9dOwt\nejvqnP9rWejzoCCBh7HN9EMbIwvxIN+LCwtvo2bayMQrw+x5kudqTyxlNtwm\nJnIBbaFi9xE5VD0Vh79zWjBT/CZA5sp6j6LJd69HDckDwH5cMs8GMkcFSwuD\nK37G4CuD1P7VLh52kg+nvtRflmbyNUBcQm3mm9ZSh7pNinMwUDpMRG8800yO\nEZ8xXQRqNA9dY7+LPTJZADmCbtJ6nqrypj91F5e1GGDV+vpIRIegY0Ysq2PB\nmibBFayLZ1cUbgWbCNDomlgFbOPtXe1Q+72NrdnMekyuDaUUB9xllfhoZYK6\niXV1aMEw6tC4vTRpLvCW0l9Iz7XJ+OETqvTt7jV46jGTxPOmoirSH4o2T4rI\nDmtQPmv80TTdlMY9LPC/v7ConXF4KbFfP2yF7hlkLoCyM90FqFEYe2KV3sMl\nezH/fpmIh+MNIeVdSd4K1Xunw9A0GPpKZV0f0kNStSjZL7DVXRxjKGS7tkn5\n/HHG\r\n=sdfP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWLyjDaYzU1svGxjUYUrfc/8gJiDFKhxXSVlt2xbnfdAiBD8kcrrl9xFsd8V1DHIk76ul09bjJx97tpJwkvr/wDqQ=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-alpha.1575380902.111_1575380905158_0.28215911534206994"},"_hasShrinkwrap":false},"0.0.2-next.105":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.2-next.105","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-next.32+4ee062c","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"4ee062c4ae6a25b3b0378ac4cff620fe12e54fb0","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.2-next.105","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-baypQYhCPqmZZI7P415o78X++gahZOY07Jjw9WiSSyLV6Lq4tooTmthInHaJF6UhmmNwv5nrA1jYY2fiiMu+0Q==","shasum":"99c4a8692dc8bf694ade281806e35a2fa9595df3","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.2-next.105.tgz","fileCount":72,"unpackedSize":1331491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5nHUCRA9TVsSAnZWagAA4S0P/iYEv9xF0MeKTBx98OHJ\nOc+qeXDEU8xjd/cKIz5+dKx2Y/2WZ3urgtyUTc+bwbMjuh6uFnmHlB/Juh5p\npprMEw0yRiGpErgM5DJZmyhMgq3KgNFxqI6t6y/cBrnejSiSXHiu+51Zi+y2\nt2Zztt4mVlgR9ehdfX8MVpWNqGeZqAOYLlXXZ/PgX8ZYgqd2UpOD5lFz81OQ\nJq/7cEs6OeyT85Jwqjuv1bM8qlKw/k8dEF/7ynqLs5RoYS6VRzDWGeO/xcIu\nqkBHELLonejEf9yIAA/TEKK6KM1sagPRFw4QRIAwyMwFSSRBPEDuffHjv1xc\npzKwDW8YxQV32TZUs//uElKvO7b48W9JcBhLjE0UpCZV5NGvZoltuZA4EWt6\n5DKon4o3+H+TOdqh10GHw59vzX5g2XvmOv1yxZUEuWLcsRpV/Z7HMYRIEg5a\nu8GNpebzkUdyTJMXp6kemHCxHHwwOjhyoOo/rJ7uwmr5Wz6ch7t3U4KYCsI+\nX5k5JL7S6EQJWLzcLIDLT7wxD5mhS/uP2vuJ472lDEbKDDKvX7wCsVQxXRh7\nszC9Wtwlhmuk3VWh3ldVqlXkxW3Tyug2MFV4EmCsL4QQxN8ztirX4KmZhUkW\nI+vHLlSlvVK3OxhAPAQ6KPxMAWqS0+2hoVjmImlb7C8UnflnW4HrWiJfomOu\nOaQO\r\n=nKn3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6KlTlW9Fht44PXqjkGe87mco8k58AY4gOYEIcfY+nzAiEA4pMOuc0Aa4M7CHjOAZ27rdL8bA/RKokKqKeUto19M3E="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.2-next.105_1575383507368_0.9858995702399314"},"_hasShrinkwrap":false},"0.0.3":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.3","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.3","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"683bfbcb478282fe9f6a48a3708e4075e591b2b0","_id":"@capsulajs/capsulahub-service-auth@0.0.3","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-bP+PWe0QQB+GP9OA8binT551oDG+1mWPVaPFKiHOcuNDyRs5j2uXrNstI3aPzNhJu5XL5gNlx2V9A7lB3CSaoQ==","shasum":"2e1d22909dc888ac19e9c337bc4da593e68f7a27","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.3.tgz","fileCount":72,"unpackedSize":1331458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd572xCRA9TVsSAnZWagAAvxUQAKFzdf7Lz8UmPj3oQ0ci\n5uWjJZtEua+fOBhuX0ULEaMerp363DwEPdZT8EZPxSerh9O1lRiEXo/d/rMy\nv3BRSi6AGI8aoy0h08CqOE7KfeazghuF7QB7FxwH+noopXFF+EHtbrn+nURi\nExjRFSYqBVTRc+Dxkg/su2JeC2f1fimMeWvKvmLdwS+jDUAH18YjcKf8VMv5\nsvFJQlpgw/Hp8KhRkKfTKFVZjana8Jwrzdyx02TcY/yHAjuIPymsXku3MP75\nd4A6XT2Av0BdONbmhWDP7sVwIQZAQ98zQB1y42Xi6A4rkUqTZp3gWTff82kP\nlCLOtz7ItDKIRqfKXoWDVmrL8zw3aXH1gmXUhtH65ctQu6CetA0LbAS/tXSp\nQc9Rwje90/J/L3zgpAC6tJlGsUwCtwtI8MSK/Xd9BQZg5BoxcW99bK6D0b7w\nMawfATUAauRFKHzwR9W9ia2qs2/awD9pFq5VWEpaPK9h6CtqrsIbhlMAUVw4\nuk37ygEh0/yHVBVO23NVbRYn94i+7HNLRSyIzwIffd9loqVLKeShlYZAUzmR\nN5U+C2aLL1ATDG67GkbqZV6f1FdXWpvhReiaWRO4L53czAYopji8cnb4hu4z\nonrkFIONDbDoyk0b5HjoyuJeHg0qjJwB2uJ11ivhKK6WUak4+hAUY7yZPL45\n5TSO\r\n=p/5s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEzF5D0K4dIckuIGofBWocrN+E/Qtult8yPm9j/6vkZQIgHl9Njus39Rz3/D53SIukP4CLHNTO3jVlcqQ95Tfy2jQ="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.3_1575468465180_0.5975429800615686"},"_hasShrinkwrap":false},"0.0.4-next.100":{"name":"@capsulajs/capsulahub-service-auth","version":"0.0.4-next.100","description":"Auth extension allows to use auth0 for authentication logic","main":"lib/index.js","module":"lib/index.js","types":"lib/index.d.ts","author":{"name":"CapsulaJS"},"license":"MIT","private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"jest","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"auth0-lock":"^11.18.1","lodash.omitby":"^4.6.0","rxjs":"6.5.2"},"devDependencies":{"@capsulajs/capsulahub-workspace":"^0.0.2-next.35+0e9ee31","@types/auth0-lock":"^11.4.12","@types/lodash.omitby":"^4.6.6"},"gitHead":"0e9ee31aec6f2ed47d63456940ed0bfdc7a1182d","readme":"## Auth service\n\nThe purpose of this service is to provide a utility tool that allows user to implement authentication logic using [auth0](https://auth0.com/) service.\n\nTake a look at **[Lock.js](https://auth0.com/docs/libraries/lock/v11/configuration)** documentation in order to get the whole list of **lockOptions**.\n\n## Usage\n\n```javascript\n// You should call init as soon as possible in order to get the current auth status of a user\n// If you call login method before init, login popup will not be shown until init resolves\n\nauthService.init({}).then((authStatusDataAfterInit) => {\n  if (!authStatusDataAfterInit.token) {\n    return authStatusDataAfterInit.login({}).then((authStatusDataAfterLogin) => {\n      console.info(authStatusDataAfterLogin);\n    })\n  }\n});\n```\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-service-auth\n\nor\n\n    npm install @capsulajs/capsulahub-service-auth\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\n\n## WorkspaceConfiguration example\n\n```json\n{\n  \"services\": [\n    {\n      \"serviceName\": \"AuthService\",\n      \"path\": \"https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/index.js\",\n      \"definition\": {\n        \"serviceName\": \"AuthService\",\n        \"methods\": {\n          \"init\": { \"asyncModel\": \"requestResponse\" },\n          \"login\": { \"asyncModel\": \"requestResponse\" },\n          \"logout\": { \"asyncModel\": \"requestResponse\" },\n          \"authStatus$\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": {\n        \"serviceName\": \"AuthService\",\n        \"domain\": \"dev-f8nw441q.auth0.com\",\n        \"clientId\": \"RS6FSurmbVq9B31sJ57Px4NZpcdyCnHQ\"\n      }\n    }\n  ]\n}\n```\n\n## Exports\n\n### Default\n\nBootstrap function of the extension.\n\n### Named (API)\n\nThe public API of the extension.\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-auth/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Test\n\n`npm run test` or `yarn test`\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-service-auth@0.0.4-next.100","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-Ed6HbdtMd8AeXcLIasPioogD+famlntorokA1MQ1e1GQu/9XKz9EFRjE6OQQMikc+P7htiZeP2+fMcK4O6sOrg==","shasum":"801b94480f2267bcbe6eeb532563f8a906c072e7","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-service-auth/-/capsulahub-service-auth-0.0.4-next.100.tgz","fileCount":72,"unpackedSize":1331491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6MkjCRA9TVsSAnZWagAAwZ0P/1z8/E+V2yOmdVgewFAV\nzcrRWkT6oC40S1Oft6X3Y8H+KROsWmNh1WQhp8SvuWnrmdHZ9jvFouqhovCQ\nqMvdBQrN5O+imsdYAQ2fTFUB8mvfW0HrImxofEe4vDb2d9+YEa4Rr+nFp9na\naDUenVRU2egl9Fmj6HUILVWoSaSob0MHAtgQjmzmTP9MsjjHewvIdP4PzB5T\nEoeWE35RuPJQ3s0VhHUmxIrSEykr5NucYjglpo8CT2hO9+gma6m5U/TjNqi3\nbOgnR0Ki+TdYa1R2dlDZi9X8S0fgMGLUIi4BSpvbRmT4V8ktEfM6TBzE2YSE\n3HQR+kEdu/FOct1WBeJx5XoWZ5PLc5DxmB4O4aYk5AT68TtNJes1ROWvB4JI\nWRfJbVIV9n4+TtP1q1FKtdix+xZJgWezTiChFtQf0at1BY12g8VT9LxG2uO0\nGo0uHR6sos8+pgk3SwPZSAkyIdzUxe7hBM2GL+obqHKWQzVYTiYsgoOy5zNV\nRz+pfjjhp8jNOcmXaE4QNx5kFsbjNqtamq7JhAFptsWa5RJqXv1iSd2/vk7E\nqb9eFKx0m3/zc0l2663O7Dq3k+OuORxiZfMNkOhQxtDKtLR/UX5oXEm9QxTP\njSu4dwwQtkpZLeqSEMyKV1o3PmW4XZo89q0ZOZAGh6nbGVYBOZ6frkjbIFPi\nSkCb\r\n=o2Ls\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICO/JfDvePGpQao2I6hrhDXI+cIBbSBKgrvRAwAMtKHJAiEAomOVn0Xq3TkT5QQNun5tqsRzsduOQZR1Deta055V9/U="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-service-auth_0.0.4-next.100_1575536931117_0.07830135678550443"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-01T12:16:51.900Z","0.0.1":"2019-11-01T12:16:52.281Z","modified":"2022-04-04T21:46:41.766Z","0.0.2-alpha.1572613534.140":"2019-11-01T13:05:38.293Z","0.0.2-alpha.1572615468.141":"2019-11-01T13:37:51.927Z","0.0.2-alpha.1572618123.143":"2019-11-01T14:22:06.485Z","0.0.2-alpha.1572619696.145":"2019-11-01T14:48:19.096Z","0.0.2-next.115":"2019-11-04T10:55:45.433Z","0.0.2-next.109":"2019-11-05T16:22:58.627Z","0.0.2":"2019-12-02T12:04:09.650Z","0.0.2-alpha.1575380902.111":"2019-12-03T13:48:25.327Z","0.0.2-next.105":"2019-12-03T14:31:47.510Z","0.0.3":"2019-12-04T14:07:45.353Z","0.0.4-next.100":"2019-12-05T09:08:51.546Z"},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsbot","email":"capsulajs.bot@gmail.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"description":"Auth extension allows to use auth0 for authentication logic","author":{"name":"CapsulaJS"},"license":"MIT","readme":"","readmeFilename":""}