{"_id":"oauth2-provider","_rev":"21-d94bf78309c4d5d1425fc42ad650833a","name":"oauth2-provider","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","dist-tags":{"latest":"1.3.0"},"versions":{"0.0.1":{"name":"oauth2-provider","version":"0.0.1","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amir.unoc.net/"},"main":"index","dependencies":{"connect":">=1.6.0","serializer":">=0.0.2"},"_npmJsonOpts":{"file":"/Users/amir/.npm/oauth2-provider/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"oauth2-provider@0.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"bffe8097a6e8d7c12f84ff365e36bf17ba8acc5c","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-0.0.1.tgz","integrity":"sha512-QgiXNJCcgRa2J9hYx7lUKuhXu4Er8i6sqhsr9ivvjLeUpjOxJaZmzASBbA2gPDm2iJaENVEQxMxQIJHmymXjrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfNf/LBKFaAXyicnibLmSXPdwn9WHwztK7LdFm4R3SfgIhAPbTnahH4pCZMwQlIMmWsf1N6PptBwSZx9MLmgvQcrBT"}]},"scripts":{},"maintainers":[{"name":"amir","email":"a@unoc.net"}]},"0.0.2":{"name":"oauth2-provider","version":"0.0.2","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amir.unoc.net/"},"main":"index","dependencies":{"connect":">=1.6.0","serializer":">=0.0.2"},"_npmJsonOpts":{"file":"/Users/amir/.npm/oauth2-provider/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"oauth2-provider@0.0.2","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"e91452602e92f118fcc99b540329333d459e3d9f","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-0.0.2.tgz","integrity":"sha512-OdCML4y/mJZDxM3APGXkiE7hW3Sv+f/yJ0ugZmV3Caopr+RjtnBBJE+hxq+GLiBFf6Lt85c2jxMjpEVPr+19+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEg3qENfzDiL6TVY1k5/fP+EOJVdeLBx/AS7McWscI2wIgdwm3G2P9UlJnGccbK3Vnpzvsyumonaia77aWQjn1r9A="}]},"scripts":{},"maintainers":[{"name":"amir","email":"a@unoc.net"}]},"1.0.0":{"name":"oauth2-provider","version":"1.0.0","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amir.unoc.net/"},"main":"index","dependencies":{"connect":">=1.6.0","serializer":">=0.0.2"},"_npmJsonOpts":{"file":"/Users/amir/.npm/oauth2-provider/1.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"oauth2-provider@1.0.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"26ffdcfaf34e2662f8abd7f292f5bfaf1d82028b","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-1.0.0.tgz","integrity":"sha512-ZWK/MajrJRXdRWWdSTXsUP7zytHp6Gff7EIMh9boOdGDADCF5pw74FTLeqYfA+tnPVKfPX35HljQ1f5MQHYxyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhAmoEYPX3V8yZgxO0Tjx7KCNzPYq48R/E8zupHeTWNAiEAgy3J/Amt/HkltiiWWDHnlinU6474mvfFzz3Ta2V+oa0="}]},"scripts":{},"maintainers":[{"name":"amir","email":"a@unoc.net"}]},"1.0.1":{"name":"oauth2-provider","version":"1.0.1","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amir.unoc.net/"},"main":"index","dependencies":{"connect":">=1.6.0 <2.0.0","serializer":">=0.0.2 <0.1.0"},"_npmJsonOpts":{"file":"/Users/amir/.npm/oauth2-provider/1.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"oauth2-provider@1.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"fce805d6ab4ae920c85f8490fae4ae8ae2b064a7","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-1.0.1.tgz","integrity":"sha512-ptlRRzAlTldtUo5/ydGhsnRQpX4IWXiGrxr3ynK9669tEcktvzqwigz3aKF+iOcqpjiwV7soRSFwUjajq7MDHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWTTJWN+CfYEyx0rmEk61lzEpJKkamJEeth8QfS1wihAiEA0hp0Ph5Cy1wxma9/5OCaHoDeUjkNBW51gz9+8czbMw0="}]},"scripts":{},"maintainers":[{"name":"amir","email":"a@unoc.net"}]},"1.1.0":{"name":"oauth2-provider","version":"1.1.0","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amirmalik.net/"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_npmUser":{"name":"amir","email":"a@unoc.net"},"_id":"oauth2-provider@1.1.0","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"e9ca8b93bd0754f7a987bda5cb29c11a6bddcee9","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-1.1.0.tgz","integrity":"sha512-2+pkZjCNfZvKcbNThsu81v4byNHvG2r/92kgM8cCN/vQm0nO0bPfPJExGUFsQlYs+T65yA/OKFkUL3cu1yWMJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH3lKZlqY8XmPOoVMJKWsE+phHo//ooBpeDYGdXzzDrgIhAMA/TxlUu30jNaZO+4BJ77yaDFI7hQmyGbgxpXMOXnGU"}]},"readme":"# OAuth 2 Provider for Connect & Express\n\nThis is a node.js module for implementing OAuth2 servers (providers)\nthat support server-side (code) and client-side (token) OAuth flows.\n\nIt's very customizable, so you can (and currently, must) take care of\nOAuth token storage and client lists. In the future, a Mongo or Redis\nbacked abstraction will be provided so you don't need to care about\nany kind of storage at all.\n\n## Using it with npm\n\nIf you're using this module via npm, please be sure the bracket the\nversion in your app's `package.json` file. Major versions may have an\nincompatible API that's not backwards-compatible, so use a safe version\nrange under `dependencies` (eg. for version 1.x):\n\n    \"oauth2-provider\": \">=1.0.0 <2.0.0\"\n\n## Quick Start\n\nInstall via npm:\n\n    npm install oauth2-provider\n\nYou can add it to your Connect or Express application as another middleware.\nBe sure to enable the `bodyParser` and `query` middleware.\n\nThe OAuth2Provider instance providers two middleware:\n\n* `oauth()`: OAuth flow entry and access token generation\n* `login()`: Access control for protected resources\n\nThe most importand event emitted by OAuth2Provider is `access_token`, which\nlets you set up the request as if it were authenticated. For example, to\nsupport both cookie-authenticated and OAuth access to protected URLs, you\ncould populate `req.session.user` so that individual URLs don't need to\ncare about which type of authentication was used.\n\n## Example\n\nIn the root directory, run `npm install express` and then run:\n\n    node examples/simple.js\n\nVisit <http://localhost:8081/login> to gain access to\n<http://localhost:8081/secret> or use OAuth to obtain an access token as a code (default) or a token (in the URL hash):\n\n  - code: <http://localhost:8081/oauth/authorize?client_id=1&redirect_uri=http://myapp.foo/>\n  - token: <http://localhost:8081/oauth/authorize?client_id=1&redirect_uri=http://myapp.foo/&response_type=token>\n","maintainers":[{"name":"amir","email":"a@unoc.net"}]},"1.2.0":{"name":"oauth2-provider","version":"1.2.0","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amirmalik.net/"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0"},"devDependencies":{"mocha":"1.0.3","sinon":"1.3.4","chai":"1.0.3"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_npmUser":{"name":"amir","email":"a@unoc.net"},"_id":"oauth2-provider@1.2.0","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"385ff719dc41ad9b89c4f12c271da275b403d006","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-1.2.0.tgz","integrity":"sha512-7qCLKk8MzMm1eyjD7k0lsYJ7C8VQ5zSiMslvCn5vXy8soTk8Hasi5z/knvePnoUUnYq7wJ/vlXJc3Qyj+7JU/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/czunhTjCPZWTmkHbxYxAUomvGsIoImzXPOp9B2j0VAiEA46Q5wHuiQzEyG5/7EPdzWsNdj/YLoTLzoxCis0vvM7g="}]},"readme":"# OAuth 2 Provider for Connect & Express\n\nThis is a node.js module for implementing OAuth2 servers (providers)\nthat support server-side (code) and client-side (token) OAuth flows.\n\nIt's very customizable, so you can (and currently, must) take care of\nOAuth token storage and client lists. In the future, a Mongo or Redis\nbacked abstraction will be provided so you don't need to care about\nany kind of storage at all.\n\n## Using it with npm\n\nIf you're using this module via npm, please be sure the bracket the\nversion in your app's `package.json` file. Major versions may have an\nincompatible API that's not backwards-compatible, so use a safe version\nrange under `dependencies` (eg. for version 1.x):\n\n    \"oauth2-provider\": \"1.x\"\n\n## Quick Start\n\nInstall via npm:\n\n    npm install oauth2-provider\n\nYou can add it to your Connect or Express application as another middleware.\nBe sure to enable the `bodyParser` and `query` middleware.\n\nThe OAuth2Provider instance providers two middleware:\n\n* `oauth()`: OAuth flow entry and access token generation\n* `login()`: Access control for protected resources\n\nThe most importand event emitted by OAuth2Provider is `access_token`, which\nlets you set up the request as if it were authenticated. For example, to\nsupport both cookie-authenticated and OAuth access to protected URLs, you\ncould populate `req.session.user` so that individual URLs don't need to\ncare about which type of authentication was used.\n\n## Running tests\n\n  Install dev dependencies:\n  \n    $ npm install -d\n\n  Run the tests:\n\n    $ make test\n\n## Example\n\nIn the root directory, run `npm install express` and then run:\n\n    node examples/simple_express3.js\n\nVisit <http://localhost:8081/login> to gain access to\n<http://localhost:8081/secret> or use OAuth to obtain an access token as a code (default) or a token (in the URL hash):\n\n  - code: <http://localhost:8081/oauth/authorize?client_id=1&redirect_uri=http://myapp.foo/>\n  - token: <http://localhost:8081/oauth/authorize?client_id=1&redirect_uri=http://myapp.foo/&response_type=token>\n","maintainers":[{"name":"amir","email":"a@unoc.net"}]},"1.3.0":{"name":"oauth2-provider","version":"1.3.0","description":"A simple customizable OAuth 2.0 provider (server) for node.js.","homepage":"https://github.com/ammmir/node-oauth2-provider","author":{"name":"Amir Malik","url":"http://amirmalik.net/"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0"},"devDependencies":{"mocha":"1.0.3","sinon":"1.3.4","chai":"1.0.3"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"readme":"# OAuth 2 Provider for Connect & Express\n\nThis is a node.js module for implementing OAuth2 servers (providers)\nthat support server-side (code) and client-side (token) OAuth flows.\n\nIt's very customizable, so you can (and currently, must) take care of\nOAuth token storage and client lists. In the future, a Mongo or Redis\nbacked abstraction will be provided so you don't need to care about\nany kind of storage at all.\n\n## Using it with npm\n\nIf you're using this module via npm, please be sure the bracket the\nversion in your app's `package.json` file. Major versions may have an\nincompatible API that's not backwards-compatible, so use a safe version\nrange under `dependencies` (eg. for version 1.x):\n\n    \"oauth2-provider\": \"1.x\"\n\n## Quick Start\n\nInstall via npm:\n\n    npm install oauth2-provider\n\nYou can add it to your Connect or Express application as another middleware.\nBe sure to enable the `bodyParser` and `query` middleware.\n\nThe OAuth2Provider instance providers two middleware:\n\n* `oauth()`: OAuth flow entry and access token generation\n* `login()`: Access control for protected resources\n\nThe most importand event emitted by OAuth2Provider is `access_token`, which\nlets you set up the request as if it were authenticated. For example, to\nsupport both cookie-authenticated and OAuth access to protected URLs, you\ncould populate `req.session.user` so that individual URLs don't need to\ncare about which type of authentication was used.\n\nTo support client authentication (sometimes known as xAuth) for trusted\nclients, handle the `client_auth` event to exchange a username and password\nfor an access token. See `examples/simple_express3.js`.\n\n## Example\n\nIn the root directory, run `npm install express` and then run:\n\n    node examples/simple_express3.js\n\nVisit <http://localhost:8081/login> to gain access to\n<http://localhost:8081/secret> or use OAuth to obtain an access token as a code (default) or a token (in the URL hash):\n\n  - code: <http://localhost:8081/oauth/authorize?client_id=1&redirect_uri=http://myapp.foo/>\n  - token: <http://localhost:8081/oauth/authorize?client_id=1&redirect_uri=http://myapp.foo/&response_type=token>\n\n## Running tests\n\n  Install dev dependencies:\n  \n    $ npm install -d\n\n  Run the tests:\n\n    $ make test\n","readmeFilename":"README.md","_id":"oauth2-provider@1.3.0","dist":{"shasum":"44018ed0b2124aae43f3f4b454dfc676c069e68e","tarball":"https://registry.npmjs.org/oauth2-provider/-/oauth2-provider-1.3.0.tgz","integrity":"sha512-0H0om1L7TnCtvhNFqaLMzM/HQ98vwdiPupYZ8DweUkb4dzLx2SXv/VDpFgFMvyouH7oS2dJ9x/27jCVe9phggg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBpfq6wJ5GU2nGWp/LTm/Pqo++XW4za1+5G3DTd7xRFYAiEA7er9dm4oinealKt0XsBWBWvX6bJEM9mpH1d193LqJNc="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"amir","email":"a@unoc.net"},"maintainers":[{"name":"amir","email":"a@unoc.net"}]}},"maintainers":[{"name":"amir","email":"a@unoc.net"}],"time":{"modified":"2022-06-22T15:42:47.353Z","created":"2011-09-07T05:57:16.957Z","0.0.1":"2011-09-07T05:57:18.239Z","0.0.2":"2011-09-26T03:01:53.604Z","1.0.0":"2012-02-02T03:48:26.591Z","1.0.1":"2012-03-03T19:05:33.817Z","1.1.0":"2012-07-06T06:48:38.061Z","1.2.0":"2012-11-21T05:03:34.966Z","1.3.0":"2013-02-21T23:25:10.015Z"},"author":{"name":"Amir Malik","url":"http://amirmalik.net/"},"users":{"stanzhai":true,"benburwell":true}}