{"_id":"passport-vkontakte","_rev":"31-237bbc2839ecdafae6b9400e3297f6e2","name":"passport-vkontakte","description":"VK.com authentication strategy for Passport.","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"passport-vkontakte","version":"0.1.0","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth":"~0.1.2"},"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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"_id":"passport-vkontakte@0.1.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"d156a54f3db76d35c2065ead5071f304af8d8150","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.1.0.tgz","integrity":"sha512-qVRaEmY2cDTTJMWmSyPzYevu36Cnqqpr8rOJ/VVr8Iy55e6au5nx2O68qQWh4VwOwzi3bPFrDqYM3DFsCUOQgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClBzGxIuFXZhJxn4KhgtzACpyBnSZcZzQPBIwe0qz9WgIgQv7TRN1jVcVsl0awHJkd6i2LKWmmjDsSTl1SEL5XcU8="}]},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{}},"0.1.4":{"name":"passport-vkontakte","version":"0.1.4","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth":"~0.1.2"},"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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"_id":"passport-vkontakte@0.1.4","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"1c472d2e59fdc41633b587666e7cdb7abaee7e6a","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.1.4.tgz","integrity":"sha512-9byW7rZaaXknCegYBB8TKWjtYrYY7jXzgXmF6FMFdJU17uDCcuaCEfDBzsV8HfMF3J7axsCfJ2IghdSVxXakPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGU+P6149yX44NojmOyFwighASOLN0gekLwzH9v8tMN3AiBcZuSYU+drl01gR1qA1oz744j0hte+BqWHfZXCTPFctQ=="}]},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{}},"0.1.5":{"name":"passport-vkontakte","version":"0.1.5","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth":"~0.1.2"},"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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"_id":"passport-vkontakte@0.1.5","dist":{"shasum":"5703adddbbaaf95992c69d12fb94f8cb3f290bc9","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.1.5.tgz","integrity":"sha512-uWiDtg/W2W2cQLOzbXgiKrK4qNoMA1GTKIZ5cJ7bZq859pCSLKKI8lGpeAibXERnInWO1xnSAJnmk2UuxJcd7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFxIXizHfPxgkv7KUKgWjnyruf96decxRRo3xH4FWcngIhAPGZMgX7Dx7eO/XoCDBOIHnZyzYHEZb6ILwEifAltSUr"}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{}},"0.2.0":{"name":"passport-vkontakte","version":"0.2.0","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"~1.1.1"},"devDependencies":{"vows":"0.7.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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"_id":"passport-vkontakte@0.2.0","dist":{"shasum":"ad7e2168906418194a79f11f986a1252df57c371","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.2.0.tgz","integrity":"sha512-Ayynhq5ChHiz02GK1i8LeZQysnqJ5B37LJ98Jdrcga1rq1Xgj2GVjkPVM5B0WU4+TkioLRPDXRcCQHishoUBkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeptcTVMWYWnb41JLJlJ8xEW8jJAo4FRAT46z6OT3MJAIhAPWmKuup5MKEMY8qmCL7zMX+Brvlx4zWzFrT0+Uzgqd9"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{}},"0.2.1":{"name":"passport-vkontakte","version":"0.2.1","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"~1.1.1"},"devDependencies":{"vows":"0.7.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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"_id":"passport-vkontakte@0.2.1","dist":{"shasum":"137713848ab0ff049f165a69bade8187a0fd21ef","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.2.1.tgz","integrity":"sha512-0nFhrBMW0nU/Ig6F9+L10rYIUcebFsxMTHMBOi0lBv2+/epWc7OAKh7vXzLeK4iFYcuqN7IHZrBssE1LmwU3bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/wszmmhA5QhyuKzE8+pR3wveUxPNUKr69e8d8/jJh0AiEA9M/Ztv0I/OjJ6ZoVi+r/gJje8OarmlDfy6SJoZFHRSw="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{}},"0.3.0":{"name":"passport-vkontakte","version":"0.3.0","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"~1.1.1"},"devDependencies":{"vows":"0.7.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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"homepage":"https://github.com/stevebest/passport-vkontakte","_id":"passport-vkontakte@0.3.0","dist":{"shasum":"dcd98459280532a5827396bfca1d2a5f36e7561c","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.3.0.tgz","integrity":"sha512-cZcOv20lj/n0T87WqnkeHB10gd9Sbsjb3XYvs6Gf/e7EuVLJaGCl90zndgRcyvWqAMb/KvN9Rvj32qDmQXnvRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcSFEkGEmkk44o7SPGdfP6tbDoRzl4eNGEUc2LOD7XxAiEA04hUOsgejE8rVBuiPvly75/xPOWIXW11NPAx8Cfe2fc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{}},"0.4.0":{"name":"passport-vkontakte","version":"0.4.0","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"~1.1.1"},"devDependencies":{"vows":"0.7.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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"gitHead":"3b1ea20e09631cc30eac933aa21cda2d313ae542","homepage":"https://github.com/stevebest/passport-vkontakte#readme","_id":"passport-vkontakte@0.4.0","_shasum":"a189da9e030f7eb7ee285a914ffbf9feb9cfaa36","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"dist":{"shasum":"a189da9e030f7eb7ee285a914ffbf9feb9cfaa36","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.4.0.tgz","integrity":"sha512-vaaVbhb7Y/TUn9/AhPjlvO7dc/HcuiarcRHIHeCJ9Pn2A3STiNQjcAGvOcGejcYm3fOnSKORpVrNxr4ndXZ/xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZiRg7HWCIBOQBC3Lv0f1eBcdhTv+MjGdsUyoBWHX3zQIgezPEOUUUQ+NwmAi28BK6ooGRdSz4+sy9/0hwaG+Szwo="}]},"directories":{}},"0.3.1":{"name":"passport-vkontakte","version":"0.3.1","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.3.x"},"devDependencies":{"vows":"0.7.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","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"gitHead":"d0cf2eb9332f80a053f6605ee606322103750228","homepage":"https://github.com/stevebest/passport-vkontakte#readme","_id":"passport-vkontakte@0.3.1","_shasum":"478f28d0a5051c0af5300d22effa408210396519","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"dist":{"shasum":"478f28d0a5051c0af5300d22effa408210396519","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.3.1.tgz","integrity":"sha512-25wU9U3tyyj+2Po9obs6BD+dIp0c8t6iVWsL2I3thHWxJ5jvLbP5+0LpYQcYteQJ22km/DoCKRW6XwRgxNeShg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8fa8vJNibop4ti4njfFNGsd3RpkjUirWO37fsD+xshgIgCkuiyGKfBDyPEoE74u1TqHNzvaiyBas19DMyWEA7C+w="}]},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/passport-vkontakte-0.3.1.tgz_1464848504719_0.9317861809395254"},"directories":{}},"0.3.2":{"name":"passport-vkontakte","version":"0.3.2","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/passport-vkontakte","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.3.x"},"devDependencies":{"vows":"0.7.x"},"scripts":{"test":"NODE_PATH=lib `npm bin`/vows test/*-test.js"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"keywords":["passport","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"gitHead":"8d4a88ebec5ad43e757df978b549b0de7f519917","homepage":"https://github.com/stevebest/passport-vkontakte#readme","_id":"passport-vkontakte@0.3.2","_shasum":"a2a75af96466936b375fca958fd57bc10e1fea92","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"dist":{"shasum":"a2a75af96466936b375fca958fd57bc10e1fea92","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.3.2.tgz","integrity":"sha512-Co/2PJXKAyLchKcNw0qn2ZzyphORhOAMX1jDdeNrbw6cLm/OAMVFOxv/NOyEYLAKCZnqKe+poLkaZa/pgmD+7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9fsfddHXR+KcoJG9Lqn3ZkxTcrzjSov3/rUHkcMgOLwIhAMx8jMyJscRCmB/syUkVCp2MLygA/EY9kNgMLuLeBssg"}]},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/passport-vkontakte-0.3.2.tgz_1470382416520_0.12596659129485488"},"directories":{}},"0.3.3":{"name":"passport-vkontakte","version":"0.3.3","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/index.js","dependencies":{"pkginfo":"^0.4.0","passport-oauth2":"^1.3.0"},"devDependencies":{"vows":"^0.7.0"},"scripts":{"test":"vows test/*-test.js"},"engines":{"node":">= 0.4.0"},"license":"MIT","keywords":["passport","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"gitHead":"0d7c1b8156778047ccbbbe53b99579c67aebae10","homepage":"https://github.com/stevebest/passport-vkontakte#readme","_id":"passport-vkontakte@0.3.3","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"dist":{"integrity":"sha512-toj5PIjwwtXiQVJDNXXSN+fPm9no/r23UjGbFabDocZmYbmAD8qUm76h7MICkYEoEW4Akke5W+9QodIGQwo2Ug==","shasum":"ed558e2e8a6ab83a79f0239c979d0569a1c68066","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.3.3.tgz","fileCount":10,"unpackedSize":19088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8CyLCRA9TVsSAnZWagAAN2wQAInVKOXvCUDub+A46r/m\notoKt9ReETkiJecnEIgS+3S6vUF1sjZUz0uuA99DdWT/JZ5AqjCJMHJhYbyE\npu74mc/8mn+RMMLhNq8hezgpSXASO1IIshZDFPUav80F1LajMxqYelGUC3Xh\nOKFH3tONF3GF652z62TBwsQbq/bc8reID9squZY7CXMuNDvykVW7MRNe9oHj\nrsDpI1e0utNITp695ltyG1kQu5IV1NQtcki0+xx8xFOBgb+LuqkB1INgd/4+\nUzAnyxP0qOpUkWY1Mhej4FzYsxaTVWwSqdRb34kk7wHXUXNEqGdCttfS+XDx\nSCvjwMeFjETfXofsV0xMMHRqSWLhOlBgcgVyCKuHUe39nesoOQ4zAEvSdE6J\ntmaodobqcd8drPcdeO7Y7IEgiVVDfeSmrHMC7hBwsCAfLYWpRx/8O26mRCrZ\naasPCbPh9kPq/8/wlSpgmkfCHo1dU9uc6Px/4B2VFr1MD6FJi3F9cPyawnQ3\nSzU/jh+sv3EKtN/uTyn0vQytFpI5Tj30AAMTMC2cK3Qij6l5zs1ZU8k680TR\nuoHtsDCgCgoW535D/McDnSA2Bj8x4ResK1MgZmhGKhOoAYm3iz8NFOgvx/EP\nyVnywbw4U/M0QCo8au4ZKXSyCJJ6rK6Zj94tcCzqPVoStR22DBM/ynnocc8P\npwdn\r\n=e9Q1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKIKF2BkQNsKSfgRmkktwZETXoHR7qzDNIUOk/Jp/NhAiBiYifajaOYHeUJf5tFkTZa3H157hKtIW9ee5d+7EZt7A=="}]},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-vkontakte_0.3.3_1592798347432_0.2015833764261814"},"_hasShrinkwrap":false},"0.5.0":{"name":"passport-vkontakte","version":"0.5.0","description":"VK.com authentication strategy for Passport.","author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"main":"./lib/index.js","dependencies":{"pkginfo":"^0.4.0","passport-oauth2":"^1.3.0"},"devDependencies":{"vows":"^0.7.0"},"scripts":{"test":"vows test/*-test.js"},"engines":{"node":">= 0.4.0"},"license":"MIT","keywords":["passport","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"gitHead":"dd5dacb06eaffaf69f115d3dc1c75da3f062151b","homepage":"https://github.com/stevebest/passport-vkontakte#readme","_id":"passport-vkontakte@0.5.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-9VgT2sJdlbpl6GHn12fXLE2rw1nWh5v6xWp/D6nB+/EB4yA+LtiKWttCEDc5IpSDTdRzZlS9pahkNQuu43N4oQ==","shasum":"6cf5e661d9498e1c342e07aab2fcaa3725603da8","tarball":"https://registry.npmjs.org/passport-vkontakte/-/passport-vkontakte-0.5.0.tgz","fileCount":10,"unpackedSize":23141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfg99UCRA9TVsSAnZWagAAbPAP/3BlXkH/gSCN5bAedGpS\n/EpLUkplBZtSGF1n2oGya4O/fbRYpq/LBDDRcX8lkA7S4xWeVwSZ8gtDI19G\n69OBUZGmdKgJv93TMClkhyeKFLA5F3K1J15uIv1Pa/y+BA8tl1ojluadWCFR\na5eVfNESrF+LuP1Bq6aNwXwM5BsP6KHaocI5nYsHpfwo5VJVPXr/zPJbQDCP\nmHU+VahFI1czuOwzw6Hc+hXQGLELqwXo7HfYFUMVURSNdzkbn2dyESUDkvCW\nmMcEazytCnPx4lQy5ydy4nuvkVTYpVx+9n6gEZaZ6X7PU7RoeR7/I6mCgffQ\nkrLw6O7QoxUKKYqvV0Z3nO4wXHTt62y++Y7hr8kldQsjfRxtVWCDy7rn4M/U\nnWxbdOzQ8xouoiNHPdegvnBr/LAJo9rJN+rFTu+50RVbNkT68+3JLJemzib+\n6kzTYX94sagZACKOjHBEnFTX+B3C0m+DXI5NoEq8wGp4CB2xjHpfNqqlc3Yn\npRl5bIa9zjnd/nlE97C68iXtdkzo0yClHA4t4g3zRhVnTNCv+KPp4BeCzt4h\nkRkDGl5KR4cNPCx9Hh2xU2XiiPiNESRouormhrCI97h7VYk2PB/IqpT0J/CY\nt8Gon+pn1DmDumFwpOOXhJEXNMYlcvINT033S9iFNSs30Y1Z7Zd8EPsh1Vm0\n2kYz\r\n=IeXG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2Ii9590UKyf4AnQCZac5a03CSaY4nOvzGiCKUxjDSGAIgV9SbkaUiHr4eMIgAmqvmC4rBtWQgmFb9cZOxmlv0IvU="}]},"maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"_npmUser":{"name":"stevebest","email":"stepan.stolyarov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-vkontakte_0.5.0_1602477907845_0.6453897488595617"},"_hasShrinkwrap":false}},"readme":"# Passport-VKontakte\n\n[![Build Status](https://secure.travis-ci.org/stevebest/passport-vkontakte.png)][travis-build-status]\n\n[Passport][passport-js] strategy for authenticating with [VK][vk] using the OAuth 2.0 API.\n\nThis module lets you authenticate using VK in your Node.js applications.\nBy plugging into Passport, VK authentication can be easily and\nunobtrusively integrated into any application or framework that supports\n[Connect][connect]-style middleware, including [Express][express].\n\n## Installation\n\n    $ npm install passport-vkontakte\n\n## Usage\n\n### Configure Strategy\n\nUsing this strategy, you can authenticate users who have a VK account and\naccess their data, given their access permission.\n\nIn order to be used, a strategy must be configured with two parameters.\n\n```javascript\nimport Strategy as VKStrategy from \"passport-vkontakte\";\npassport.use(new VKStrategy(options, verify));\n```\n\n| Parameter | Type     | Desciption                       |\n| --------- | -------- | -------------------------------- |\n| `options` | object   | App credentials and callback URL |\n| `verify`  | function | Strategy verification callback   |\n\n#### Strategy options\n\nThe `options` objects provides the strategy with the information it needs to\nrepresent your app to VK API. It includes your app credentials (application id\nand secret), as well as the callback URL to which the user will be redirected\nafter they complete the authentication process.\n\n| Field           | Type       | Description                                                     |\n| --------------- | ---------- | --------------------------------------------------------------- |\n| `clientID`      | **string** | Your app's client id                                            |\n| `clientSecret`  | **string** | Your app's secret                                               |\n| `callbackURL`   | **string** | The full URL to your authentication completion handler          |\n| `profileFields` | array      | A list of profile fields                                        |\n| `apiVersion`    | string     | The version of VK API implementation                            |\n| `lang`          | string     | The language which should be used to represent the profile data |\n\n#### Strategy `verify` callback\n\nA `verify` callback function is called after resource owner (the user) has\naccepted or declined the authorization request. In the example below, this\nfunction is called `myVerifyCallbackFn`.\n\nIt can have one of four signatures:\n\n```javascript\nfunction(accessToken, refreshToken, profile, done) {}\nfunction(accessToken, refreshToken, params, profile, done) {}\nfunction(req, accessToken, refreshToken, params, profile, done) {}\n```\n\n| Parameter      | Type     | Description                                  |\n| -------------- | -------- | -------------------------------------------- |\n| `req`          | object   |                                              |\n| `accessToken`  | string   | [OAuth2 access token][oauth2-access-token]   |\n| `refreshToken` | string   | [OAuth2 refresh token][oauth2-refresh-token] |\n| `params`       | object   |                                              |\n| `profile`      | object   | User profile                                 |\n| `done`         | function | \"Done\" callback                              |\n\nThe `verify` function can use the `profile` and `params` fields to find, create\nor update any kind of information that corresponds to now authenticated user.\n\nAfter the user has been successfully authenticated, the `done` function should\nbe called, to supply Passport with the `user` data as seen by the application.\n\n```javascript\nreturn done(null, user);\n```\n\nIn case of authentication error, `false` should be supplied instead.\n\n```javascript\nreturn done(null, false);\n```\n\nAdditional `info` object can be provided to indicate the reason for failure.\n\n```javascript\nreturn done(null, false, { message: \"User account is suspended\" });\n```\n\nFor transient errors, pass the error object as the first parameter.\n\n```javascript\nreturn done(new Error(\"User database is not available, try later\"));\n```\n\n```javascript\nconst VKontakteStrategy = require(\"passport-vkontakte\").Strategy;\n\n// User session support middlewares. Your exact suite might vary depending on your app's needs.\napp.use(require(\"cookie-parser\")());\napp.use(require(\"body-parser\").urlencoded({ extended: true }));\napp.use(\n    require(\"express-session\")({\n        secret: \"keyboard cat\",\n        resave: true,\n        saveUninitialized: true,\n    })\n);\napp.use(passport.initialize());\napp.use(passport.session());\n\npassport.use(\n    new VKontakteStrategy(\n        {\n            clientID: VKONTAKTE_APP_ID, // VK.com docs call it 'API ID', 'app_id', 'api_id', 'client_id' or 'apiId'\n            clientSecret: VKONTAKTE_APP_SECRET,\n            callbackURL: \"http://localhost:3000/auth/vkontakte/callback\",\n        },\n        function myVerifyCallbackFn(\n            accessToken,\n            refreshToken,\n            params,\n            profile,\n            done\n        ) {\n            // Now that we have user's `profile` as seen by VK, we can\n            // use it to find corresponding database records on our side.\n            // Also we have user's `params` that contains email address (if set in\n            // scope), token lifetime, etc.\n            // Here, we have a hypothetical `User` class which does what it says.\n            User.findOrCreate({ vkontakteId: profile.id })\n                .then(function (user) {\n                    done(null, user);\n                })\n                .catch(done);\n        }\n    )\n);\n\n// User session support for our hypothetical `user` objects.\npassport.serializeUser(function (user, done) {\n    done(null, user.id);\n});\n\npassport.deserializeUser(function (id, done) {\n    User.findById(id)\n        .then(function (user) {\n            done(null, user);\n        })\n        .catch(done);\n});\n```\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'vkontakte'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n```javascript\n//This function will pass callback, scope and request new token\napp.get(\"/auth/vkontakte\", passport.authenticate(\"vkontakte\"));\n\napp.get(\n    \"/auth/vkontakte/callback\",\n    passport.authenticate(\"vkontakte\", {\n        successRedirect: \"/\",\n        failureRedirect: \"/login\",\n    })\n);\n\napp.get(\"/\", function (req, res) {\n    //Here you have an access to req.user\n    res.json(req.user);\n});\n```\n\n##### Display Mode\n\nSet `display` in `passport.authenticate()` options to specify display\nmode. Refer to the [OAuth dialog\ndocumentation](http://vk.com/dev/auth_mobile)\nfor information on its usage.\n\n```javascript\napp.get(\n    \"/auth/vkontakte\",\n    passport.authenticate(\"vkontakte\", { display: \"mobile\" }),\n    function (req, res) {\n        // ...\n    }\n);\n```\n\n#### Extended Permissions\n\nIf you need extended permissions from the user, the permissions can be requested\nvia the `scope` option to `passport.authenticate()`.\n\nFor example, this authorization requests permission to the user's friends:\n\n```javascript\napp.get(\n    \"/auth/vkontakte\",\n    passport.authenticate(\"vkontakte\", {\n        scope: [\"status\", \"email\", \"friends\", \"notify\"],\n    }),\n    function (req, res) {\n        // The request will be redirected to vk.com for authentication, with\n        // extended permissions.\n    }\n);\n```\n\n#### Profile Fields\n\nThe VK.com profile may contain a lot of information. The\nstrategy can be configured with a `profileFields` parameter which specifies a\nlist of additional fields your application needs. For example, to fetch users's `city` and `bdate` configure strategy like this.\n\nNotice that requesting the user's email address requires an `email` access\nscope, which you should explicitly list as in following example:\n\n```javascript\npassport.use(\n    new VKontakteStrategy(\n        {\n            ...{ clientID, clientSecret, callbackURL },\n            scope: [\"email\" /* ... and others, if needed */],\n            profileFields: [\"email\", \"city\", \"bdate\"],\n        },\n        myVerifyCallbackFn\n    )\n);\n```\n\n#### Profile fields language\n\nBy default, profile fields such as name are returned in English. The strategy can be\nconfigured with a `lang` parameter which specifies language of value returned.\n\nFor example, this would configure the strategy to return name in Russian:\n\n```javascript\npassport.use(\n    new VkontakteStrategy(\n        {\n            ...{ clientID, clientSecret, callbackURL },\n            lang: \"ru\",\n        },\n        myVerifyCallbackFn\n    )\n);\n```\n\n#### API version\n\nThe VK.com profile structure can differ from one API version to another. The specific version to use can be configured with a `apiVersion` parameter. The default is `5.110`.\n\n```javascript\npassport.use(\n    new VKontakteStrategy(\n        {\n            ...{ clientID, clientSecret, callbackURL },\n            apiVersion: \"5.17\",\n        },\n        myVerifyCallbackFn\n    )\n);\n```\n\n## Tests\n\n    $ npm install --dev\n    $ make test\n\n## Credits\n\n-   [Jared Hanson](http://github.com/jaredhanson)\n-   [Stepan Stolyarov](http://github.com/stevebest)\n\n## Special Thanks\n\nTo all the people who had to cope with idiosyncrasies of OAuth2 and VK API!\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2011 Jared Hanson\n\nCopyright (c) 2012, 2016 Stepan Stolyarov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[passport-js]: http://passportjs.org/\n[vk]: https://www.vk.com/\n[connect]: http://www.senchalabs.org/connect/\n[express]: http://expressjs.com/\n[travis-build-status]: http://travis-ci.org/stevebest/passport-vkontakte\n[oauth2-access-token]: https://tools.ietf.org/html/rfc6749#section-1.4\n[oauth2-refresh-token]: https://tools.ietf.org/html/rfc6749#section-1.5\n","maintainers":[{"name":"stevebest","email":"stepan.stolyarov@gmail.com"}],"time":{"modified":"2022-06-23T13:44:04.637Z","created":"2012-05-24T10:28:30.839Z","0.1.0":"2012-05-24T10:28:33.255Z","0.1.4":"2012-06-20T10:17:30.127Z","0.1.5":"2013-06-04T05:26:46.255Z","0.1.6":"2013-10-08T11:18:14.209Z","0.2.0":"2013-10-08T11:28:19.209Z","0.2.1":"2013-10-08T11:59:30.599Z","0.3.0":"2014-09-10T11:12:13.188Z","0.4.0":"2015-05-07T08:36:22.592Z","0.3.1":"2016-06-02T06:21:45.991Z","0.3.2":"2016-08-05T07:33:38.139Z","0.3.3":"2020-06-22T03:59:07.599Z","0.5.0":"2020-10-12T04:45:07.982Z"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/stevebest/passport-vkontakte.git"},"users":{"vegera":true,"davidhalldor":true,"alcovegan":true,"mnk":true,"sopov":true,"fmakareev":true},"homepage":"https://github.com/stevebest/passport-vkontakte#readme","keywords":["passport","vkontakte","vk","вконтакте","auth","authn","authentication","identity"],"contributors":[{"name":"Stepan Stolyarov","email":"stepan.stolyarov@gmail.com"}],"bugs":{"url":"http://github.com/stevebest/passport-vkontakte/issues"},"readmeFilename":"README.md","license":"MIT"}