{"_id":"passport-gowalla","_rev":"9-0e42906a9907b37e9b8e1ccdb4c5a2d4","name":"passport-gowalla","description":"Gowalla authentication strategy for Passport.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"passport-gowalla","version":"0.1.0","description":"Gowalla authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-gowalla.git"},"main":"./lib/passport-gowalla","dependencies":{"passport-oauth":">= 0.1.0"},"engines":{"node":">= 0.4.0"},"keywords":["passport","gowalla","auth","authn","authentication","identity"],"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"_id":"passport-gowalla@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"d421296f9597636f2d262404d018556393973e5f","tarball":"https://registry.npmjs.org/passport-gowalla/-/passport-gowalla-0.1.0.tgz","integrity":"sha512-5m7e+13eObtZBWkVzRXrTdd8LWdC3BjwS/AxKpb9oN+IYz3RpKuqb6nWj9NblHfwzVa5NB08qJDoCcCCEg7tZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArWMQvF6zadlcSq780su1EZW/xal2uz+rv80MpmTqtKAiEA8OCzh9WyBdkQZy0bzBd5N7EmIfrJpjtNHH0lSbQwNFg="}]},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}]},"0.1.1":{"name":"passport-gowalla","version":"0.1.1","description":"Gowalla authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-gowalla.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-gowalla/issues"},"main":"./lib/passport-gowalla","dependencies":{"pkginfo":"0.2.x","passport-oauth":"0.1.x"},"devDependencies":{"vows":"0.6.x"},"scripts":{"test":"NODE_PATH=lib node_modules/.bin/vows test/*-test.js"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"keywords":["passport","gowalla","auth","authn","authentication","identity"],"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"_id":"passport-gowalla@0.1.1","_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"af6078f1f72e81472a9f211ffa141ab2dc0c60c8","tarball":"https://registry.npmjs.org/passport-gowalla/-/passport-gowalla-0.1.1.tgz","integrity":"sha512-Xi9brOua+BqWUTEvxm3hMMYkqCDan6INLS3KyklTeY8J/+CMe64+9Ou3MUs5I7sEB6R0TASJziCW0gr63ZlRyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAV3X7lWgUloRWDq4YUzlqTwY5GQEcyngDbSqIdU74bJAiA2HHhEav/LdrlPxRsvt5cohGJTJpQnrgnUsEZ+Choeqg=="}]},"readme":"","maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}]},"0.1.2":{"name":"passport-gowalla","version":"0.1.2","description":"Gowalla authentication strategy for Passport.","keywords":["passport","gowalla","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-gowalla.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-gowalla/issues"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/passport-gowalla","dependencies":{"pkginfo":"0.2.x","passport-oauth":"0.1.x"},"devDependencies":{"vows":"0.6.x"},"scripts":{"test":"NODE_PATH=lib node_modules/.bin/vows test/*-test.js"},"engines":{"node":">= 0.4.0"},"readme":"# Passport-Gowalla\n\n[Passport](https://github.com/jaredhanson/passport) strategy for authenticating\nwith [Gowalla](http://gowalla.com/) using the OAuth 2.0 API.\n\nThis module lets you authenticate using Gowalla in your Node.js applications.\nBy plugging into Passport, Gowalla 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## Install\n\n    $ npm install passport-gowalla\n\n## Usage\n\n#### Configure Strategy\n\nThe Gowalla authentication strategy authenticates users using a Gowalla account\nand OAuth 2.0 tokens.  The strategy requires a `verify` callback, which accepts\nthese credentials and calls `done` providing a user, as well as `options`\nspecifying a client ID, client secret, and callback URL.\n\n    passport.use(new GowallaStrategy({\n        clientID: GOWALLA_API_KEY,\n        clientSecret: GOWALLA_SECRET_KEY,\n        callbackURL: \"http://127.0.0.1:3000/auth/gowalla/callback\"\n      },\n      function(accessToken, refreshToken, profile, done) {\n        User.findOrCreate({ gowallaId: profile.id }, function (err, user) {\n          return done(err, user);\n        });\n      }\n    ));\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'gowalla'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n    app.get('/auth/gowalla',\n      passport.authenticate('gowalla'));\n\n    app.get('/auth/gowalla/callback', \n      passport.authenticate('gowalla', { failureRedirect: '/login' }),\n      function(req, res) {\n        // Successful authentication, redirect home.\n        res.redirect('/');\n      });\n\n## Examples\n\nFor a complete, working example, refer to the [login example](https://github.com/jaredhanson/passport-gowalla/tree/master/examples/login).\n\n## Tests\n\n    $ npm install --dev\n    $ make test\n\n[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-gowalla.png)](http://travis-ci.org/jaredhanson/passport-gowalla)\n\n## Credits\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2011-2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n","_id":"passport-gowalla@0.1.2","dist":{"shasum":"30de65cacf600f2185ab5d97e3b6f196523349ea","tarball":"https://registry.npmjs.org/passport-gowalla/-/passport-gowalla-0.1.2.tgz","integrity":"sha512-ifh5t98fm+n3jq2G3d2S1Ri8J6PWR7hyuQtS3XOhVDu2HifU+l4ThbZe8CinB1Zao7jwrqqmd9uRbutbhYUTSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvVNOOcpITsqQq4pFY9FM/+tjsgnxXYzdMbXzvsxC4TAIhAOUXR/4MwMhtWmvK4Wfv+sI4Sw2pkfBYqZ6PWGSiw6t1"}]},"_npmVersion":"1.1.62","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}]}},"readme":null,"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"time":{"modified":"2022-06-23T12:42:57.584Z","created":"2011-11-28T07:11:36.550Z","0.1.0":"2011-11-28T07:11:38.142Z","0.1.1":"2012-02-16T16:26:59.543Z","0.1.2":"2013-02-09T21:37:02.940Z"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-gowalla.git"}}