{"_id":"@brucexu/oauth2-server","_rev":"1-2135a93db755cea159f3b6f408f3fdb2","name":"@brucexu/oauth2-server","dist-tags":{"@brucexu/oauth2-server":"3.0.2","latest":"3.0.2"},"versions":{"3.0.2":{"name":"@brucexu/oauth2-server","description":"Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js","version":"3.0.2","keywords":["oauth","oauth2"],"contributors":[{"name":"Thom Seddon","email":"thom@seddonmedia.co.uk"},{"name":"Lars F. Karlström","email":"lars@lfk.io"},{"name":"Rui Marinho","email":"ruipmarinho@gmail.com"},{"name":"Tiago Ribeiro","email":"tiago.ribeiro@gmail.com"},{"name":"Michael Salinger","email":"mjsalinger@gmail.com"},{"name":"Nuno Sousa"},{"name":"Max Truxa"}],"main":"index.js","dependencies":{"basic-auth":"2.0.1","bluebird":"3.7.2","lodash":"4.17.15","promisify-any":"2.0.1","statuses":"1.5.0","type-is":"1.6.18"},"devDependencies":{"jshint":"2.11.1","mocha":"5.2.0","should":"13.2.3","sinon":"7.5.0"},"license":"MIT","engines":{"node":">=4.0"},"scripts":{"pretest":"jshint --config ./.jshintrc lib test","test":"NODE_ENV=test ./node_modules/.bin/mocha 'test/**/*_test.js'","test-debug":"NODE_ENV=test ./node_modules/.bin/mocha  --inspect --debug-brk 'test/**/*_test.js'"},"repository":{"type":"git","url":"git+https://github.com/oauthjs/node-oauth2-server.git"},"gitHead":"6644aa9de2909ec1ce3591a79e6ca1cf715d0992","bugs":{"url":"https://github.com/oauthjs/node-oauth2-server/issues"},"homepage":"https://github.com/oauthjs/node-oauth2-server#readme","_id":"@brucexu/oauth2-server@3.0.2","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mFzfv6rv6TMkxZtOkZYXHhC302P3UjcdEquKdkINXt+U+JbMIopezAs0u8e9gNTPoAvtRRN4fZfzY22bFG9yAQ==","shasum":"a5eb056f486a2854a1e785191e98ca3c2c4b94e6","tarball":"https://registry.npmjs.org/@brucexu/oauth2-server/-/oauth2-server-3.0.2.tgz","fileCount":72,"unpackedSize":241056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+xKbCRA9TVsSAnZWagAADjsP/0RRVtL9u0lP7FqjY1nl\nSmjEGsb8UwGmH6TFOssLIH+CloyhP1mOjLMqzkF9hzdgmmbQ/bWSTYa+LDB+\n5K+6ZFvEvj+5W0wSFfcdF8REPPnbDFQQDgSzHJ/udqE/Eu7RoS1WQe21ItsP\noA+z+m1eQ4SBX3yB0WtddOc21NBhsqIBdzQbFZxqRVJIUXEI3NbOkHurJFM8\nbx357nrXP0sw7QJrRr6VwQUsWTWhKy+JroR4UHKrB4qCzHkoSgKE2BXO8sxA\npU+nnsVSMYTMegy9ADxp7A5a3yEHxe8gNG9FjS70Phu3DLB4ZWns+5x8SINv\n24QekfDaE0utU9DJZ/tFzqtlYB9yMxjJ3zv+Rm5BJ8gnVBRsihNKFCerVjIR\nboceBJFcTikLL8EzB/gknTt2eYmeAVoZZ0NJn5S4Xm1RbyifvJr+oD/19akA\neDFWdzdFanPPIyZfAcXD0qAwPlkqn4JZDp9gYqQibH2JtfruK731tJLqu+Ym\n+n6NwnFQNJxBk/I9IiVvN++cUpopwjA7Wt5ZQUMg3IigmevSYJSlODAyn54n\n1WaXRSnhQ9TfNyoW48I/eAWg6Q9TU75uslTpnORSoG/n4N6Qu+w01NJN1wS1\nOPZ6UzcfNENyk9o4GIv3hiKBmnvZ5u6xye20pTRe9aaAh/SJu7O4sPeljZCU\n67kj\r\n=/lyl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWwfCh1MHWYEEKW3mQRSHt8OFXqzQ4T0mwzXlXdpUqeAiAFAFE9A8Dt/JIk5d4fmQVHApt+S2NZNlOLa2oW+G+JHA=="}]},"maintainers":[{"name":"brucexu","email":"xulingming@xao.ac.cn"}],"_npmUser":{"name":"brucexu","email":"xulingming@xao.ac.cn"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oauth2-server_3.0.2_1593512602670_0.5577896351902281"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-30T10:23:22.624Z","3.0.2":"2020-06-30T10:23:22.783Z","modified":"2022-04-04T20:48:15.949Z"},"maintainers":[{"name":"brucexu","email":"xulingming@xao.ac.cn"}],"description":"Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js","homepage":"https://github.com/oauthjs/node-oauth2-server#readme","keywords":["oauth","oauth2"],"repository":{"type":"git","url":"git+https://github.com/oauthjs/node-oauth2-server.git"},"contributors":[{"name":"Thom Seddon","email":"thom@seddonmedia.co.uk"},{"name":"Lars F. Karlström","email":"lars@lfk.io"},{"name":"Rui Marinho","email":"ruipmarinho@gmail.com"},{"name":"Tiago Ribeiro","email":"tiago.ribeiro@gmail.com"},{"name":"Michael Salinger","email":"mjsalinger@gmail.com"},{"name":"Nuno Sousa"},{"name":"Max Truxa"}],"bugs":{"url":"https://github.com/oauthjs/node-oauth2-server/issues"},"license":"MIT","readme":"\n# oauth2-server\n\n[![npm Version][npm-image]][npm-url]\n[![npm Downloads][downloads-image]][downloads-url]\n[![Test Status][travis-image]][travis-url]\n[![MIT Licensed][license-image]][license-url]\n[![oauthjs Slack][slack-image]][slack-url]\n\nComplete, compliant and well tested module for implementing an OAuth2 server in [Node.js](https://nodejs.org).\n\nNote: After a period of hiatus, this project is now back under active maintenance. Dependencies have been updated and bug fixes will land in v3 (current master). v4 will be _mostly backwards compatible_ with no code changes required for users using a supported node release. More details in [#621](https://github.com/oauthjs/node-oauth2-server/issues/621).\n\n## Installation\n\n```bash\nnpm install oauth2-server\n```\n\nThe *oauth2-server* module is framework-agnostic but there are several officially supported wrappers available for popular HTTP server frameworks such as [Express](https://npmjs.org/package/express-oauth-server) and [Koa](https://npmjs.org/package/koa-oauth-server). If you're using one of those frameworks it is strongly recommended to use the respective wrapper module instead of rolling your own.\n\n\n## Features\n\n- Supports `authorization_code`, `client_credentials`, `refresh_token` and `password` grant, as well as *extension grants*, with scopes.\n- Can be used with *promises*, *Node-style callbacks*, *ES6 generators* and *async*/*await* (using [Babel](https://babeljs.io)).\n- Fully [RFC 6749](https://tools.ietf.org/html/rfc6749.html) and [RFC 6750](https://tools.ietf.org/html/rfc6750.html) compliant.\n- Implicitly supports any form of storage, e.g. *PostgreSQL*, *MySQL*, *MongoDB*, *Redis*, etc.\n- Complete [test suite](https://github.com/oauthjs/node-oauth2-server/tree/master/test).\n\n\n## Documentation\n\n[Documentation](https://oauth2-server.readthedocs.io) is hosted on Read the Docs.\n\n\n## Examples\n\nMost users should refer to our [Express](https://github.com/oauthjs/express-oauth-server/tree/master/examples) or [Koa](https://github.com/oauthjs/koa-oauth-server/tree/master/examples) examples.\n\nMore examples can be found here: https://github.com/14gasher/oauth-example\n\n## Upgrading from 2.x\n\nThis module has been rewritten using a promise-based approach, introducing changes to the API and model specification. v2.x is no longer supported.\n\nPlease refer to our [3.0 migration guide](https://oauth2-server.readthedocs.io/en/latest/misc/migrating-v2-to-v3.html) for more information.\n\n\n## Tests\n\nTo run the test suite, install dependencies, then run `npm test`:\n\n```bash\nnpm install\nnpm test\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/oauth2-server.svg\n[npm-url]: https://npmjs.org/package/oauth2-server\n[downloads-image]: https://img.shields.io/npm/dm/oauth2-server.svg\n[downloads-url]: https://npmjs.org/package/oauth2-server\n[travis-image]: https://img.shields.io/travis/oauthjs/node-oauth2-server/master.svg\n[travis-url]: https://travis-ci.org/oauthjs/node-oauth2-server\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-url]: https://raw.githubusercontent.com/oauthjs/node-oauth2-server/master/LICENSE\n[slack-image]: https://img.shields.io/badge/slack-join-E01563.svg\n[slack-url]: https://oauthjs.slack.com\n\n","readmeFilename":"README.md"}