{"_id":"passport-twitter","_rev":"54-655c40f4819301f356ecc4d3e0505831","name":"passport-twitter","description":"Twitter authentication strategy for Passport.","dist-tags":{"latest":"1.0.4"},"versions":{"0.1.0":{"name":"passport-twitter","version":"0.1.0","description":"Twitter 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-twitter.git"},"main":"./lib/passport-twitter","dependencies":{"passport-oauth":">= 0.1.0"},"engines":{"node":">= 0.4.0"},"keywords":["passport","twitter","auth","authn","authentication","identity"],"_npmJsonOpts":{"file":"/Users/jaredhanson/.npm/passport-twitter/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"passport-twitter@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.20","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"d6965e7e2a03648990a259406c39e3fb162e182f","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-0.1.0.tgz","integrity":"sha512-zhXuP8qz1iLipKV1UdUXRYAgus4Va4sDunY+39yh2AuicriVZDxWXTrDDFlzpd1+YaC/ygRifvqdWpdGHv1QMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxFERHMfFe5rXHgH6voRnCipAgP/DVSIUkrLwclaroUgIgT5YmDM/NR7oW/88CiAOoX8qI9NCBsLm8rfeX/4KqWck="}]},"scripts":{},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"0.1.1":{"name":"passport-twitter","version":"0.1.1","description":"Twitter 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-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/issues"},"main":"./lib/passport-twitter","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","twitter","auth","authn","authentication","identity"],"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"_id":"passport-twitter@0.1.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"521934be83703f7d617bea342197abf4472bac71","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-0.1.1.tgz","integrity":"sha512-mOIEY9j7nmC5aSvZqyP355SQcsQU3q19vSouX3tDvX9vI9x408oY1uKn2CGfU2YHh4HukEB5uSozlYSsp3PdeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPXGH9vrjo8dRm3y/2eH8Ez+DgcpHDhBxc6DgzQWQvngIhAJ6uqbowU9GXYxMjhdB+9o2Hn4IVXL9jvABAcNDpWfpB"}]},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"0.1.2":{"name":"passport-twitter","version":"0.1.2","description":"Twitter 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-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/issues"},"main":"./lib/passport-twitter","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","twitter","auth","authn","authentication","identity"],"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"_id":"passport-twitter@0.1.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"8faa0d2244a8329308d0c1781b02aac22a423292","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-0.1.2.tgz","integrity":"sha512-0Pqaolj3j2KvxeSOgp6Jj66aI5GBfVhJhoy0of3f04DmdZw/i31JOyqA/RAW/sUNQD3DBJSlls+7VDzGiTYypA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ5xZ9yZD3v9aw/3xn5k//ky/MqmCbLDGU0YsdQjsEYQIhAMItGLWNCEEctIZrATusef59XLd8nY/vp7iQb1lXaN6i"}]},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"0.1.3":{"name":"passport-twitter","version":"0.1.3","description":"Twitter 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-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/issues"},"main":"./lib/passport-twitter","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","twitter","auth","authn","authentication","identity"],"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"_id":"passport-twitter@0.1.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"dd2e07cc08ed801ed84d12f3f339263dcd850951","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-0.1.3.tgz","integrity":"sha512-IhVGnrGhrB1/bJkJ0p+MwTGG9CpZLbJk3AepmegobYxLk3CErvtIE0HUWjs0O7/2JPfK/mSG21wY5XhKTTdTGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHQyALLD9CHFUyFuIW9rbIbQgeJUpTq9esaClqOIS+vAiAhtnkN5KYptUgHr8W0rrbq4vO+Q5z6tB4cbhXcK4f9lg=="}]},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"0.1.4":{"name":"passport-twitter","version":"0.1.4","description":"Twitter 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-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/issues"},"main":"./lib/passport-twitter","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","twitter","auth","authn","authentication","identity"],"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"_id":"passport-twitter@0.1.4","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"d15f95364314950f4a00e4ff66b652ed20552f69","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-0.1.4.tgz","integrity":"sha512-OdadyV1XyOztpY485ZHiT6kL6s1wll2Q1FpfOvr2PGBZsueHLrhEWtEslIr7nkzXC3esNmB7rrNLznhZXvU8mQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhd4B8HU3bpWghZG+w/hRz38fgskK9OulIX3p1utatIQIgciU0iFm1WojsSIIZl0VnsuSUCrxzq12Efe4WKSKUo9U="}]},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"0.1.5":{"name":"passport-twitter","version":"0.1.5","description":"Twitter authentication strategy for Passport.","keywords":["passport","twitter","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/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-twitter","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"},"_id":"passport-twitter@0.1.5","dist":{"shasum":"d09aa2c2297d0214b6d7755bf59b392e3e03fbb2","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-0.1.5.tgz","integrity":"sha512-nQLgJoDcahmKksyf/krsuTq3pM3QhuTkbVYoBr8SzocDmxRShbdbJbH/PxiwSo5/XnrpnIHgAjlqkfqmC7HAZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa4sjKBzlOGmMh1iVvR1ZWDM36iigqBNghgWzv8QQLCgIhAOPckxHU8jlq3Pd1hq/qfPyR7qi017AWTPOrp96useno"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"1.0.0":{"name":"passport-twitter","version":"1.0.0","description":"Twitter authentication strategy for Passport.","keywords":["passport","twitter","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/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","dependencies":{"passport-oauth1":"1.x.x","xtraverse":"0.1.x"},"devDependencies":{"mocha":"1.x.x","chai":"1.x.x","chai-passport-strategy":"0.1.x"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"_id":"passport-twitter@1.0.0","dist":{"shasum":"7ca085709535c2f37e33445af2ff42302d15e97c","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-1.0.0.tgz","integrity":"sha512-NjHWJCCkYYPjINKL+lOyQaq8EjGH6pmcde98/kgeP+x7Gbro3tDmL8hQL0UWzXToE1O9PvLVJUvsvwXnFqZWpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbHJsp/Puy4wuf9k8zMMteDzRRgi4ON6dLnXW7DvPLNwIhALvHftkKvJtqb3P4MbyCliGildMMkuR9KbkDcFLxzDup"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"1.0.1":{"name":"passport-twitter","version":"1.0.1","description":"Twitter authentication strategy for Passport.","keywords":["passport","twitter","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/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","dependencies":{"passport-oauth1":"1.x.x","xtraverse":"0.1.x"},"devDependencies":{"mocha":"1.x.x","chai":"1.x.x","chai-passport-strategy":"0.1.x"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"_id":"passport-twitter@1.0.1","dist":{"shasum":"7cada6eceed65ddcc086ca12b10dfb65d86f7dfb","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-1.0.1.tgz","integrity":"sha512-8Xwvq0cUdYQNbAxW41/HWruQqYO7PVW/Of6QGb85ZJxgepNtFOk/kIBP8km1c67e0G29zlhOnarkNHDoWUAYjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlNGm03Uc5KR28nrSRwiX+clBTaq/JkRPl4JKG33fmLAiArIodC7EWV6zQr9mMBQMv9DP+wRFpzTiKNNjqV23ogSg=="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"1.0.2":{"name":"passport-twitter","version":"1.0.2","description":"Twitter authentication strategy for Passport.","keywords":["passport","twitter","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/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","dependencies":{"passport-oauth1":"1.x.x","xtraverse":"0.1.x"},"devDependencies":{"mocha":"1.x.x","chai":"1.x.x","chai-passport-strategy":"0.1.x"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"_id":"passport-twitter@1.0.2","dist":{"shasum":"6bfe5f9ec259dc363991b0be3cee94bfe4853d2b","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-1.0.2.tgz","integrity":"sha512-fkx0tkUyg35v2zuHrfv1xlIRO/Ja4oS4xCHn7mpRwzf8nm5q+KNAjnwXwpfxSLQT1zFHI61pU5BOYv9klsSmdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD14It3AaO9EZdAnRIuVjvYmrepueoklt1OfbungTvB6QIhALhT21EtVcX1E8oy5QzuoqgKVW0vNsqpgPM3Sy8S5xOD"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"directories":{}},"1.0.3":{"name":"passport-twitter","version":"1.0.3","description":"Twitter authentication strategy for Passport.","keywords":["passport","twitter","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/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","dependencies":{"passport-oauth1":"1.x.x","xtraverse":"0.1.x"},"devDependencies":{"mocha":"1.x.x","chai":"1.x.x","chai-passport-strategy":"0.1.x"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"gitHead":"a0cb7b76a3435eb6dffb86e7d3f96ca184fcd736","homepage":"https://github.com/jaredhanson/passport-twitter","_id":"passport-twitter@1.0.3","_shasum":"887076f265a598cdffde59be2169a040e5908353","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"dist":{"shasum":"887076f265a598cdffde59be2169a040e5908353","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-1.0.3.tgz","integrity":"sha512-YhUcufW6AzL5EOF1YEIDb0EavdLML6ObGFNu32NcAlTIM3bVNIW6Rrt1J2coYYx6+TIZfvFEooWWA65HXJs00w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC59s1i/2S8bGwNzO0N8HMFu3AerRHKvGCWTkxEjGR16AiBJ1WA00yJ9iBUPGJA3YzACNVH6js8A0ZNofGEU6nU5Ng=="}]},"directories":{}},"1.0.4":{"name":"passport-twitter","version":"1.0.4","description":"Twitter authentication strategy for Passport.","keywords":["passport","twitter","auth","authn","authentication","identity"],"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/issues"},"license":"MIT","licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"./lib","dependencies":{"passport-oauth1":"1.x.x","xtraverse":"0.1.x"},"devDependencies":{"make-node":"0.3.x","mocha":"1.x.x","chai":"2.x.x","chai-passport-strategy":"1.x.x"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha --require test/bootstrap/node test/*.test.js"},"gitHead":"46c1fe216f2539463c6e7043855fe4264bab8f96","homepage":"https://github.com/jaredhanson/passport-twitter#readme","_id":"passport-twitter@1.0.4","_shasum":"01a799e1f760bf2de49f2ba5fba32282f18932d7","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"dist":{"shasum":"01a799e1f760bf2de49f2ba5fba32282f18932d7","tarball":"https://registry.npmjs.org/passport-twitter/-/passport-twitter-1.0.4.tgz","integrity":"sha512-qvdauqCqCJJci82mJ9hZZQ6nAv7aSHV31svL8+9H7mRlDdXCdfU6AARQrmmJu3DRmv9fvIebM7zzxR7mVufN3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBKzHFokf18jDuj5wCdmDBUa4mFF2/JQxQOPSONdubUAIgOnGkJ335BiesJbnesTD7sMvhyRYK/0LMvf/qUtsBqAI="}]},"directories":{}}},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"time":{"modified":"2022-06-23T13:39:52.600Z","created":"2011-10-23T22:22:29.651Z","0.1.0":"2011-10-23T22:22:31.612Z","0.1.1":"2012-03-06T03:54:15.849Z","0.1.2":"2012-03-15T05:32:54.467Z","0.1.3":"2012-04-01T00:52:04.886Z","0.1.4":"2012-07-29T23:14:04.509Z","0.1.5":"2013-06-12T00:23:45.824Z","1.0.0":"2013-08-16T04:40:10.402Z","1.0.1":"2013-09-03T17:01:55.433Z","1.0.2":"2013-09-11T15:19:36.461Z","1.0.3":"2015-03-02T23:21:39.128Z","1.0.4":"2016-01-29T22:57:48.285Z"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/jaredhanson/passport-twitter.git"},"users":{"fgribreau":true,"ljharb":true,"davidhalldor":true,"matteospampani":true,"mswanson1524":true,"japh":true,"granttimmerman":true,"yvishnu":true,"parkerproject":true,"sanketss84":true,"dna2go":true,"damianof":true,"sonhuytran":true,"dereklakin":true,"webtobesocial":true,"kenkao":true,"vishwasc":true,"zaephor":true,"dpjayasekara":true,"bapinney":true,"tmurngon":true,"jmomplet":true,"mhaidarh":true,"mnk":true,"serge-nikitin":true,"rocket0191":true,"gamersdelight":true},"readme":"# passport-twitter\n\n[![Build](https://img.shields.io/travis/jaredhanson/passport-twitter.svg)](https://travis-ci.org/jaredhanson/passport-twitter)\n[![Coverage](https://img.shields.io/coveralls/jaredhanson/passport-twitter.svg)](https://coveralls.io/r/jaredhanson/passport-twitter)\n[![Quality](https://img.shields.io/codeclimate/github/jaredhanson/passport-twitter.svg?label=quality)](https://codeclimate.com/github/jaredhanson/passport-twitter)\n[![Dependencies](https://img.shields.io/david/jaredhanson/passport-twitter.svg)](https://david-dm.org/jaredhanson/passport-twitter)\n\n\n\n[Passport](http://passportjs.org/) strategy for authenticating with [Twitter](http://twitter.com/)\nusing the OAuth 1.0a API.\n\nThis module lets you authenticate using Twitter in your Node.js applications.\nBy plugging into Passport, Twitter 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-twitter\n\n## Usage\n\n#### Create an Application\n\nBefore using `passport-twitter`, you must register an application with Twitter.\nIf you have not already done so, a new application can be created at\n[Twitter Application Management](https://apps.twitter.com/).  Your application\nwill be issued a consumer key (API Key) and consumer secret (API Secret), which\nneed to be provided to the strategy.  You will also need to configure a callback\nURL which matches the route in your application.\n\n#### Configure Strategy\n\nThe Twitter authentication strategy authenticates users using a Twitter account\nand OAuth tokens.  The consumer key and consumer secret obtained when creating\nan application are supplied as options when creating the strategy.  The strategy\nalso requires a `verify` callback, which receives the access token and\ncorresponding secret as arguments, as well as `profile` which contains the\nauthenticated user's Twitter profile.   The `verify` callback must call `cb`\nproviding a user to complete authentication.\n\n    passport.use(new TwitterStrategy({\n        consumerKey: TWITTER_CONSUMER_KEY,\n        consumerSecret: TWITTER_CONSUMER_SECRET,\n        callbackURL: \"http://127.0.0.1:3000/auth/twitter/callback\"\n      },\n      function(token, tokenSecret, profile, cb) {\n        User.findOrCreate({ twitterId: profile.id }, function (err, user) {\n          return cb(err, user);\n        });\n      }\n    ));\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'twitter'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n    app.get('/auth/twitter',\n      passport.authenticate('twitter'));\n    \n    app.get('/auth/twitter/callback', \n      passport.authenticate('twitter', { failureRedirect: '/login' }),\n      function(req, res) {\n        // Successful authentication, redirect home.\n        res.redirect('/');\n      });\n\n## Examples\n\nDevelopers using the popular [Express](http://expressjs.com/) web framework can\nrefer to an [example](https://github.com/passport/express-4.x-twitter-example)\nas a starting point for their own web applications.\n\n## Contributing\n\n#### Tests\n\nThe test suite is located in the `test/` directory.  All new features are\nexpected to have corresponding test cases.  Ensure that the complete test suite\npasses by executing:\n\n```bash\n$ make test\n```\n\n#### Coverage\n\nThe test suite covers 100% of the code base.  All new feature development is\nexpected to maintain that level.  Coverage reports can be viewed by executing:\n\n```bash\n$ make test-cov\n$ make view-cov\n```\n\n## Support\n\n#### Funding\n\nThis software is provided to you as open source, free of charge.  The time and\neffort to develop and maintain this project is dedicated by [@jaredhanson](https://github.com/jaredhanson).\nIf you (or your employer) benefit from this project, please consider a financial\ncontribution.  Your contribution helps continue the efforts that produce this\nand other open source software.\n\nFunds are accepted via [PayPal](https://paypal.me/jaredhanson), [Venmo](https://venmo.com/jaredhanson),\nand [other](http://jaredhanson.net/pay) methods.  Any amount is appreciated.\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2011-2016 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n","homepage":"https://github.com/jaredhanson/passport-twitter#readme","keywords":["passport","twitter","auth","authn","authentication","identity"],"bugs":{"url":"http://github.com/jaredhanson/passport-twitter/issues"},"readmeFilename":"README.md","license":"MIT"}