{"_id":"hapi-access-token","_rev":"27-d44ea4f266d75f56de38df8965d32368","name":"hapi-access-token","description":"Simple third party access token login plugin for Hapi.","dist-tags":{"latest":"3.0.1"},"versions":{"0.0.1":{"name":"hapi-access-token","version":"0.0.1","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"license":"BSD","dependencies":{"boom":"^2.4.2","hoek":"^2.3.0","joi":"^4.6.1","nipple":"^2.5.3"},"peerDependencies":{"hapi":"3.x.x || 4.x.x || 5.x.x || 6.x.x"},"devDependencies":{"hapi":"^6.0.2","lab":"^3.2.1"},"gitHead":"7fc213d8fee91208f5346eb5d69059dfc5a71a0d","_id":"hapi-access-token@0.0.1","_shasum":"d639c43adccde290bf2562b57c7fc6dea45b3e0c","_from":"./","_npmVersion":"1.4.14","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"d639c43adccde290bf2562b57c7fc6dea45b3e0c","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-0.0.1.tgz","integrity":"sha512-jvWeZtUZu7hFKBkEzM/lYTyVp3b+UC1u5mdfuL9532MQsqDEpBPFuGY8arRDs5VQ6MxjibF5d10gM5L3Yfhogg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9/e5lGaZDwx54bjs+v7c1z9T3CdvUnH5RZ2JbegSdxAiEA/VTTJ8Tt2qe7NH3WNSKGtAgA0VAxQ6jaRjdHDBQiyPs="}]}},"0.0.2":{"name":"hapi-access-token","version":"0.0.2","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.4.2","hoek":"^2.3.0","joi":"^4.6.1","nipple":"^2.5.3"},"peerDependencies":{"hapi":"3.x.x || 4.x.x || 5.x.x || 6.x.x"},"devDependencies":{"hapi":"^6.0.2","lab":"^3.2.1"},"gitHead":"3a7173132d18b8086c03efb06001af45d1ab82c0","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@0.0.2","_shasum":"30caa23255d64784d5d7818e6683757cbc37c129","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"30caa23255d64784d5d7818e6683757cbc37c129","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-0.0.2.tgz","integrity":"sha512-nTGb1jmbMHJcXUT5vY5ormL5/oxh2sfOFFYPPF6GiWmY7ZwKy+E7R6B+6zPT3e/c9vRiI1C3mB85OZV2xZoYAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfzXUU7T1UgsMtwqVjB/o2XxapiLO5znmEgrCkONCVPAiAp5hwJrujYwS/cWYnmS2GaXpHT/WGUqw66IFHJWK5kDA=="}]}},"0.0.3":{"name":"hapi-access-token","version":"0.0.3","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.4.2","hoek":"^2.3.0","joi":"^4.6.1","nipple":"^2.5.3"},"peerDependencies":{"hapi":"3.x.x || 4.x.x || 5.x.x || 6.x.x || 7.x.x"},"devDependencies":{"hapi":"^7.0.0","lab":"^3.2.1"},"gitHead":"c8b2a2f6d3cce1afe19453fc683ec9ba31f98cfa","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@0.0.3","_shasum":"339c6a1d0a001ea586970eba55507b90fcb313fc","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"339c6a1d0a001ea586970eba55507b90fcb313fc","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-0.0.3.tgz","integrity":"sha512-TwzX884IYDzdq7Rg4bWdwh5CR3RyIWKVfR9HUky1BsGsolcL+nl8ZjEdOGKVThYh6LAGS1zXU/pPBoEpOTJ2+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICX7Vq912DQUfCmuGNkhZJVfE1K29Rb1rxL8OxzMYl70AiA36w5Ot0dgnrmTXSn7HXTupzjG8MewjrWBHWbDh4qdag=="}]}},"1.0.0":{"name":"hapi-access-token","version":"1.0.0","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"8.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0"},"gitHead":"fe7d5b6e239b187ec0f89a5f0c5e379ca34152a8","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@1.0.0","_shasum":"2d4c3420ce9e6c9452aee6d225e9e4a142745080","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"2d4c3420ce9e6c9452aee6d225e9e4a142745080","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-1.0.0.tgz","integrity":"sha512-buGaGtDMRytU1K5n6np/HvNfLSXLTNDPWMV70W4J1hvFGoZg4znsffaKzCiSpGeLl2Q8Op8i3Co09bnoCH+5oQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5xYwqort5nxqKxN3nM8C77AirYbMvTbaBpFxQcCy3GAiBGlhRRV4wV7RiaZKk9gcWft0xH8wLjxOcSLElh88HKnA=="}]}},"1.0.1":{"name":"hapi-access-token","version":"1.0.1","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"8.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0","lab":"^5.1.0"},"gitHead":"97c4aeb45faa2734f544d5691bf6d48e64b7ce53","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@1.0.1","_shasum":"30cf1b5e88d3bbf937aaa23c837a1fde05601ed0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"30cf1b5e88d3bbf937aaa23c837a1fde05601ed0","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-1.0.1.tgz","integrity":"sha512-lbBcge1nEBYVxmTjlJlP0Q7/Ykev9xSMXy2t3yYSACxxa3L2q3BWicATlSG0shDMqVAB2ZkoCSBYAqvx7vsZiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcoAGjrJWMVDwZG/rrDzWMLgxYfwACXcskmelhu/OANgIgQza6XM4KSGsB1U9j9SmxbtaP+gObKUNwM+dk8N+NVZw="}]}},"1.0.2":{"name":"hapi-access-token","version":"1.0.2","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"8.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0","lab":"^5.1.0"},"gitHead":"f571605f3806c3ca0206539c2d5477cc35b2aaf4","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@1.0.2","_shasum":"ccdb40ccbc49323c7e0c221990efe048f5b59dc3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"ccdb40ccbc49323c7e0c221990efe048f5b59dc3","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-1.0.2.tgz","integrity":"sha512-vKp4PeIT1RGavSSjpfkddT4jMFbMzXumIjy89IPTWkTVzs/ghoyxmHN29LhJYo1cWr0Ktbk3tbODfSO7nI70Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJi2Ew9ygYBjyMdVJQ105hkeKBr+1NZsbprmZq4qnIVAiEAkPuFWsUeZFiaYemtAbFOS4JnkfE85FcCO8bK9u61BYo="}]}},"1.0.3":{"name":"hapi-access-token","version":"1.0.3","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"8.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0","lab":"^5.1.0"},"gitHead":"be0cdc463f7314ba0b4c02f82482b937125e8a24","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@1.0.3","_shasum":"765d4df1bb7175693869bdcd7bde46bd297148b1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"765d4df1bb7175693869bdcd7bde46bd297148b1","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-1.0.3.tgz","integrity":"sha512-U0EmzK1zq7MlcS57h9oLClLVdS5f1IukVHlmRTsVk/v87fmR35aMFUA6ZgdnN1l634CkVXADqCue5AmdErllEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDubmUgS/0ibwoEa4iWHwsMCGlSi5J6ktUwVz6r+F9N1AIhAPs65u60uqfWcj99GFkivfaqw4T6V4L5psdpIgINyrH1"}]}},"1.0.4":{"name":"hapi-access-token","version":"1.0.4","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"8.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0","lab":"^5.1.0"},"gitHead":"60a1d3c0f1aa4da0021f4624bb921ed2abcc6959","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@1.0.4","_shasum":"9c6ea156db7d3451cd7fd6f8b9bd7a14d5d1ff6c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"9c6ea156db7d3451cd7fd6f8b9bd7a14d5d1ff6c","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-1.0.4.tgz","integrity":"sha512-r/uUXgPCCbtOWKoHqcnuJSzGtKxoIhH/jfRqIRm1QOIo14uAJWKRyPlgcx87LCn6vuzgtTz9eKTEPDF7uEdJkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDEI3iUx69irLD0QDBrEkCSwiIITV1ytlDq7k8d4Pq0AIgeW7PdeHLnIOoQA8ziZijhfzlJq8669zYUbCjTHgb59Q="}]}},"2.0.0":{"name":"hapi-access-token","version":"2.0.0","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"8.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0","lab":"^5.1.0"},"gitHead":"b0e79b85f8dca5ce1df28d583af60c1106721098","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@2.0.0","_shasum":"cc3412feae325431b33a45fbf8384e029b7ea4e7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"cc3412feae325431b33a45fbf8384e029b7ea4e7","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-2.0.0.tgz","integrity":"sha512-Jq93ioYiOCIwQwCuwdf4u3XsWAJhI7KGi+OGmQR2PTnQ442cev+B6ZBqGfosDfK3zdgaggbwlfSIJdqGl3OHSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiLa19ifxxHRSW+H+PGqg4nfij/osLpApEwQ+8jkfhuAIgbBANvGU3jxZgwbW9vHR86UTCBBegDRUVaQsDW2UO360="}]}},"3.0.0":{"name":"hapi-access-token","version":"3.0.0","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"https://github.com/yoitsro/hapi-access-token"},"license":"BSD","dependencies":{"boom":"^2.6.1","hoek":"^2.10.0","joi":"^5.0.2","wreck":"^5.0.1"},"peerDependencies":{"hapi":"13.x.x"},"devDependencies":{"code":"^1.2.1","hapi":"^8.0.0","lab":"^5.1.0"},"gitHead":"b350f2983e1b4d938457d4041732ea055afb351b","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token","_id":"hapi-access-token@3.0.0","_shasum":"693a5ecc6f36c9a55b1835f03b79fd43aa273a84","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"693a5ecc6f36c9a55b1835f03b79fd43aa273a84","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-3.0.0.tgz","integrity":"sha512-Z5JNVdB3n03CA6jUWF932oBgvF2ri34hNxahQ4p2eM8r8SWNCy+r5s97lknA/0qVNch88uzzueRpbjhHfvZi2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTWHVGE8LcGPKvtxFWuZ/Gq279jnJJVUrCEcEjz+IeTQIgFEihpgU1N9qyiAsKWTmccD6A0Bx2Pb2G51VlEBvA6Wc="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hapi-access-token-3.0.0.tgz_1467193050086_0.10148116666823626"}},"3.0.1":{"name":"hapi-access-token","version":"3.0.1","description":"Simple third party access token login plugin for Hapi.","main":"index.js","scripts":{"test":"lab"},"author":{"name":"Ro Ramtohul"},"repository":{"type":"git","url":"git+https://github.com/yoitsro/hapi-access-token.git"},"license":"BSD","dependencies":{"boom":"^2.10.1","hoek":"^2.16.3","joi":"^5.1.0","wreck":"^5.6.1"},"peerDependencies":{"hapi":"13.x.x"},"devDependencies":{"code":"^3.0.1","hapi":"^13.4.1","lab":"^10.8.2"},"engines":{"node":">4.0.0"},"gitHead":"2c69d9ab8c753df99646108f3583fd2e5fb1dad6","bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"homepage":"https://github.com/yoitsro/hapi-access-token#readme","_id":"hapi-access-token@3.0.1","_shasum":"a0795043646954bf45b0914de3ecb2bb9886e401","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"yoitsro","email":"ro@mallzee.com"},"maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"dist":{"shasum":"a0795043646954bf45b0914de3ecb2bb9886e401","tarball":"https://registry.npmjs.org/hapi-access-token/-/hapi-access-token-3.0.1.tgz","integrity":"sha512-F6Elmnb3TWvgnSGzCJeI7pj+4DY+VQjhIDnflKVmaJeMcj90RZIOtKAcNwJ59cx5W+eBMej9gdJZddHX0kAkTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxfBowY7BCZPhFvUyZLKi7x9scUlQG3Qwip2pTr9OlvAiEAsUODmtDmFCRMg2Xa5Kum6FGIF4G9rQm89rFhI+Al2K4="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hapi-access-token-3.0.1.tgz_1467197956104_0.2563149849884212"}}},"readme":"### **hapi-access-token**\n\n**hapi-access-token** is a third-party login plugin for [hapi](https://github.com/spumko/hapi). **hapi-access-token** comes with default support for Facebook. This was built with mobile apps in mind: mobile apps generally authenticate themselves with the installed app, and they simply receive an access token for future requests on the user's behalf. \n\n[![Build Status](https://secure.travis-ci.org/yoitsro/hapi-access-token.png)](http://travis-ci.org/yoitsro/hapi-access-token)\n\n### Usage\n\nAdd a login endpoint and set it to use the **hapi-access-token** authentication strategy. \n\n**hapi-access-token** does not maintain a session. Once the handler is called, the application must set its own session management.\n\n```javascript\nvar Hapi = require('hapi');\nvar Boom = require('boom');\nvar server = new Hapi.Server(8000);\n\n// Register hapi-access-token with the server\nserver.register(require('hapi-access-token'), function (err) {\n\n    // Declare an authentication strategy using the hapi-access-token scheme\n    server.auth.strategy('facebook-access-token', 'access-token', {\n        accessTokenKeyName: 'access_token', // The query parameter key you'll be specifying the access token in,\n        profileUrl: 'https://graph.facebook.com/me?access_token=', // The url to get the user's profile,\n        validateFunc: function(payload, accessToken, reply) { // The function which will extract the user profile and set it as the request's credentials\n            try {\n                var profile = JSON.parse(payload);\n                var credentials = {};\n                credentials.token = accessToken;\n                credentials.profile = {\n                    id: profile.id,\n                    username: profile.username,\n                    displayName: profile.name,\n                    name: {\n                        first: profile.first_name,\n                        last: profile.last_name,\n                        middle: profile.middle_name\n                    },\n                    email: profile.email,\n                    raw: profile\n                };\n        \n                return reply.continue(null, {credentials: credentials});\n            } catch(err) {\n                return reply(Boom.unauthorized(err.toString()));\n            }\n        }\n    });\n\n    server.route({\n        method: ['GET'],\n        path: '/login',   // The callback endpoint registered with the provider\n        config: {\n            auth: 'facebook-access-token',\n            handler: function (request, reply) {\n\n                // Perform any account lookup or registration, setup local session,\n                // and redirect to the application. The third-party credentials are\n                // stored in request.auth.credentials. Any query parameters from\n                // the initial request are passed back via request.auth.credentials.query.\n                return reply.redirect('/home');\n            }\n        }\n    });\n\n    server.start();\n});\n```\n\n### Options\n\nThe `server.auth.strategy()` method requires the following strategy options:\n- `accessTokenKeyName` - The query parameter key you'll be specifying the access token in.\n- `profileUrl` - The URL where the user account can be found\n- `validateFunc` - The function which will parse out the user's profile with the parameters:\n  - `payload` - The response payload from the `profileUrl`\n  - `accessToken` - The original access token used for this request\n  - `reply` - A Hapi authorization callback with any errors as the first parameter and the `request.auth` object as the second parameter\n","maintainers":[{"name":"yoitsro","email":"ro@mallzee.com"}],"time":{"modified":"2022-06-18T19:00:00.227Z","created":"2014-06-30T11:39:11.626Z","0.0.1":"2014-06-30T11:39:11.626Z","0.0.2":"2014-07-14T16:13:48.891Z","0.0.3":"2014-11-02T21:12:02.540Z","1.0.0":"2014-12-12T15:38:49.092Z","1.0.1":"2014-12-12T15:51:38.216Z","1.0.2":"2014-12-17T15:09:28.762Z","1.0.3":"2014-12-19T11:09:17.598Z","1.0.4":"2015-03-06T13:14:33.553Z","2.0.0":"2015-03-06T19:40:23.620Z","3.0.0":"2016-06-29T09:37:32.097Z","3.0.1":"2016-06-29T10:59:18.444Z"},"author":{"name":"Ro Ramtohul"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/yoitsro/hapi-access-token#readme","repository":{"type":"git","url":"git+https://github.com/yoitsro/hapi-access-token.git"},"bugs":{"url":"https://github.com/yoitsro/hapi-access-token/issues"},"users":{"akashgupta":true,"vwal":true,"bitsonic":true}}