{"_id":"passport-mailchimp","_rev":"10-9de2c97cc28699870f758f46354c9784","name":"passport-mailchimp","description":"Mailchimp authentication strategy for Passport.","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.1":{"name":"passport-mailchimp","version":"0.0.1","description":"Mailchimp authentication strategy for Passport.","keywords":["mailchimp","passport","auth","authentication"],"repository":"","main":"lib/passport-mailchimp/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Brian Falk","email":"falk@logicparty.org"},"license":"BSD","dependencies":{"passport-oauth":"~0.1.15","pkginfo":"~0.3.0"},"devDependencies":{"vows":"0.7.0"},"_id":"passport-mailchimp@0.0.1","dist":{"shasum":"24f78c6926d2fa684ee7aa51cfb1b2b11f3fe4ac","tarball":"https://registry.npmjs.org/passport-mailchimp/-/passport-mailchimp-0.0.1.tgz","integrity":"sha512-uwn8puI/Xd3ubMpLBRKDnteTU1HM7LDLmYm+WK/T7Zae2c0cALYdgXG+KRlKtPz0/+7VOPbamQ/DVS2o3b2JOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB+qdqO/RHzvzdIMnF6ytn5xNKmHrTxyroWF+qQEBm4wIhAOMJKcLeKQclWP9h2fHRtG6e6KNwxpchqYyoes088yPY"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"brainflake","email":"falk@logicparty.org"},"maintainers":[{"name":"brainflake","email":"falk@logicparty.org"}]},"0.1.0":{"name":"passport-mailchimp","version":"0.1.0","description":"Mailchimp authentication strategy for Passport.","keywords":["mailchimp","passport","auth","authentication"],"repository":"","main":"lib/passport-mailchimp/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Brian Falk","email":"falk@logicparty.org"},"license":"BSD","dependencies":{"passport-oauth2":"^1.1.2","pkginfo":"^0.3.0"},"devDependencies":{"vows":"0.7.0"},"gitHead":"b52553a70314fc04281aa6b6fd61d95950df07d2","_id":"passport-mailchimp@0.1.0","_shasum":"62657684ff20ff2fe28cc6dcade511eebd1952b3","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"brainflake","email":"falk@logicparty.org"},"maintainers":[{"name":"brainflake","email":"falk@logicparty.org"}],"dist":{"shasum":"62657684ff20ff2fe28cc6dcade511eebd1952b3","tarball":"https://registry.npmjs.org/passport-mailchimp/-/passport-mailchimp-0.1.0.tgz","integrity":"sha512-l3OuxsBKUY+3ew2puyejrvDWxzRGnbkVdlJl/ojTxC7loU/eYHpOLCGS3E2a6bJMTDu5k8bmq0YwF1Y/XbBJXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDynLVhBLkPCBS1rGIFOmOJ8RbKw86+7r+lbraJ2k3stAiBruBMFli4veiceiAwFTRrPeTg8Q0+Coe7vDbcFDQ154A=="}]}},"1.0.0":{"name":"passport-mailchimp","version":"1.0.0","description":"Mailchimp authentication strategy for Passport.","keywords":["mailchimp","passport","auth","authentication"],"repository":"","main":"lib/passport-mailchimp/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Brian Falk","email":"falk@logicparty.org"},"license":"BSD","dependencies":{"passport-oauth2":"^1.1.2","pkginfo":"^0.3.0"},"devDependencies":{"vows":"0.7.0"},"gitHead":"9887aedde98514294762a2fd90245db77ab3dcde","_id":"passport-mailchimp@1.0.0","_shasum":"34c5ec1186fd7ef265153d1258406b96d8d64e74","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"brainflake","email":"falk@logicparty.org"},"maintainers":[{"name":"brainflake","email":"falk@logicparty.org"},{"name":"fiznool","email":"fiznool@gmail.com"}],"dist":{"shasum":"34c5ec1186fd7ef265153d1258406b96d8d64e74","tarball":"https://registry.npmjs.org/passport-mailchimp/-/passport-mailchimp-1.0.0.tgz","integrity":"sha512-Kv9vdpNfm3rhWY30c6DdrgUGDzME+01umXrDJVL/Mo4Daz2MRS+fkdUZIXVDB42sZatzY7uNp5GZpbwkTZzpLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB1rEjYzqWuOBu0qpI61UG1tnW8R+WfJP77kPY1U802gIgafbu9WTzrPTvjaFNojwwBcPBGLLvNDMeKq164TsgAOs="}]}},"1.1.0":{"name":"passport-mailchimp","version":"1.1.0","description":"Mailchimp authentication strategy for Passport.","keywords":["mailchimp","passport","auth","authentication"],"repository":"","main":"lib/passport-mailchimp/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Brian Falk","email":"falk@logicparty.org"},"license":"MIT","dependencies":{"passport-oauth2":"^1.3.0","pkginfo":"^0.4.0"},"gitHead":"1bfa969e3875ad91b34aca635428fbbffbdb3e82","_id":"passport-mailchimp@1.1.0","_shasum":"d05f610b422191e82a4c0d3af906fc705dbd0513","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"fiznool","email":"fiznool@gmail.com"},"dist":{"shasum":"d05f610b422191e82a4c0d3af906fc705dbd0513","tarball":"https://registry.npmjs.org/passport-mailchimp/-/passport-mailchimp-1.1.0.tgz","integrity":"sha512-drCP+TMv1hcFCZ8Nbjx2gzq4ovYyvGZzH8I9RiaVD5ArvaWL3BAf6KJsNMxoPPwZAZi5SX5NqbG46I+5cUzweg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOrNKOIMiWtufFw3uh3toczwJmZsTY1z0O0KeuNDibHAiA/9UPUG67ZT9YmiFq5XA/q5kv9wBap7igHMb59Fm8ugQ=="}]},"maintainers":[{"name":"brainflake","email":"falk@logicparty.org"},{"name":"fiznool","email":"fiznool@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-mailchimp-1.1.0.tgz_1479883091009_0.8935797926969826"}}},"readme":"# Passport-MailChimp\n\n[Passport](http://passportjs.org/) strategy for authenticating with [MailChimp](http://www.mailchimp.com/)\nusing the OAuth 2.0 API.\n\nThis module lets you authenticate using MailChimp in your Node.js applications.\nBy plugging into Passport, MailChimp authentication can be easily and\nunobtrusively integrated into any application or framework that supports\n[Connect](http://www.senchalabs.org/connect/)-style middleware, including\n[Express](http://expressjs.com/).\n\n## Usage\n\n#### Configure Strategy\n\nThe MailChimp authentication strategy authenticates users using a MailChimp\naccount and OAuth 2.0 tokens.  The strategy requires a `verify` callback, which\naccepts these credentials and calls `done` providing a user, as well as\n`options` specifying a app ID, app secret, and callback URL.\n\n    passport.use(new MailChimpStrategy({\n        clientID: MAILCHIMP_APP_ID,\n        clientSecret: MAILCHIMP_APP_SECRET,\n        callbackURL: \"http://localhost:3000/auth/mailchimp/callback\"\n      }, function (accessToken, refreshToken, profile, done) {\n        User.findOrCreate({ mailchimpId: mailchimp.id }, function(err, user) {\n          return done(err, user);\n        });\n      }\n    ));\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'mailchimp'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n    app.get('/auth/mailchimp', passport.authenticate('mailchimp'));\n\n    app.get('/auth/mailchimp/callback',\n      passport.authenticate('mailchimp', { failureRedirect: '/login' }),\n      function(req, res) {\n        // Successul authentication, redirect home.\n        res.redirect('/');\n      });\n\n## Credits\n\nCreated by [Brian Falk](http://github.com/brainflake)\n\nCode based on passport-facebook by [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n","maintainers":[{"name":"brainflake","email":"falk@logicparty.org"},{"name":"fiznool","email":"fiznool@gmail.com"}],"time":{"modified":"2022-06-23T13:00:15.849Z","created":"2013-08-12T02:05:36.153Z","0.0.1":"2013-08-12T02:05:36.816Z","0.1.0":"2015-09-01T14:58:59.401Z","1.0.0":"2015-09-01T16:10:30.798Z","1.1.0":"2016-11-23T06:38:11.513Z"},"author":{"name":"Brian Falk","email":"falk@logicparty.org"},"keywords":["mailchimp","passport","auth","authentication"],"license":"MIT","readmeFilename":"README.md","users":{"sorin89":true}}