{"_id":"login-with-twitter","_rev":"13-1ca887982df3c4d292d0a46cd5956e3e","name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","dist-tags":{"latest":"1.2.4"},"versions":{"1.0.0":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.0.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"request":"^2.79.0"},"devDependencies":{"standard":"*","tape":"^4.0.0"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"5feee4af56907dddf05019072df1af12e7a77280","_id":"login-with-twitter@1.0.0","_shasum":"3e14d3e51df43412f2c0acab28e5d25e05d6c36f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"3e14d3e51df43412f2c0acab28e5d25e05d6c36f","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.0.0.tgz","integrity":"sha512-vDEUFZk5so6Jo+Uy1qzPgO08vHLoAWG2qh/SPgLRJQiiQXIe2MI3bnINsGYXuX2lN6wahAz8FYBBLaH8TeRuvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi4/dkS2d2NpEtp9cchoeexZJIbdyWwak4vGmctV3fhAIhANhDXpgfE78FzPat2r+GpvypZY4/17UyBJK3ZiNvXnFU"}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/login-with-twitter-1.0.0.tgz_1485752572448_0.5996692867483944"},"directories":{}},"1.0.1":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.0.1","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"request":"^2.79.0"},"devDependencies":{"standard":"*","tape":"^4.0.0"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"20d847d509b1cf295fb20bac83cf6babd6e7a8f0","_id":"login-with-twitter@1.0.1","_shasum":"7ba32ac0adeab9f88c20904884a67ef4d5ef882f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"7ba32ac0adeab9f88c20904884a67ef4d5ef882f","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.0.1.tgz","integrity":"sha512-o+Gp2uZsGKY5fjSLlf5WhkAfORsvb+vmB7rpzSKnVV36vFTglhoNaVLhelPPUl0fZVK22fIp1ne+mDj5Xy1BiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGI0UAPnA84Tc6rkIiBbC2p3OS/zkpqYqDHDC2idqpUAAiEA8BzHO7VsY7M04bUL0CvUyCyKYZBQdBEHc4/SbGrN5Tw="}]},"maintainers":[{"name":"dcposch","email":"dcposch@dcpos.ch"},{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/login-with-twitter-1.0.1.tgz_1488185420372_0.36418796190992"},"directories":{}},"1.1.0":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.1.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"request":"^2.79.0"},"devDependencies":{"standard":"*","tape":"^4.0.0"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"e56105dec8dc37f98d0a63346ae508f83c79f408","_id":"login-with-twitter@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"integrity":"sha512-N+IkGtRb2BXIZt9SK9Nt8w0UZJyKljuDacIr42sYVNYbZQ3GO9YbwuyoKRDDkKrAiIznPjZR13O9EaRZrKWu7w==","shasum":"cd838d8d728e08b373c30994180780cbab01b153","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9B/u2pfPkqvuip3JQ+iL8NKhSzdaqv92CCjVl2kRV/AiEA/CqicmKUbve2IjtoM2xgUNsxaaXGEu0k8pMkwJ7uIZY="}]},"maintainers":[{"name":"dcposch","email":"dcposch@dcpos.ch"},{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/login-with-twitter-1.1.0.tgz_1503469103376_0.23160720244050026"},"directories":{}},"1.2.0":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.2.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"oauth-1.0a":"^2.2.1","simple-get":"^2.7.0"},"devDependencies":{"standard":"*","tape":"^4.0.0"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"4e5b04a46763402d0da7f297cf88be2d67bcb5ee","_id":"login-with-twitter@1.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"integrity":"sha512-CTi8Q6ZLCUfrjEIieRn5nOovdS16Dj9/GbxQ2Z54S0XyOFoPA60KMb+KxYmmHKiRSu0sYhGY2G2Y/8+5bjS1Ow==","shasum":"074925389d1db4c7c0f8915ac6b4d2082e73343e","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcjlp/F1rle65CCEN+rIAVcOw3jOT3TMiY/YqVlys6KgIhAJHH/QWqb5yP8UyRF7bPmFrVNjGb50zkCcssccBLQgVJ"}]},"maintainers":[{"name":"dcposch","email":"dcposch@dcpos.ch"},{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/login-with-twitter-1.2.0.tgz_1503472798673_0.804987172363326"},"directories":{}},"1.2.1":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.2.1","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"oauth-1.0a":"^2.2.1","simple-get":"^3.0.3"},"devDependencies":{"standard":"*","tape":"^4.0.0"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"8e3202c04f517af3677117233181674b92fbd8b1","_id":"login-with-twitter@1.2.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wbIUmXBPrfT+Y2jpcOQfriduHsOgQOJuEM6G6uQPFz+ci7QXwq0DQ6xadSBoNpcJA4Bk0lEpRAWQpxGGd5mX/Q==","shasum":"91089bcdfb8be12b910047979a2e12758fabcb0f","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.2.1.tgz","fileCount":6,"unpackedSize":10103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFo/CCRA9TVsSAnZWagAAdzUQAJQqekC7QSI/+CACEz4/\nPdnIS10NIzTMsuLwuXnY6Q1qlkotVx8BXWQZ5eXn5MzoZui+b+m1jOAcRkFS\nHeaS/yKSmIufIk6sanI1JZdk9JU3LmLR9lUI/M0aj6j6PA2sE/vJNePdgPJU\nGkea4vyuBbl9NvoynfhTHnvuRe9ylHC5LjTspAE8A+MxQtIK9w5fykXQPfXO\n9NjY+KG6VsQKpGJdQ34nvzGxxxVJcvuEv1oEAAknNcnanh3M+bNnuGAY+LEO\nbFZ9K1L5WwWFdq5GS5b0tLgivgbh1uM+Ur9lH066jH0rGzDjnboo9G3iru28\nEbT4g9oXI2n2EEcIGx0zfyp+aQwGFKFnyBk8Vn5Dl+Bk6rxfuvWOcId6FWFE\naEy/tJrLOnmKhLS8G1ZPOJXQz1J+8LLqsnxF0UIQm220Qwtu8n58cCZrSIne\nCDmP/WsQvbxOA4BsaKx6Pxxwqvdu4vPe+EUMTTmTfnErL3qW9g5SyNJsVRt2\nZA4pEy9dwh2hXdDsTXuDuSRcxyMT6wHGpoIBQDeIR52St4CjrplofL8njclB\np2te9uZrtZxPZKZlFZHRl3TwZSDkcT8jGn4zsjXuGf9Cg0PFXTB+Zxd7sxVR\nM0nkCSKdek7ysTw5/lGJpAV3EzabaE1fxUZpCTTUC8Hq0E0x5w53dJZTvjO+\nbg/e\r\n=2Uhy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqnI4jxOvDo2L5wPEeOz13VRddQQ+3O/GeH1dYDpC3xAiATNKt+SkxiEjoLe5VGrWY3YaVMFK3cNIqqScaGwVwGxg=="}]},"maintainers":[{"name":"dcposch","email":"dcposch@dcpos.ch"},{"name":"feross","email":"feross@feross.org"}],"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/login-with-twitter_1.2.1_1561759681512_0.6487208236104747"},"_hasShrinkwrap":false},"1.2.2":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.2.2","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"oauth-1.0a":"^2.2.1","simple-get":"^3.0.3"},"devDependencies":{"standard":"*","tape":"^4.0.0"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"fb033971eb12fe889365eadef68474136fd625f3","_id":"login-with-twitter@1.2.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-dorAwbkwbAT3cKwfYOt0KHI/qy6zldLsuHaAXADtaV5na5FHOncG19J6+9TqEkuW65KzYxOHa/9MYchDKdw94Q==","shasum":"a7e5bd8cfaeb862d25baa646a25acf7e2c313feb","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.2.2.tgz","fileCount":4,"unpackedSize":9984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFpH3CRA9TVsSAnZWagAAjA0QAI/mg6jN+E6/VI5dIwmy\nN7a04qQH0lek0nE+NNH/b0FXZD1/zTyYZNsQ1BXtAELwuA63w33PzRv7a+6K\nAxgVjLU8MAARL7qenn2zSGCnKbBpc3jADqWVkUal9rvKzmfErDGuVf7mnBbl\n1NWbwhPqoUVmJ0Denta1+hPQZyIyXBGmWP8zaaxKB+Tj76NNvMovZl49l6Zr\nK4Gi3kdUOKlBFmqM8lAz5rkIuU0WXTxJVHv9yvhpTQjZpcQ4MY4nLZBNaqO/\nb7FfK0xNdHNzfLEjj4zQfSqr/4QlmyLPNkgGRCDIxrf5Z7c8ZXDuMepOk2qg\nropeBa6DKlTu3VnXNSMEWxOxqen1zjGUR+1eSgkkrTYRJ4csOcFp2fdCH0QS\n+nLBtM5OnByjLm3gzMaMOlZ3HUUUeKFvK9UkJQLEtZsF+HeRBKLe7z2XZLfl\n+E8VOyVHwumwRKIbMcxvR8f3jPQ4eccK3Fef/zwKSZzDNyLs8V1t14w/iOn4\nfDOsfAoP2l7XdC7OViMMIr1nKkXPNnENpZjl+jkIIKjaIUSyQF+3GdIPb/aG\n9HgrWfoobLk0fzk5tWH7RnfZTsHYKRcwQPDvQsDrCulx2E1KYrE43Cs19vFK\n6wCBfrdQ4lSib+XQ5xH7pq+D6pqKwLt1jsFJa75t3w1wFzPbU50mIg1qI4Kr\nCikA\r\n=1HYJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+OYrYyrXYdUefUq5Dov/St/klD8r3PZGqBlnqoHj3YgIhAJP5bZLJgZYv5QnaLIsEqsxykt9N6QloS6n1BiFosn+p"}]},"maintainers":[{"name":"dcposch","email":"dcposch@dcpos.ch"},{"name":"feross","email":"feross@feross.org"}],"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/login-with-twitter_1.2.2_1561760246963_0.679120660374515"},"_hasShrinkwrap":false},"1.2.3":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.2.3","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"oauth-1.0a":"^2.2.6","simple-get":"^4.0.0"},"devDependencies":{"standard":"*","tape":"^5.0.1"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"funding":[{"type":"github","url":"https://github.com/sponsors/feross"},{"type":"patreon","url":"https://www.patreon.com/feross"},{"type":"consulting","url":"https://feross.org/support"}],"gitHead":"b0528338052f9c1df51d09805ba1c5e9de3a4c45","_id":"login-with-twitter@1.2.3","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-WjcTGVDHhKYLrKQ+/ISpSzhgGofYmbm2hmpSnEl2vEOM05iczVI63d5BgVt6G4DPqkhAMfxzfEAM2GxrYd0OYA==","shasum":"2f59712de2371f993d38098da9537c80a6c3867b","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.2.3.tgz","fileCount":4,"unpackedSize":10349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfES+nCRA9TVsSAnZWagAAqwcP/2sd1S3nWqkTHTRb1qGe\nOOxLCNTNGDQkmGkpzBmsIzF4lAqKPoKV2PclGAkY0LyJ5AmbIPoJmIrKLhFw\n3YFjzi3+WmkCUSKP8LlC3OUTcM2EHsthxFr5lqL6rw8PDNPpiVVq/HzApHJJ\nfOcXYQjLv7A1pYMHoMjmp1l1D7f/M6B3XPjaEWd/GjceYIshWEy81EaPobd8\nI8KkRAKCdUmCOPHmk6Uwu771HLu7Hp3DJbEq+AjbRPePoi7LqP2WA70Y9wTn\n9WVKbVH0L1Gm0eaa+4MnDO4d8T8SrH1jJ6cgqda/0t/9eqmtbOYXUIvbsyXZ\ntm0EdZRzgxwP0g6lL+/QG8liOx4z2P9D7HpSESjiT4C/cC8fvntUQtOLwatH\n0SHkscAMDgi0+p3pn0I1QwiBafgEBfMDbXtJxDzhqahpYzlTlTlvQUQeOc3e\n5cewtY0MlUUYmKFLSqDIfWuNpo96RbXu1Zf+9dF/+Ly0yRGAtXijsLFAfltQ\n87uZSVbqapVpV0mJ9E8DQ/4jg82NtrExeYAUnmhMUR7oAUK8dYqOWubAbKT+\nReAW8LFVIRolq3I9mUG4ootdPYRdjhf/L9fWRMT5hOY6YMGCrattvJsiPnka\nIEgGj288iWQ+uwlXp71ywCBj+KrRfx2tWJvOfGVSSPsJpaYEJz2zI6VWNwNW\naq7a\r\n=OmQ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtKqNFQWNKa8HA8mqPhlveg0Nlyd95n2CbF1w//UeV1QIhAOgiK46C6Ondb+bj/CLqoDyJP05JPrVLwE5iED28fx5u"}]},"maintainers":[{"name":"dcposch","email":"dcposch@dcpos.ch"},{"name":"feross","email":"feross@feross.org"}],"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/login-with-twitter_1.2.3_1594961831484_0.056070609232017565"},"_hasShrinkwrap":false},"1.2.4":{"name":"login-with-twitter","description":"Login with Twitter. OAuth without the nonsense.","version":"1.2.4","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"browser":{"unzip-response":false},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"dependencies":{"oauth-1.0a":"^2.2.6","simple-get":"^4.0.0"},"devDependencies":{"standard":"*","tape":"^5.0.1"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"scripts":{"test":"standard && tape test/*.js"},"funding":[{"type":"github","url":"https://github.com/sponsors/feross"},{"type":"patreon","url":"https://www.patreon.com/feross"},{"type":"consulting","url":"https://feross.org/support"}],"gitHead":"8be9b675f8bed759631576b55090c90921c34c82","_id":"login-with-twitter@1.2.4","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-M/T5JdRZjlADcATf7NLVtCyVOtZzvIp/e0rVsLzMQGBFs9YuTVCedLgRxiKWPE4oi188c+QnX19eZz6ugek6Sw==","shasum":"d48411d47d95b69b8ca7d692887b55b8d5649dfa","tarball":"https://registry.npmjs.org/login-with-twitter/-/login-with-twitter-1.2.4.tgz","fileCount":4,"unpackedSize":10409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvG5MCRA9TVsSAnZWagAAYb4P/RHtgN1W6y/2/Q7aj1W5\n3I46kkMNqjBRsLxNDT9BhJB3btKbqTw5MBbHkWtXbz9rEY0qgQEsnjtHxRLe\n4pimpC83r6w/W9SR5zvHDn9e/YS2Y0rKLr4eC4VM9fRyXbp0rtMRH1pvtJJt\nR/TZ85xq7cKwhrYmrkobFzXNzFbwfIpeWLsXLNbMFiMY4MDjTXKCXtNGci0y\n6fB4FusDfzuvD8zbokYlrSwpL5yHu81zRrOfru7C7lufOhvMaifH8hDeiEvp\nGKjc4lsVDneA8HkjqlBamA5IiAFInGaYRIMRx4GSGrISRQGZEidIoLqQdX/4\npGpK8kU2nLaHwWvcc/YciMMlxEjElwjxBWboZE+tHpnK/SyOsxWDgDHQ1M6n\nClHIn9NGvPgBPl+YbPqQaN6/UR2R3Yy0OLvQ2JkBTlIryM9JMcylpwhke83Z\nDkqfDGbYYKgbCXG0/b7g53OnzyFPEDtRyIw55fb3kIBzlw8m7F8WsboyFreO\nYCBYLgvLqaxcacLos5WNu1RuYr1wzCQlAaDSvO+n9PvemHe/Z2CXhZPEFsHp\nslXuoTQK0lGot7mR61I8ogkXsg6p3Ir86M2jd28Rn/bfsZOodUbTlE6BqZ/w\nxOBjpDyDjgK9UEjSfPeKToiYCk5jEKQ5CH6WpfFce5wZmwZ1JebYahA86VYi\n0GTI\r\n=5NH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPXM9+oUsJuGXg21DzV+COldCoLE5KpjkAxkmIa9MROgIhAOLM0A//UEqxM+N6Q64+uUBgEFVy+S+Y3n1R8E23WjCY"}]},"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"maintainers":[{"name":"feross","email":"feross@feross.org"},{"name":"dcposch","email":"dcposch@dcpos.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/login-with-twitter_1.2.4_1606184524493_0.2801645499705028"},"_hasShrinkwrap":false}},"readme":"# login-with-twitter [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/feross/login-with-twitter/master.svg\n[travis-url]: https://travis-ci.org/feross/login-with-twitter\n[npm-image]: https://img.shields.io/npm/v/login-with-twitter.svg\n[npm-url]: https://npmjs.org/package/login-with-twitter\n[downloads-image]: https://img.shields.io/npm/dm/login-with-twitter.svg\n[downloads-url]: https://npmjs.org/package/login-with-twitter\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Login with Twitter. OAuth without the nonsense.\n\n## Features\n\nThis module is designed to be the lightest possible wrapper on Twitter OAuth.\n\nAll this in < 100 lines of code.\n\n## Install\n\n```\nnpm install login-with-twitter\n```\n\n## Usage\n\nSet up two routes on your web sever. We'll call them `/twitter` and\n`/twitter/callback`, but they can be named anything.\n\n### Initialization\nInitialize this module with the consumer key and secret for your Twitter App you created with an Twitter Developer account.\n\n```js\nconst LoginWithTwitter = require('login-with-twitter')\n\nconst tw = new LoginWithTwitter({\n  consumerKey: '<your consumer key>',\n  consumerSecret: '<your consumer secret>',\n  callbackUrl: 'https://example.com/twitter/callback'\n})\n```\n\n### Login\n\nCall `login` from your `/twitter` route, saving the OAuth `tokenSecret` to use later. In this example, we use the request session (using, for example, [express-session](https://www.npmjs.com/package/express-session)).\n\n```js \napp.get('/twitter', (req, res) => {\n  tw.login((err, tokenSecret, url) => {\n    if (err) {\n      // Handle the error your way\n    }\n    \n    // Save the OAuth token secret for use in your /twitter/callback route\n    req.session.tokenSecret = tokenSecret\n    \n    // Redirect to the /twitter/callback route, with the OAuth responses as query params\n    res.redirect(url)\n  })\n})\n```\n\n### Callback\n\nThen, call `callback` from your `/twitter/callback` route. The request will include `oauth_token` and `oauth_verifier` in the URL, accessible with `req.query`. Pass those into `callback`, along with the OAuth `tokenSecret` you saved in the `login` callback above, and a callback that handles a `user` object that this module will return.\n\n```js\napp.get('/twitter/callback', (req, res) => {\n  tw.callback({\n    oauth_token: req.query.oauth_token,\n    oauth_verifier: req.query.oauth_verifier\n  }, req.session.tokenSecret, (err, user) => {\n    if (err) {\n      // Handle the error your way\n    }\n    \n    // Delete the tokenSecret securely\n    delete req.session.tokenSecret\n    \n    // The user object contains 4 key/value pairs, which\n    // you should store and use as you need, e.g. with your\n    // own calls to Twitter's API, or a Twitter API module\n    // like `twitter` or `twit`.\n    // user = {\n    //   userId,\n    //   userName,\n    //   userToken,\n    //   userTokenSecret\n    // }\n    req.session.user = user\n    \n    // Redirect to whatever route that can handle your new Twitter login user details!\n    res.redirect('/')\n  });\n});\n```\n\n### Logout\nIf you want to implement logout, simply delete the `user` object stored in the session.\n\n---\n\nFor more information, check out the implementation in [index.js](index.js).\n\n## license\n\nMIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).\n","maintainers":[{"name":"feross","email":"feross@feross.org"},{"name":"dcposch","email":"dcposch@dcpos.ch"}],"time":{"modified":"2022-06-19T13:55:42.777Z","created":"2017-01-30T05:02:54.166Z","1.0.0":"2017-01-30T05:02:54.166Z","1.0.1":"2017-02-27T08:50:20.598Z","1.1.0":"2017-08-23T06:18:24.741Z","1.2.0":"2017-08-23T07:19:58.746Z","1.2.1":"2019-06-28T22:08:01.742Z","1.2.2":"2019-06-28T22:17:27.119Z","1.2.3":"2020-07-17T04:57:11.702Z","1.2.4":"2020-11-24T02:22:04.650Z"},"homepage":"https://github.com/feross/login-with-twitter","keywords":["login","twitter","auth","oauth","twitter login","login with twitter","twitter connect","twitter auth","api","twitter api"],"repository":{"type":"git","url":"git://github.com/feross/login-with-twitter.git"},"author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"bugs":{"url":"https://github.com/feross/login-with-twitter/issues"},"license":"MIT","readmeFilename":"README.md","users":{"reydelatorre":true,"santiagocarmo":true}}