{"_id":"passport-cookie","_rev":"14-a218f3f8fc0762ccb4c2e34c103624e5","name":"passport-cookie","description":"Cookie authentication strategy for Passport","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"passport-cookie","version":"1.0.0","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","istanbul":"^0.4.5","mocha":"^3.1.2"},"dependencies":{"passport-strategy":"^1.0.0"},"homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.0","_shasum":"d0b18655ce98155f48440338898c1afcf70070c1","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"rojo2","email":"hola@rojo2.com"},"dist":{"shasum":"d0b18655ce98155f48440338898c1afcf70070c1","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.0.tgz","integrity":"sha512-AEPu1lYoCTNu+aQeGDsReWqpKNgoXkwMTvFjXqczg+nVlHMmjeSUC4JiGmIS3f11Ct1eLuIQ+/0iq4yzE1NxHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBwfymi8UFxFzcU4e6RHEbdv1iURaECinCn4QQbWEN/rAiEAhKiR4U4REj1JKbErgFbIjKpXCmc8K8dLWSBS0fqbiMI="}]},"maintainers":[{"name":"rojo2","email":"hola@rojo2.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/passport-cookie-1.0.0.tgz_1477242385704_0.35744822211563587"},"directories":{}},"1.0.1":{"name":"passport-cookie","version":"1.0.1","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","istanbul":"^0.4.5","mocha":"^3.1.2"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"582973feca4baeba641c9aafd64a1df4b4fe22c0","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.1","_shasum":"fc230a800e55a43f21fb9b79608b117f9bfd8a56","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"rojo2","email":"hola@rojo2.com"},"dist":{"shasum":"fc230a800e55a43f21fb9b79608b117f9bfd8a56","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.1.tgz","integrity":"sha512-iHSQ0iWuKs3/MsNTG/UlQUhkt1CxOntfuaCYAIaOPpT8ehbrNHxB3KmnvHuRyNYY0eh1ikdDhMmtr9TIpBBR8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtEn9HiI7kyLmtgn51fCQ12yrs/murR4iDYWtqcPr16AiEAjh5zLXja1HmM51h1m89reTD7fQ+SfbOqbH5q7qEGVxM="}]},"maintainers":[{"name":"rojo2","email":"hola@rojo2.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-cookie-1.0.1.tgz_1477242741601_0.047124201664701104"},"directories":{}},"1.0.2":{"name":"passport-cookie","version":"1.0.2","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"327b8066bfb15588999376e6099191f7c72d050b","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.2","_shasum":"ac92e014521e146599bc814c286b7dfde3dbded5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"rojo2","email":"hola@rojo2.com"},"dist":{"shasum":"ac92e014521e146599bc814c286b7dfde3dbded5","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.2.tgz","integrity":"sha512-3w1SHI9U5g0oM2LFpu5xxX6qVmDTPF4+3waEoUHR8glB7qkj0Sxx39ssjzlv2FAPCuMuxlWwHZ9o4sr50GVQmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpVs/T/yLyfCr0CvMKHBgi7WbidRBts5B3JwNr7tCWgwIhAJ0sGbR5PPygfEs6F0/IUAC1itihx/HNw0BgLkWvZdmt"}]},"maintainers":[{"name":"rojo2","email":"hola@rojo2.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-cookie-1.0.2.tgz_1477243438203_0.6896365690045059"},"directories":{}},"1.0.4":{"name":"passport-cookie","version":"1.0.4","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"4e2f660c2975427e6766c3bdf1b300d240376169","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.4","_shasum":"708107035a33a740a49799a4f5e922f77aabc600","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"rojo2","email":"hola@rojo2.com"},"dist":{"shasum":"708107035a33a740a49799a4f5e922f77aabc600","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.4.tgz","integrity":"sha512-XnzOWNOS/dv+MvKKr04YEIgED52ZQEJaANJ5oO6ZspBAj+DRkxTiXzh9v8IiNFzFrWLipVrfWIpMEshJinZLwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU/gqWbTQxg8g8nisrpSeOqAcY8hlXnx1dYt35ttTOkwIhAO1Ts3Zdx5FhUG65M7myvALOB0PhjUFIOhL+Duro2RRE"}]},"maintainers":[{"name":"rojo2","email":"hola@rojo2.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-cookie-1.0.4.tgz_1477322893464_0.901742672547698"},"directories":{}},"1.0.5":{"name":"passport-cookie","version":"1.0.5","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"5d3a1d0c8f20726b2c5684acf5740cafa673665b","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"aitormm","email":"hola@rojo2.com"},"dist":{"integrity":"sha512-3rNMuDbP7zQ3eWb5bcw4qhvnWFZtfHKf6w4LXsgTK1dwSPke/mYWM04UzHkfD5rONKm/odCWEbowsWpILLQ2cg==","shasum":"4a00b726169357594583cf87977d7b6d860893ec","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.5.tgz","fileCount":9,"unpackedSize":11213,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZCaBtq0lkX+0CgfOQEFUmE1YQuLgs0ZrRsEMz9TZO5AiBidezOWDTOySPz333ljtVnFj9dW9qC1iSh8TZjbI3+/g=="}]},"maintainers":[{"email":"hola@rojo2.com","name":"aitormm"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-cookie_1.0.5_1520268458181_0.23460450928824605"},"_hasShrinkwrap":false},"1.0.6":{"name":"passport-cookie","version":"1.0.6","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"87de7e7ca779a73b023cfe0f75ab2aee3c076a29","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"aitormm","email":"hola@rojo2.com"},"dist":{"integrity":"sha512-WgTC2OYk1fGT4nj9U9qD1/nZ155Fmpjrogkfdpv2iEhGP5QZXy7Di/dJhdEo/6xGgUGbAg3y3TtUJrnyJ8w3Ew==","shasum":"d0642696dccf415a57467c40c5c5f0f7f632eacd","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.6.tgz","fileCount":9,"unpackedSize":14248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGv5JdkQPQxuCPH3afXfTlsRD1fQ2WwVboHCTJefj+SsAiEAgki+22dlYQsEuLwztXt7TGjFUvDcyYFIhHue3SwTKzo="}]},"maintainers":[{"email":"hola@rojo2.com","name":"aitormm"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-cookie_1.0.6_1520268797294_0.43581158273987874"},"_hasShrinkwrap":false},"1.0.7":{"name":"passport-cookie","version":"1.0.7","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"e0fb0ba17e1181de3c6c52b015682e030c323b63","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.7","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Gf6u+KBT0nx05QutKWUio/o/2Y9W5RG1+UrnyXAnRaWA0JMZgF7fXls4t5GbdNbh/K/zTqG9nRqQOMHHuSkz8A==","shasum":"08443a26d2012c58ada5bd9efe69b62c31250338","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.7.tgz","fileCount":9,"unpackedSize":15024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5VFPCRA9TVsSAnZWagAAaPQP/RH0aec3SqYza5yDiaJ6\n+5pVYWzbaWqEfqZFIACFnFNzDn6rzTeRpURd7guYk1U8ph1F/RMjQ1tBunlZ\naP10LimfcbQ5EdDoI9m8/32yXFOsYugpmObhVjCiklL0j8xhF52kUZn7LePs\n2aX1e/k53h4JKMnagL6IIzvvBRsjOGNzGkAHjZWL+EUe+jyo9cF5lARWY0cw\niU5BNuPSaUbwELvTGzbH0GhtuYT71pByE1EK9Ef30VBsrJv9f23wXngDE93p\n664py067XN5YHs37NLm8ipDhu4TYVY7N5ik9TiIn30SL/hJwKKhWSIVoXDPw\nSIg5Gmc+7bMOkgEipRNPam864e4Fe9RjowG1Re7P5QCYCvUGkHc2h2yi6NpN\ndwP2oUbCGHOJvEmmqi35h4lGyeOImfijI7oZu79tddfQhOtw1FHYM+gvJpkF\n3rHksbWJZaY1Rfr7OxOj1QDjoEWoWp7KGEPBvoqk68gdKdDMv50sdCyjrTC+\nkS2ulhiZrVMwzdpHk27DYN1r86YQek5s4xOx6m9vYr5piAsLLry/D1dV6kIi\n7iLCoBwULyeGRQvFZ+uYqrHB3SNpsp7LgpR6l2f1dEZ+zUtJfDj09d7dvI2Z\njjdkQ2yfE82CrHvUzravEgkbj7kS/S9/Et8tt/uuDkGAw2fx0v+9oNtlANhL\nmsEs\r\n=q174\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcnQqJpqhjocEFD695qQQOirT8dosdgUVVcbGpT0EmYgIhAMhZLMZJc3wOMhbygqtzaicFpezNStrskAhBG2djcum5"}]},"maintainers":[{"email":"hola@rojo2.com","name":"aitormm"}],"_npmUser":{"name":"aitormm","email":"hola@rojo2.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-cookie_1.0.7_1592086863016_0.1387696393870883"},"_hasShrinkwrap":false},"1.0.8":{"name":"passport-cookie","version":"1.0.8","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"ec21dbcd0240f177298c4f0d03368a024be8c543","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.8","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-nZkR8adREifrAQnlpVt82eJ6B7InWUjWJlPgGZsZcjvHtrQt63jtRzAc/lkXmJOPaSs0OKf1YlGVbri9XqYAIw==","shasum":"64bb1fbe1e6737de7d94df9ec7f026ba11b251c3","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.8.tgz","fileCount":9,"unpackedSize":16604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5VMpCRA9TVsSAnZWagAAN1MP/07EiwyrREIEorklE2Hh\nwicmFmEt1rpBLbNJHD8HrviBZCYlURknyVaLyU5TgO1ryQNdvkB4hC+huUj0\nv9ppbU1Gjvh7NUx8BGEw9N4382lK4VGe++WEpbGQYYh1F0j2gEv+5nlK29UN\ntQtw50Wf2VWKv1mrhR6buB6xtQCurWHVxX2/rehgmw7rt9bIlYM3yV6ndpZL\n7eSBGTH2qtbnAJXW2+ZYNoYoLZm0jmWtgiKXDrp1q7gVs04Lrn/MPAmrc8ya\nk+Vw8AyZtaV0M0ZzmI9+7SuC97XlWy1aWVVbuFdl4lKRVC3MA0ZUsjUs7KwM\ny8/yGDepQ9YF0dL1orYJ705gSsQ3bqI3J4wKzki3zwOWdIPmMekwQJZ/s2o9\nson7qtzJa++HxmGLvV4DX1y9Ggw9NXiuI0VCZAbTYr7E6Zaf5PKpG9V4UCkT\nPwi98q1R/84VVbC4Gt5rFAG4a1DZ4kZckN5iFByZmILT3WiyZJqCZJ5vQEKT\ncGJvf5bo5rjQpn20UuOdh2EwLFigQciK3ps8EdNOGzFJFnNEiCFuz598PhGU\nDYKy+YFBzvfJchP9RkuffK4x8V6BQwkJMhRYJJK1opliKAcgRxNegRqkJTki\n15y4miCLzYoimref8K2EYuqBQhxPHVbWPYHrFImYnzPxQjElBowEQ3kO2IS1\nB1WP\r\n=yjJZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmCWCSG9kwX38/+1nZIyQT8zvq9QVNbec4qLinCnZcEAiEAuLU7e/fkHIBZBpiLzLpErA/NOIPvpzijb2Ij5brlWBY="}]},"maintainers":[{"email":"hola@rojo2.com","name":"aitormm"}],"_npmUser":{"name":"aitormm","email":"hola@rojo2.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-cookie_1.0.8_1592087337475_0.45550357091556637"},"_hasShrinkwrap":false},"1.0.9":{"name":"passport-cookie","version":"1.0.9","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"description":"Cookie authentication strategy for Passport","main":"index.js","engines":{"node":">= 0.10.0"},"scripts":{"coveralls":"istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm ./coverage/lcov.info","cover":"istanbul cover node_modules/.bin/_mocha -- -- -u exports --report html test/**/*","test":"mocha"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","chai-passport-strategy":"^1.0.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.1.2","mocha-lcov-reporter":"^1.2.0"},"dependencies":{"passport-strategy":"^1.0.0"},"gitHead":"06b4d6b70e4399c682ffd53fa0a80091092723c9","homepage":"https://github.com/rojo2/passport-cookie#readme","_id":"passport-cookie@1.0.9","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-8a6foX2bbGoJzup0RAiNcC2tTqzYS46RQEK3Z4u8p86wesPUjgDaji3C7+5j4TGyCq4ZoOV+3YLw1Hy6cV6kyw==","shasum":"a21dca7ce6cc95fb929083a171a9f894024dcecb","tarball":"https://registry.npmjs.org/passport-cookie/-/passport-cookie-1.0.9.tgz","fileCount":10,"unpackedSize":16638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0O33CRA9TVsSAnZWagAA0T4QAIh/iB4zj7BkjTd9gwl5\njQBYwpGl1v63UGnO/CDYmsNVLxSwI1XPb79mgSOvb7uwSBB63YTum1BAwugV\niVvkMgevyQ2EGtjDyHE+nrstDlZv0T1GvwavhGy01Tvpha8GMxjY4fUChb/z\n7q/wyw82Nxl9WMHoVijfC8+akd3ejAd4Ok3voBXkBaka83Drva+DoENDthah\nsvOuFKxmlgv6ooKxkzJ/yct1t9onLBB/lcXJgcSnA0WCAWpF2fXC1VzZ8GXr\nKXkeG0SAeBlSJ4oAarJXn4/+T0imuFin+57QRZzFNKYrYObNH/XJhttaopr0\nqRp86ZlFK+XXtrurb22N9lgBGVnWhk+LPQxruheYgWGlXIUApZ9VL33dnb0z\nr6DtlQZpY+BtqMGZ47jDpSqpMjwmr/GnrMcj5jVw7wdC51J3iIPDTu4IqJPA\nMB84Z3t57NQm915AE/M4Lzl66xUITaq6Mff5N4tW054gIsn8I4eAuWyIuyDF\nYSGQLc3Wr8wUSZUxkue8UBugcOZGUuHPCii6ihvxYS6DF8ylc+OljTPh4dx0\neLh/7QItpjvEwNNCC5WgOk3188+7yi/Sj+AP/mQduujXV/FeCyTZRrRXe37v\nrMGaJddXQgJw4sJDAscN5PA9bCl9P28t73DDzzfJ+vlJb+dNTkQWiVPSgYEh\nDTMo\r\n=wKmB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjJFeV+xoZGk+jdwaYeLa0HU39H1zSp6nSJBF5jtRaQAiEArdwXzZxyJ66fxPhw37QtilIbBbtidBtO+7lVeaL7FWg="}]},"_npmUser":{"name":"aitormm","email":"hola@rojo2.com"},"directories":{},"maintainers":[{"name":"aitormm","email":"hola@rojo2.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-cookie_1.0.9_1607527927212_0.3732138795630524"},"_hasShrinkwrap":false}},"readme":"# passport-cookie\n\n[![Build Status](https://travis-ci.org/rojo2/passport-cookie.svg?branch=master)](https://travis-ci.org/rojo2/passport-cookie)\n[![Coverage Status](https://coveralls.io/repos/github/rojo2/passport-cookie/badge.svg?branch=master)](https://coveralls.io/github/rojo2/passport-cookie?branch=master)\n\nCookie authentication strategy for [Passport](http://passportjs.org)\n\nThis module lets you authenticate HTTP requests using cookies, it only allows\nyou to recover the content of a cookie.\n\nBy plugging into Passport, bearer token support can be easily and unobtrusively\nintegrated into any application or framework that supports [Connect](http://www.senchalabs.org/connect)-style\nmiddleware, including [Express](http://expressjs.com/)..\n\n## Install\n\n```sh\n$ npm install passport-cookie\n```\n\n## Usage\n\n#### Configure Strategy\n\nThe cookie authentication strategy authenticates users using a cookie. The\nstrategy requires a verify callback, which accepts that credential and calls\ndone providing a user.\n\n```javascript\npassport.use(new CookieStrategy(\n  function(token, done) {\n    User.findByToken({ token: token }, function(err, user) {\n      if (err) { return done(err); }\n      if (!user) { return done(null, false); }\n      return done(null, user);\n    });\n  }\n));\n```\n\nYou can pass the following options to the `CookieStrategy`:\n\n    - `cookieName`: Cookie name (defaults to \"token\")\n    - `signed`: Are the cookie signed? (defaults to false)\n    - `passReqToCallback`: when `true`, `req` is the first argument to the verify callback (default: `false`)\n\n```javascript\npassport.use(new CookieStrategy({\n  cookieName: 'auth',\n  signed: true,\n  passReqToCallback: true\n}, function(req, token, done) {\n  User.findByToken({ token: token }, function(err, user) {\n    if (err) { return done(err); }\n    if (!user) { return done(null, false); }\n    return done(null, user);\n  });\n})\n```\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the 'cookie' strategy, to authenticate\nrequests. Requests containing cookies do not require session support, so the\nsession option can be set to `false`.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n```javascript\napp.get(\"/profile\",\n  passport.authenticate(\"cookie\", { session: false }),\n  function(req, res) {\n    res.json(req.user);\n  });\n```\n\n## Tests\n\n```sh\n$ npm install\n$ npm test\n```\n\n## Thanks\n\nThanks to [Jared Hanson](https://github.com/jaredhanson) for his great [Passport](http://passportjs.org)\n\n## Contributors\n\n- [AzazelN28](https://github.com/azazeln28)\n- [Jershon](https://github.com/jylopez)\n- [kai101](https://github.com/kai101)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\n## Donate\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VL264WAE64MLQ&source=url)\n\nMade with ❤ by ROJO 2 (http://rojo2.com)\n","maintainers":[{"name":"aitormm","email":"hola@rojo2.com"}],"time":{"modified":"2022-06-23T12:26:03.257Z","created":"2016-10-23T17:06:27.503Z","1.0.0":"2016-10-23T17:06:27.503Z","1.0.1":"2016-10-23T17:12:22.963Z","1.0.2":"2016-10-23T17:23:59.529Z","1.0.4":"2016-10-24T15:28:15.004Z","1.0.5":"2018-03-05T16:47:39.299Z","1.0.6":"2018-03-05T16:53:17.358Z","1.0.7":"2020-06-13T22:21:03.178Z","1.0.8":"2020-06-13T22:28:57.587Z","1.0.9":"2020-12-09T15:32:07.385Z"},"homepage":"https://github.com/rojo2/passport-cookie#readme","keywords":["passport","auth","authn","authentication","token","cookie"],"repository":{"type":"git","url":"git://github.com/rojo2/passport-cookie.git"},"author":{"name":"ROJO 2","email":"hola@rojo2.com","url":"http://rojo2.com"},"bugs":{"url":"http://github.com/rojo2.com/passport-cookie/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rojo2":true}}