{"_id":"@agconnect/auth-server","_rev":"4-1f82e1e9d8c6e05ada25044fbe78d3f0","name":"@agconnect/auth-server","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0-beta":{"name":"@agconnect/auth-server","version":"1.1.0-beta","description":"AppGallery Connect Server-SDK for Node.js auth module","author":{"name":"AppGallery Connect","url":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/"},"homepage":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/","engines":{"node":">=10.12.0"},"license":"ISC","main":"./dist/index.js","scripts":{"build":"gulp build","test":"jest","test-c":"jest --coverage","prettier-c":"prettier -c \"src/**/*.ts\"","prettier-w":"prettier -c \"src/**/*.ts\" --write --ignore-unknown","eslint":"eslint src --ext .ts","eslint-fix":"eslint src --ext .ts --fix"},"jest":{"testEnvironment":"node"},"keywords":["agconnect","Node.js","server SDK","authentication"],"devDependencies":{"@types/jsonwebtoken":"^8.5.0","@types/chai":"^4.2.12","@types/mocha":"^8.0.3","ts-node":"^10.0.0","typescript":"^4.3.5","prettier":"^2.1.1","@types/node":"^16.3.0","jest":"^26.4.0","ts-jest":"^26.2.0","mocha":"^9.0.2","chai":"^4.2.0","axios":"^0.21.1","axios-mock-adapter":"^1.19.0","eslint":"^7.8.1","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","gulp":"^4.0.2","gulp-header":"^2.0.9","gulp-typescript":"^5.0.1","gulp-uglify":"^3.0.2","gulp-if":"^3.0.0","del":"^6.0.0"},"dependencies":{"@agconnect/common-server":"1.1.0-beta"},"_resolved":"","_integrity":"","_from":"file:agconnect-auth-server-1.1.0-beta.tgz","_id":"@agconnect/auth-server@1.1.0-beta","_nodeVersion":"14.17.5","_npmVersion":"6.14.8","dist":{"integrity":"sha512-sxu14S+GrPTnWDhOEK7VJAuvX1Iy2A19oX09/qDtEEnLkzrdXFIUJcw8c37SHn1Zd3H9OEU1Mv9gsiYt87ITow==","shasum":"5055bb7da87d1d3148760d146b68dddc8545d138","tarball":"https://registry.npmjs.org/@agconnect/auth-server/-/auth-server-1.1.0-beta.tgz","fileCount":73,"unpackedSize":85572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJEp2CRA9TVsSAnZWagAAMqUQAJn8rpwEWWZRwjBf+xaT\nnHGY4/tnxtfORe9GxtEkKq81kuZUzpsZ1SwJCtt9ex668Q4c0rp1r/UMvTMT\nUqSFUoR0n4F0ZtUBUgYuXkvkP6MZiCx/kho0WxclDYjVpjmFMKyPsWNPDSht\nnONmHadA89+FZwYpkPsTNwfNV7g2j6iD4C3CaJB/HK9mHbZRoU5jNFmd7VEs\n0/hEuEy9ekSydhyDWU+ZEvLP2KEBqrgGhmoQa9ylNGIxb/Gv809EigVpiEBn\nmTwkVGMC3edz+mshlZNwAmT63DmrgLJz//sZHJr3gnStjttx4YX4BmFPZil4\ngSlYLEA5NoABkEOVExgLTlaj3hOnwGQ4GX7oenIxdeZcX05Qa5KJmTTeexXp\nkpvOBVTKyXcP2V1dtWvEE+kQoHf5ggCHDkoW8meCrS+P+UVC1j6qEW4J/57s\n35IWvEpnVboY35SXFjrVnjVbWMK9IJsjCBO8fzuln6fCNBBQMt6y/BNBRN8o\ndgTJpp5pdU8y8ZK0EoUIskIn88nGXLIEnpiDnyaTbqGHsShvQZk9XaYfPZI4\nP5sGX4ABEWlro6dtUNJBbOdOOdql8IDGdpl7tBdy/YQKqX7R4Y1IOs26RDWc\nX3DBt5Uw5lpyRmrQav5ENhC/PAU1vDb+BK3u+ZoL++BMRDoC3yjQkacl88t+\nYWyr\r\n=PBFz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX8zHneYl4oHAKsChn9RlrS7SVXFwwEjeNKy/8YQpkbQIhAJ4edITOVoZoxbCiEsjHjt8XB7/NbRR0EJE/wVuBPK0l"}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-server_1.1.0-beta_1629768310158_0.9160094615055312"},"_hasShrinkwrap":false},"1.1.0":{"name":"@agconnect/auth-server","version":"1.1.0","description":"AppGallery Connect Server-SDK for Node.js auth module","author":{"name":"AppGallery Connect","url":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/"},"homepage":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/","engines":{"node":">=10.12.0"},"license":"ISC","main":"./dist/index.js","scripts":{"build":"gulp build","test":"jest","test-c":"jest --coverage","prettier-c":"prettier -c \"src/**/*.ts\"","prettier-w":"prettier -c \"src/**/*.ts\" --write --ignore-unknown","eslint":"eslint src --ext .ts","eslint-fix":"eslint src --ext .ts --fix"},"jest":{"testEnvironment":"node"},"keywords":["agconnect","Node.js","server SDK","authentication"],"devDependencies":{"@types/jsonwebtoken":"^8.5.0","@types/chai":"^4.2.12","@types/mocha":"^8.0.3","ts-node":"^10.0.0","typescript":"^4.3.5","prettier":"^2.1.1","@types/node":"^16.3.0","jest":"^26.4.0","ts-jest":"^26.2.0","mocha":"^9.0.2","chai":"^4.2.0","axios":"^0.21.1","axios-mock-adapter":"^1.19.0","eslint":"^7.8.1","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","gulp":"^4.0.2","gulp-header":"^2.0.9","gulp-typescript":"^5.0.1","gulp-uglify":"^3.0.2","gulp-if":"^3.0.0","del":"^6.0.0"},"dependencies":{"@agconnect/common-server":"^1.1.0"},"_resolved":"","_integrity":"","_from":"file:agconnect-auth-server-1.1.0.tgz","_id":"@agconnect/auth-server@1.1.0","_nodeVersion":"14.17.5","_npmVersion":"6.14.8","dist":{"integrity":"sha512-t+AaEKw9WfbWuUQTqGmn2VpsSnSiHK1CRiwGTYJ1GliD6fN1OxAY/EyolJ34G4dC/yWdQPwVWvsDi6aG4mMigQ==","shasum":"1066c4a3d5092148d84155c77cfb44a3da86f683","tarball":"https://registry.npmjs.org/@agconnect/auth-server/-/auth-server-1.1.0.tgz","fileCount":73,"unpackedSize":85964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwuhWCRA9TVsSAnZWagAAAdgP/1rF3fIf0kpjXpxubjcy\n8siWMOAkG1WSC61DrgNMARyYfNmQ/rLIzxQmh6LxZL9U9qZT+maKVzWYqcxh\nsed/fJJ3dUZMOg4NHINeTul4Gt39KGngBM0SrS1yXzCU3RJTtp9Ou5vI3Nqf\nUAe/AM3JVLEvfRXXomTvDTr9VHq5O3wKWm4I4EmDruJsY5qlriuaZ7VcsCVs\ne/I93OxTixX7To9cR3PHBKH4hbTF5nOBzDOE5Lmyt7AAjE851eaRdc+hgRye\n+XZpKtT+TPb8i9XkjkqFog7w00KN/8G6QdNZ5A3+bfE+LzKfJyg/4EBfsfiQ\nBtb4a9u941cd0nHYZiJcw/GABXpORSALcxil3ncVbgL/YNtFRPJXNffuLrHa\nrvXd8rBuLiAE69xvRjlOh/B0rlQFYVNP/pnA9oIa72ILCfaX/PddJ32fOIi9\n56kcAIR0j4wv15U1s1WdX15m976M3JKbIrJsCSQt1InsucoOc14SGHCB6Zyn\ns86Iac3dX4KMji6I4fbQevfmGRq9ynhLSuqdUeddU1RH4cJaCsvsYG9NTVVF\nrN14dhnp3NvHdo2mTmIylpQhMouwcTAUYqF6eLzeaCOkJhDHlowr6tN6tXsC\nQBI0gYZ+aTJ959F04HlVn6AX+ltzOsUaFZZjXbga8Am9jcxO1n0tJr6cehXS\nBQ47\r\n=Pp2X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhRvwPQE9c0Iw7U695Gm4MCidP0EWgTRpb6PJA/LtC/AiEAvNpHQrPI1YJfQjpT9l2nRh7Zt4tbX5W5q+9KvIRLuNk="}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-server_1.1.0_1631931364489_0.6450561419834597"},"_hasShrinkwrap":false},"1.2.0":{"name":"@agconnect/auth-server","version":"1.2.0","description":"AppGallery Connect Server-SDK for Node.js auth module","author":{"name":"AppGallery Connect","url":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/"},"homepage":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/","engines":{"node":">=10.12.0"},"license":"ISC","main":"./dist/index.js","scripts":{"build":"gulp build","test":"jest","test-c":"jest --coverage","prettier-c":"prettier -c \"src/**/*.ts\"","prettier-w":"prettier -c \"src/**/*.ts\" --write --ignore-unknown","eslint":"eslint src --ext .ts","eslint-fix":"eslint src --ext .ts --fix"},"jest":{"testEnvironment":"node"},"keywords":["agconnect","Node.js","server SDK","authentication"],"devDependencies":{"@types/jsonwebtoken":"^8.5.0","@types/chai":"^4.2.12","@types/mocha":"^8.0.3","ts-node":"^10.0.0","typescript":"^4.3.5","prettier":"^2.1.1","@types/node":"^16.3.0","jest":"^26.4.0","ts-jest":"^26.2.0","mocha":"^9.0.2","chai":"^4.2.0","axios":"^0.21.1","axios-mock-adapter":"^1.19.0","eslint":"^7.8.1","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","gulp":"^4.0.2","gulp-header":"^2.0.9","gulp-typescript":"^5.0.1","gulp-uglify":"^3.0.2","gulp-if":"^3.0.0","del":"^6.0.0"},"dependencies":{"@agconnect/common-server":"^1.2.0"},"_id":"@agconnect/auth-server@1.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-dGsf0Cb+rwAfONapGTRP8EcRaZZDfuMxh8RMrNqKmdtotqcQ+wFNqay/Ey98Yg2MrbeUj8HCpIe1THQIPvlCuA==","shasum":"5e128024053c652da8d76c0fae7ad7755e09faed","tarball":"https://registry.npmjs.org/@agconnect/auth-server/-/auth-server-1.2.0.tgz","fileCount":73,"unpackedSize":85722,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJWKYQ47gCyHDn3LZIMz/DtH919oumcDiawXpKscgXDAiEArU8djDAO6set7AkGyjvXt2DaUQqMTsvz1M1HI25pMa8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiggbtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmodhg/7BYcMXqf0H8igw5GUg1+xgnkce8g3Nd+wrNEhPZ46pU7uJT4A\r\nGgNNGUmA71+louyik7iC6k1TsUHG0RUvNMT66z8ASn69oetDxJsI68DcBGcj\r\nwBkUzurRF/cVtOabykGRIK5rfijT0BKpYZr2k79kltr+UumPzwBurmnucguY\r\nGtjzsQRgNwg4H4GiSwEy33BbwmisLbyRwrOFnp5Lr8WIdZiQo23+tVVm5hjl\r\ngqxfNCI8l/I18wT9VMOG+mW1+WxTdsQDYEIyZrvXWWJRTrny1uFxAbyfxgpN\r\nM/R7jfPZ54I8nXE9CRXU0rZf2uMKYvbh+No4gMpyVxpUlZPKr1WDZv3F7gHS\r\n4MeZXhUZcsLBOb0umwaCwaJ0Ko2k+hxuZOsBKM7PSP9NBcmRZY2bufUHyJOa\r\nOJqNmFdrTOcje/28kDo1dT4P6Fx+Ic13TWf+zUxCaXOpAFqEzRLQRtWalVWk\r\nSFIkjGoykFGEVocVkCTZ3E8fJuyIOX2Kl3f1dqSFQfOE27cR1nrmlsrRvkYS\r\nSqOCbbUb+f26Fs8tCMvYEMc8SLA8Zkz1wVz6e4L0h3e9saP3Hj9Qzkc5emyB\r\nl0nTSABzQxeKzqSyNbH67BzXy0oVknqB6240MHryqpBkQ1yNY7lZ/73EQ3XD\r\nYyH83B8OcJG35FyON2DlEndfuEdbYiaqyaI=\r\n=qiIv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-server_1.2.0_1652688621249_0.5829271037963164"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-24T01:25:10.102Z","1.1.0-beta":"2021-08-24T01:25:10.507Z","modified":"2022-05-16T08:10:21.569Z","1.1.0":"2021-09-18T02:16:04.627Z","1.2.0":"2022-05-16T08:10:21.442Z"},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"description":"AppGallery Connect Server-SDK for Node.js auth module","homepage":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/","keywords":["agconnect","Node.js","server SDK","authentication"],"author":{"name":"AppGallery Connect","url":"https://developer.huawei.com/consumer/cn/service/josp/agc/index.html#/"},"license":"ISC","readme":"# Huawei AppGallery Connect Node.js Server SDK for Auth\r\n\r\n\r\n## Table of Contents\r\n\r\n * [Overview](#overview)\r\n * [Installation](#installation)\r\n * [Documentation](#documentation)\r\n * [Supported Environments](#supported-environments)\r\n * [License](#license)\r\n\r\n\r\n## Overview\r\n\r\nMost apps need to identify and authenticate users to tailor the app \r\nexperience for individual users. However, building such a system from \r\nscratch is a difficult process. Auth Service can quickly build a secure \r\nand reliable user authentication system for your app. You only need to \r\naccess Auth Service capabilities in your app without caring about the \r\nfacilities and implementation on the cloud.\r\n\r\nFor more information, visit the\r\n[Auth Service Introduction](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-auth-introduction-0000001053732605).\r\n\r\n\r\n## Installation\r\n\r\nThe AppGallery Connect Node.js SDK for Auth is available on npm as `@agconnect/auth-server`:\r\n\r\n```bash\r\n$ npm install --save @agconnect/auth-server\r\n```\r\n\r\nTo use the module in your application, you can `require` it from any JavaScript file:\r\n\r\n```js\r\nvar { AGCClient, CredentialParser }= require(\"@agconnect/common-server\")\r\nvar { AGCAuth } = require(\"@agconnect/auth-server\")\r\n```\r\n\r\nIf you are using ES6, you can also `import` the module:\r\n\r\n```js\r\nimport {AGCClient, CredentialParser} from \"@agconnect/common-server\"\r\nimport{ AGCAuth } from \"@agconnect/auth-server\"\r\n```\r\n\r\n\r\n## Supported Environments\r\n\r\nWe support Node.js 10.12.0 and higher.\r\n\r\nAlso note that the Huawei AppGallery Connect Node.js Server SDK \r\nshould only be used in server-side/back-end environments controlled \r\nby the application developer.This includes most server and serverless platforms. \r\nDo not use the Node.js Server SDK environment in the client.\r\n\r\n\r\n## Documentation\r\n\r\n* [Getting Started with Server](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-auth-server-introduction-0000001182426115)\r\n\r\n* [Reference](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-References/agc-auth-service-nodejs-overview-0000001136187342)\r\n\r\n## License\r\n\r\nHuawei AppGallery Connect Node.js Server SDK for Auth is licensed under the \"ISC\".\r\n","readmeFilename":"README.md"}