{"_id":"passport-salesforce","_rev":"7-5fbac1b89190895523a68f24dab567b4","name":"passport-salesforce","description":"Salesforce authentication strategy for Passport.","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"passport-salesforce","version":"0.0.1","description":"Salesforce authentication strategy for Passport.","keywords":["salesforce","passport","auth","authn","authentication","authz","authorization","oauth","oauth2"],"contributors":[{"name":"Ben Shank","email":"ben@pristine.io","url":"https://pristine.io"}],"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/pristineio/passport-salesforce.git"},"bugs":{"url":"git://github.com/pristineio/passport-salesforce/issues"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib","dependencies":{"passport-oauth2":"^1.1.2"},"devDependencies":{"mocha":"2.x.x","chai":"2.x.x","chai-passport-strategy":"0.2.x"},"engines":{"node":">= 0.4.0"},"gitHead":"d8f204af3a8221a4f60c33cf8a4fc1657dcd59ce","homepage":"https://github.com/pristineio/passport-salesforce#readme","_id":"passport-salesforce@0.0.1","scripts":{},"_shasum":"b5024c46526d80d2ecd2dc98ce6c781e8f85e920","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"shanksauce","email":"ben@ps.gs"},"dist":{"shasum":"b5024c46526d80d2ecd2dc98ce6c781e8f85e920","tarball":"https://registry.npmjs.org/passport-salesforce/-/passport-salesforce-0.0.1.tgz","integrity":"sha512-BRF4wQS8aBXvtudxGM+v4o6m+zlzlXUUue3lpl0drA1tyUSnlEVV7llJZHYKt9hs0uReTaEz9pwA+N4LnEt4lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6ejqt5O/halqnBOj5uoj6lnKp+covR8YYns1n3V3LrAiEAh7YL0OoUBSBQbdx6vlrAhCim8h6CXrwHJI+DTQrhXzI="}]},"maintainers":[{"name":"shanksauce","email":"ben@ps.gs"}]},"0.0.2":{"name":"passport-salesforce","version":"0.0.2","description":"Salesforce authentication strategy for Passport.","keywords":["salesforce","passport","auth","authn","authentication","authz","authorization","oauth","oauth2"],"contributors":[{"name":"Ben Shank","email":"ben@pristine.io","url":"https://pristine.io"}],"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/pristineio/passport-salesforce.git"},"bugs":{"url":"git://github.com/pristineio/passport-salesforce/issues"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib","dependencies":{"passport-oauth2":"^1.1.2"},"devDependencies":{"mocha":"2.x.x","chai":"2.x.x","chai-passport-strategy":"0.2.x"},"engines":{"node":">= 0.4.0"},"gitHead":"85b9a160825b4c4ec1b243634884aff7d6a84679","homepage":"https://github.com/pristineio/passport-salesforce#readme","_id":"passport-salesforce@0.0.2","scripts":{},"_shasum":"04f1153ba9cf143ec7017e033a05f65cc8a13a8f","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"shanksauce","email":"ben@ps.gs"},"dist":{"shasum":"04f1153ba9cf143ec7017e033a05f65cc8a13a8f","tarball":"https://registry.npmjs.org/passport-salesforce/-/passport-salesforce-0.0.2.tgz","integrity":"sha512-HCffUhLV0wQlV3aIUcybvlrht+O/YVGQZulHe27lXSbugCF/z7AYs/p7ZERw+/TsPQGKDf4PqQJMiueSUFaMSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5lq03MZP96xg5QoDoRzzkntwjanYu9Uc2TiIywSW2VAiEAo5xKObhW8H3UO4Nehy1H/lrlvix8actWY9FsGHETB7s="}]},"maintainers":[{"name":"shanksauce","email":"ben@ps.gs"}]}},"readme":"# passport-salesforce\n[![Quality](https://codeclimate.com/github/pristineio/passport-salesforce/badges/gpa.svg)](https://codeclimate.com/github/pristineio/passport-salesforce)\n[![Dependencies](https://david-dm.org/jaredhanson/passport-oauth2.svg)](https://david-dm.org/jaredhanson/passport-oauth2)\n\n\nSalesforce authentication strategy for [Passport](http://passportjs.org/).\n\n## Install\n\n    $ npm install passport-salesforce\n\n## Usage\n\n#### Configure Strategy\n\n    passport.use(new SalesforceStrategy({\n        clientID: CLIENT_ID,\n        clientSecret: CLIENT_SECRET,\n        callbackURL: \"http://localhost:1234/salesforce/callback\"\n      },\n      function(accessToken, refreshToken, profile, done) {\n        done(null, {});\n      }\n    ));\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'salesforce'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n    app.get('/force/authorize',\n      passport.authenticate('salesforce', {session: false}));\n\n    app.get('/force/callback',\n      passport.authenticate('salesforce', {session: false}),\n      function(req, res) {\n        res.redirect('/');\n      });\n\n## Tests\n\n## Credits\n\n  - [Ben Shank](http://github.com/shanksauce)\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2011-2015 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n","maintainers":[{"name":"markpristine","email":"mark@pristine.io"},{"name":"schwing","email":"hammer+npmjs@insocada.com"}],"time":{"modified":"2022-06-23T13:25:10.324Z","created":"2015-07-28T21:12:18.281Z","0.0.1":"2015-07-28T21:12:18.281Z","0.0.2":"2015-07-28T21:22:07.379Z"},"homepage":"https://github.com/pristineio/passport-salesforce#readme","keywords":["salesforce","passport","auth","authn","authentication","authz","authorization","oauth","oauth2"],"repository":{"type":"git","url":"git://github.com/pristineio/passport-salesforce.git"},"contributors":[{"name":"Ben Shank","email":"ben@pristine.io","url":"https://pristine.io"}],"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"bugs":{"url":"git://github.com/pristineio/passport-salesforce/issues"},"readmeFilename":"README.md"}