{"_id":"catberry-oauth2-client","_rev":"40-3cb8ef38c432ba34bf092d31da81fda3","name":"catberry-oauth2-client","description":"OAuth 2.0 Client Plugin for Catberry Framework","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"catberry-oauth2-client","version":"1.0.0","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework 2.0","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"dependencies":{"catberry-uri":"^1.2.1"},"devDependencies":{"istanbul-harmony":"~0.3.0","coveralls":"^2.11.1","catberry-locator":"^1.0.0","promise":"^6.0.0","express":"^4.0.0","mocha":"^1.0.0","jscs":"^1.6.0","jshint":"^2.5.0"},"engines":{"node":"~0.10.26"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"d4e6ffa21896133d4852388c1edb045a28e77fb6","_id":"catberry-oauth2-client@1.0.0","_shasum":"5041f3b2ebe974e5d7342bfe0ace2ccb3e269a93","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"5041f3b2ebe974e5d7342bfe0ace2ccb3e269a93","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-1.0.0.tgz","integrity":"sha512-Rc9hGixVpwMg0BlkQ6AwWRjHDtCz0ZQQUztHvLtudS5S9zT355RtNVuwwWc0iOUIoEOfExzFZyx6/b5jZ2SFrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvW2fvPZOah2X7wg9esXGGznoF7bwQTMG2tyD50z0fPgIhAMavGJj0JhIeaiT6ADEAbVGjMlMZ79qZpzf7qUdjRCJp"}]},"directories":{}},"1.1.0":{"name":"catberry-oauth2-client","version":"1.1.0","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"dependencies":{"catberry-uri":"^1.2.1"},"devDependencies":{"istanbul-harmony":"~0.3.0","coveralls":"^2.11.1","catberry-locator":"^1.0.0","promise":"^6.0.0","express":"^4.0.0","mocha":"^1.0.0","jscs":"^1.6.0","jshint":"^2.5.0"},"engines":{"node":"~0.10.26"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"dd09b0d82e23d4452ad8f56e5e790affb642a717","_id":"catberry-oauth2-client@1.1.0","_shasum":"a628eba743e2967aa67de883eb769b5800f3f0e3","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"a628eba743e2967aa67de883eb769b5800f3f0e3","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-1.1.0.tgz","integrity":"sha512-UDCGiSGiQgiNjepw07VnN77zwPQ59m3vkKi1lGi4LnTkanXZI/1ao3xkwIyXzWx3Hkzh5dQk1iHxkBII/in6+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArjrMmpPoig67zsijEK26G6/XRzjKhFKe4lLlrVAMjgAiBRq711+njsWzj3mRZI+d8yefKjgqCdsAB9HK0RhroU5A=="}]},"directories":{}},"1.1.1":{"name":"catberry-oauth2-client","version":"1.1.1","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"dependencies":{"catberry-uri":"^1.2.1"},"devDependencies":{"istanbul-harmony":"~0.3.1","coveralls":"^2.11.2","catberry-locator":"^1.1.2","promise":"^6.1.0","express":"^4.11.2","mocha":"^2.1.0","jscs":"~1.6.2","jshint":"^2.6.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"7aa7fe663e0b445f4d5983a8056bc1cd4275936e","_id":"catberry-oauth2-client@1.1.1","_shasum":"265336e6903db84b69a7089afb2841cdf1a46a5a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"265336e6903db84b69a7089afb2841cdf1a46a5a","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-1.1.1.tgz","integrity":"sha512-F0Lxof0dPVGFa/YwDNfPT1zJ4ipBWBzVBPtp7/zpvWNVGPLwmhWIyAHLRqKROaGGmvKvyjrtw9fd9ac2QndaTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF1kZMwmxJrOmILo0ao/luJomnC3ExqbMN2uHBFofOnwIgI/Awf3rfUeCl2CNIeX9jETpKrco8WLNZFkpYY4gyHMs="}]},"directories":{}},"2.0.4":{"name":"catberry-oauth2-client","version":"2.0.4","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0"},"dependencies":{"catberry-uri":"^2.1.0"},"devDependencies":{"istanbul-harmony":"~0.3.1","coveralls":"^2.11.2","catberry-locator":"^1.1.2","promise":"^6.1.0","express":"^4.11.2","mocha":"^2.1.0","jscs":"~1.6.2","jshint":"^2.6.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"21aa7b0d7e4c842fef2a82863035246a8cc7a956","_id":"catberry-oauth2-client@2.0.4","_shasum":"459a9c77ffab4578d342e2dfcc0d14de9a9e72b4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"459a9c77ffab4578d342e2dfcc0d14de9a9e72b4","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.4.tgz","integrity":"sha512-K6TTxfIJ4MKHbveTOm8rsp4+GTwBFdNwkoBVlp9EM/fD4hWEHvEfIjXuw7X2Qe3FzzvTQdziSM5yr3YI59xNKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeuTBmcp4JhupDX4x/KcWNAHajWcrL2sW1fDO9TvAAwAIhAL++Uo8Ru7zIY8A3OvIBlbuxaQ1rg0EsHe1A8VdsuBqq"}]},"directories":{}},"2.0.5":{"name":"catberry-oauth2-client","version":"2.0.5","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0 || ^5.0.0"},"dependencies":{"catberry-uri":"^2.1.0"},"devDependencies":{"istanbul-harmony":"~0.3.12","coveralls":"^2.11.2","catberry-locator":"^1.1.4","promise":"^7.0.1","express":"^4.11.2","mocha":"^2.2.4","jscs":"~1.6.2","jshint":"^2.6.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"ca5a35e64c62a89fea59860cddb9c2a17af6a0d9","_id":"catberry-oauth2-client@2.0.5","_shasum":"6fde291903f12fff86fb28137529eb137fbe1336","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"6fde291903f12fff86fb28137529eb137fbe1336","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.5.tgz","integrity":"sha512-1ped8ruCZ1YkhUeQET8ESdjPUQic4MXpvtVZv9k4oA2psEmuWhkNZ+speQ5S1xxrWtQm7hboxPHzkF48+yZIOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNMlNbFw8cGOIj+//zu8Zwb7YpLQa4asschyZks7Bc1AIgXowdmvhW3hUZwebUG/Qvu3gCXsarcyr7C6s4MwS4rYQ="}]},"directories":{}},"2.0.6":{"name":"catberry-oauth2-client","version":"2.0.6","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0 || ^5.0.0"},"dependencies":{"catberry-uri":"^2.1.0"},"devDependencies":{"istanbul-harmony":"~0.3.12","coveralls":"^2.11.2","catberry-locator":"^1.1.4","promise":"^7.0.1","express":"^4.11.2","mocha":"^2.2.4","jscs":"~1.6.2","jshint":"^2.6.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"44ff283508210672147012be45884875b9fee4a7","_id":"catberry-oauth2-client@2.0.6","_shasum":"132e63ffe031f8900fc3ef962a09c81999b60c8f","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"132e63ffe031f8900fc3ef962a09c81999b60c8f","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.6.tgz","integrity":"sha512-iGR5QXZcRnSppBNhY5+s0NBeyawX2F4KN2djFHnAZH9+rPFKWN88j28+CgX17Q04k+VfLLYTZyy4ZynKFX+I5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF9bgpnkkwt8noxcCVTBk2EnG8ff8UpeEeJUFMUT6IWAIhAI2pDLiU7WZhcCPkpPj4P31EFohTndnOyj+rfLmAPAVc"}]},"directories":{}},"2.0.7":{"name":"catberry-oauth2-client","version":"2.0.7","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0 || ^5.0.0"},"dependencies":{"catberry-uri":"^2.1.0"},"devDependencies":{"istanbul-harmony":"~0.3.12","codecov.io":"^0.1.2","catberry-locator":"^1.1.4","promise":"^7.0.1","express":"^4.11.2","mocha":"^2.2.4","jscs":"~1.6.2","jshint":"^2.6.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"7034b95e4451f7ffdfa0a7036d8020e2132bbba1","_id":"catberry-oauth2-client@2.0.7","_shasum":"8d26c859ce62762db19c02b116e32c07f84c276d","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"8d26c859ce62762db19c02b116e32c07f84c276d","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.7.tgz","integrity":"sha512-ydS3+flLgaVmBa57HKrhhfmfIA3KM9FGQNOEXvu65bCaBe4jB6iIwlP+ClnT2SKpeu2VLVU/7VFCzWE3m7jf5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkjlPt1L162bQuXHeNszsI0HK5RmPcmsMyc1SkyErDCgIhAI+WbSWSrs/FegQ8tovL+tzlYsh8/VunQsakt8LU9Zoc"}]},"directories":{}},"2.0.8":{"name":"catberry-oauth2-client","version":"2.0.8","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0 || ^5.0.0 || ^6.0.0"},"dependencies":{"catberry-uri":"^2.1.0"},"devDependencies":{"istanbul-harmony":"~0.3.12","codecov.io":"^0.1.2","catberry-locator":"^1.1.4","promise":"^7.0.1","express":"^4.11.2","mocha":"^2.2.4","jscs":"~1.6.2","jshint":"^2.6.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"licenses":[{"type":"MIT","url":"https://github.com/catberry/catberry-oauth2-client/blob/master/LICENSE"}],"gitHead":"4e383d0e5665545286a37490f4af285512013a69","_id":"catberry-oauth2-client@2.0.8","_shasum":"de71e58cb3889eb553bbd7d2d21822d83239e828","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.3","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"de71e58cb3889eb553bbd7d2d21822d83239e828","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.8.tgz","integrity":"sha512-7npYJRsWoDx3V/lKbcCqoPc5HUX/okkEXztpjOpei9XaJuyPyyTbc5QCdFb6uUWMpYlLrId7TbQ5Z9OMFEF0qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmn3xZoiuUmD/GepAbRbegw12xxgeN4YuXPESyxgcmHAiEAoX7KlOrhUTpzp0tEegvEFD8dTXIclAB2QfSysQf93XY="}]},"directories":{}},"2.0.9":{"name":"catberry-oauth2-client","version":"2.0.9","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"},"dependencies":{"catberry-uri":"^2.1.5"},"devDependencies":{"istanbul":"~0.4.0","codecov.io":"~0.1.6","catberry-locator":"^1.1.8","promise":"^7.0.4","express":"^4.13.3","mocha":"^2.3.3","jscs":"^2.5.1","jshint":"^2.8.0"},"engines":{"node":">=0.10"},"scripts":{"test":"make"},"license":"MIT","gitHead":"b207ac0d6d57487ea998b33c89bdb6fd4f8fb001","_id":"catberry-oauth2-client@2.0.9","_shasum":"d3bebef93d13fdb78e902cd9b3e8343f89cb7f4d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"d3bebef93d13fdb78e902cd9b3e8343f89cb7f4d","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.9.tgz","integrity":"sha512-+aYPfwgXAZgtyfTNukCVb29eNbKz6hbUg+Hx7VTrJZ/s+KEuv9Vv/sbXo1alM633uZy5XiIHtozjHiAx/+zYDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/05/+7fo84cLML01PnQwcPCPxEJVd/JG1EuUS5Z8ajAiEA+/rOYoEKtbb34IYi90Hbv7ivf5vxpqAJl2NgIBzZawo="}]},"directories":{}},"2.0.10":{"name":"catberry-oauth2-client","version":"2.0.10","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"peerDependencies":{"catberry":"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"},"dependencies":{"catberry-uri":"^2.1.5"},"devDependencies":{"istanbul":"~0.4.0","codecov.io":"~0.1.6","catberry-locator":"^1.1.8","promise":"^7.0.4","express":"^4.13.3","mocha":"^2.3.3","jscs":"^2.5.1","jshint":"^2.8.0"},"engines":{"node":">=0.12"},"scripts":{"test":"make"},"license":"MIT","gitHead":"bedb22d6f6f1c2a31c1fda74716af4d2962f98eb","_id":"catberry-oauth2-client@2.0.10","_shasum":"191bc878e35455db8a66182c577719bbe27843b8","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"191bc878e35455db8a66182c577719bbe27843b8","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-2.0.10.tgz","integrity":"sha512-RuT9lDZrWly/ef7XBQCsrHxobJEGs17ynreQNaH5w2AIr46JtGkObIBmYlJY5UWYC9AjOHpVEBGABn+R8dzi0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFoHBi8OFQ/YEH0bo65HZHnv6FNcdfDKn684M6X0Om5QIhAOMWERGGT1LJVQLETk5y+WT1XxskK2EWJM9cpJi37KCU"}]},"directories":{}},"3.0.0":{"name":"catberry-oauth2-client","version":"3.0.0","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"contributors":[{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},{"name":"Maxim Chetverikov","email":"ma.chetverikov@gmail.com"}],"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"dependencies":{"catberry-uri":"^3.1.0"},"peerDependencies":{"catberry":"^8.0.0","catberry-uhr":"^5.0.0"},"devDependencies":{"istanbul":"~0.4.2","codecov":"^1.0.1","catberry-locator":"^2.1.0","promise":"^7.1.1","express":"^4.13.3","mocha":"^2.4.5","eslint":"^2.2.0"},"engines":{"node":">=4"},"scripts":{"test":"make"},"license":"MIT","gitHead":"c7b1430ce2062e9e2167f38d2de4daa9f712ea76","_id":"catberry-oauth2-client@3.0.0","_shasum":"2d957f574473d80e29f84728287693b28aeab54e","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"2d957f574473d80e29f84728287693b28aeab54e","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-3.0.0.tgz","integrity":"sha512-Rj3Y9clT2dWNwb/DEghCwAN2/l88yv2YCYaARNFZHSE3enb0o+g2kAhyMbMJcvC5YYCTzuqoVwW1tkkSe+jhMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQmUP8IdPUsjmkfsqC7RwmDxXD+xN0kdW2BtvwNAzJWAIgNA6ca653xxsJLGhiXm2LX/o1ORxUduLCgtY13gtJTBg="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/catberry-oauth2-client-3.0.0.tgz_1457899238463_0.1113284642342478"},"directories":{}},"3.0.1":{"name":"catberry-oauth2-client","version":"3.0.1","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"contributors":[{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},{"name":"Maxim Chetverikov","email":"ma.chetverikov@gmail.com"}],"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"dependencies":{"catberry-uri":"^3.1.0"},"peerDependencies":{"catberry":"^8.0.0","catberry-uhr":"^5.0.0"},"devDependencies":{"istanbul":"~0.4.2","codecov":"^1.0.1","catberry-locator":"^2.1.0","express":"^4.13.3","mocha":"^2.4.5","eslint":"^2.2.0"},"engines":{"node":">=4"},"scripts":{"test":"make"},"license":"MIT","gitHead":"20c5d0691a544696373e13a40042a566f33c3a00","_id":"catberry-oauth2-client@3.0.1","_shasum":"5da5397ccab15e172a471b981aa78bdfdf9b0163","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"pragmadash","email":"denis.rechkunov@gmail.com"},"maintainers":[{"name":"pragmadash","email":"denis.rechkunov@gmail.com"}],"dist":{"shasum":"5da5397ccab15e172a471b981aa78bdfdf9b0163","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-3.0.1.tgz","integrity":"sha512-hHjtm0pvYYaFhRqxn6RpWo1y2d89D8pFjb73Yx6vxP//9MOFP/mACdWoReWbBq51hoFAAX5kHNDiBOTvOD/kfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYKC1VDfgzp4tr/TYssgtlyKpQbeRkxJMHxMg5TNqJTgIgKTamqcZ/BuMK3qVUoYcza8CYDyNaUZohY+2hRmvVHME="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/catberry-oauth2-client-3.0.1.tgz_1459801388205_0.1935731782577932"},"directories":{}},"3.0.2":{"name":"catberry-oauth2-client","version":"3.0.2","author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"description":"OAuth 2.0 Client Plugin for Catberry Framework","homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"contributors":[{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},{"name":"Maxim Chetverikov","email":"ma.chetverikov@gmail.com"}],"main":"./index.js","browser":{"./lib/OAuth2FlowFactory.js":"./browser/OAuth2FlowFactory.js","./lib/ResourceServer.js":"./browser/ResourceServer.js"},"dependencies":{"catberry-uri":"^3.2.2"},"peerDependencies":{"catberry":"^8.0.0 || ^9.0.0","catberry-uhr":"^5.0.0"},"devDependencies":{"istanbul":"~0.4.5","codecov":"^2.1.0","catberry-locator":"^2.2.1","express":"^4.15.2","mocha":"^3.2.0","eslint":"^3.18.0"},"engines":{"node":">=4"},"scripts":{"test":"make"},"license":"MIT","gitHead":"4dfa63a55fb590877df05367252f9ff2d55daf03","_id":"catberry-oauth2-client@3.0.2","_shasum":"367f908e3441b3c59fe4823dc2fb2094455f4481","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"pragmader","email":"denis.rechkunov@gmail.com"},"dist":{"shasum":"367f908e3441b3c59fe4823dc2fb2094455f4481","tarball":"https://registry.npmjs.org/catberry-oauth2-client/-/catberry-oauth2-client-3.0.2.tgz","integrity":"sha512-cQBy4qyShVWfi8+cIyReSwBZpHhEfgLb2yiCLm98UTRYdTTyLF+knmHtfmbWvvRy12QpetgBJnGGPKaxH0NnwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFMrk2esKFc8m/FkaiJL3SukQ+wNfSQ3HsvvbJFrr47AiAv4lmonUXSA4SPgKagzW1QdTRtnrS8vZ5nEyxMI6H0xw=="}]},"maintainers":[{"name":"pragmader","email":"denis.rechkunov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/catberry-oauth2-client-3.0.2.tgz_1489937889143_0.44805846316739917"},"directories":{}}},"readme":"# OAuth 2.0 Client Plugin for Catberry Framework\n\n[![Build Status](https://travis-ci.org/catberry/catberry-oauth2-client.svg?branch=master)](https://travis-ci.org/catberry/catberry-oauth2-client)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/catberry/main?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)\n[![codecov.io](http://codecov.io/github/catberry/catberry-oauth2-client/coverage.svg?branch=master)](http://codecov.io/github/catberry/catberry-oauth2-client?branch=master)\n\n## Installation\n\n```bash\nnpm install catberry-oauth2-client --save\n```\n\nThis plugin requires [UHR](https://github.com/catberry/catberry-uhr) registered to the locator.\n\n## Description\nThis plugin implements \"Client\" and \"Resource Server\"\n[roles](http://tools.ietf.org/html/rfc6749#section-1.1) from OAuth 2.0\n([RFC-6749](https://tools.ietf.org/html/rfc6749)).\n\nSupports grant types:\n\n* [Client Credentials](https://tools.ietf.org/html/rfc6749#section-4.4) (authorization middleware + endpoint)\n* [Resource Owner Password Credentials](https://tools.ietf.org/html/rfc6749#section-4.3) (endpoint)\n* [Authorization Code Grant](https://tools.ietf.org/html/rfc6749#section-4.1) (endpoint for callback)\n* [Refresh token](https://tools.ietf.org/html/rfc6749#section-6) (endpoint)\n\nSupports [Bearer](http://tools.ietf.org/html/rfc6750#section-6.1.1) ([RFC-6750](http://tools.ietf.org/html/rfc6750)) token type.\n\nThis plugin sets \"access\" and \"refresh\" tokens to the specified cookie names and uses\nthem for requesting data from a resource server.\n\nIf a resource server returns status code 401, it will try to refresh the access token or\nunset all token cookies if refreshing process is failed.\n\nIf you need OAuth 2.0 Authorization Server you can use a library like\n[node-oauth2-server](https://www.npmjs.org/package/node-oauth2-server) or\na framework for building RESTful APIs like [LoopBack](http://docs.strongloop.com/display/LB/OAuth+2.0).\n\n## Usage\nPlugin consists of two parts:\n\n * set of middlewares and endpoints compatible with\n [express](http://expressjs.com)/[connect](https://github.com/senchalabs/connect)\n application.\n * `ResourceServer` type registered in [Service Locator](https://github.com/catberry/catberry/blob/master/docs/index.md#service-locator)\n\n### At the server\n\nIn `server.js` you should register the plugin into the locator and use the factory like this:\n\n```javascript\n'use strict';\n\nconst http = require('http');\nconst path = require('path');\n\n// configuration\nconst config = require('./config/environment.json');\nconst isRelease = process.argv.length === 3 ?\tprocess.argv[2] === 'release' : undefined;\nconfig.publicPath = path.join(__dirname, 'public');\nconfig.server.port = config.server.port || 3000;\nconfig.isRelease = isRelease === undefined ? config.isRelease : isRelease;\n\n// catberry application\nconst catberry = require('catberry');\nconst cat = catberry.create(config); // the Catberry application object\ncat.events.on('ready', () => {\n\tconst logger = cat.locator.resolve('logger');\n\tlogger.info(`Ready to handle incoming requests on port ${config.server.port}`);\n});\n\n// register Catberry plugins needed on the server\nconst templateEngine = require('catberry-handlebars');\ntemplateEngine.register(cat.locator);\n\nconst loggerPlugin = require('catberry-logger');\nloggerPlugin.register(cat.locator);\n\nconst uhrPlugin = require('catberry-uhr');\nuhrPlugin.register(cat.locator);\n\nconst OAuth2Client = require('catberry-oauth2-client');\n// register all types of OAuth 2.0 client plugin\nOAuth2Client.register(cat.locator);\n\n// web server\nconst express = require('express');\nconst app = express();\n\nconst serveStatic = require('serve-static');\napp.use(serveStatic(config.publicPath));\n\n// create factory instance with current configuration\nconst OAuth2FlowFactory = cat.locator.resolve('oauth2FlowFactory');\n// add all endpoints required for OAuth 2.0 authorization to connect application\nOAuth2FlowFactory.addEndpoints(app);\n\napp.use(cat.getMiddleware()); // Catberry app as a middleware\n\nconst errorhandler = require('errorhandler');\napp.use(errorhandler());\n\nhttp\n\t.createServer(app)\n\t.listen(config.server.port);\n```\n\n### In a browser\nIn `browser.js` just do the following:\n\n```javascript\n'use strict';\n\n// this config will be replaced by `./config/browser.json` when building\n// because of `browser` field in `package.json`\nconst config = require('./config/environment.json');\n\n// catberry application\nconst catberry = require('catberry');\nconst cat = catberry.create(config);\n\n// register Catberry plugins needed in a browser\nconst templateEngine = require('catberry-handlebars');\ntemplateEngine.register(cat.locator);\n\nconst loggerPlugin = require('catberry-logger');\nloggerPlugin.register(cat.locator);\n\nconst uhrPlugin = require('catberry-uhr');\nuhrPlugin.register(cat.locator);\n\nconst OAuth2Client = require('catberry-oauth2-client');\nOAuth2Client.register(cat.locator);\n\n// starts the application when DOM is ready\ncat.startWhenReady();\n```\n\n### Configuration\nFor server configuration:\n\n```javascript\n{\n\t\"authorization\": {\n\n\t\t// OAuth 2.0 authorization server with \"/token\" endpoint\n\t\t\"authServerUrl\": \"https://example.org\",\n\n\t\t// client credentials\n\t\t\"clientId\": \"some_client_id\",\n\t\t\"clientSecret\": \"some_client_secret\",\n\n\t\t// request timeout (Optional, 30 seconds by default)\n\t\t\"timeout\": 30000,\n\n\t\t// authorization server token endpoint path (Optional, /token by default)\n\t\t\"tokenEndpointPath\": \"/token\",\n\n\t\t// is invalid SSL certificate allowed\n\t\t\"unsafeHTTPS\": true,\n\n\t\t// proxy-endpoints for obtaining access token using client credentials\n\t\t\"endpoints\":{\n\n\t\t\t// Client Credentials Grant\n\t\t\t// http://tools.ietf.org/html/rfc6749#section-4.4\n\t\t\t// this grantType also adds middleware that sets access token for\n\t\t\t// every http request to connect/express application\n\t\t\t// name of endpoint is a connect/express routing\n\t\t\t\"auth/guest\":{\n\n\t\t\t\t// grant type from\n\t\t\t\t\"grantType\": \"client_credentials\",\n\n\t\t\t\t// some scopes specified by resource provider (Optional)\n\t\t\t\t\"scope\": \"wall\",\n\n\t\t\t\t\"cookie\":{\n\t\t\t\t\t// name of cookie with access token\n\t\t\t\t\t\"accessTokenName\": \"ccat\",\n\n\t\t\t\t\t// name of cookie with refresh token\n\t\t\t\t\t\"refreshTokenName\": \"reccat\",\n\n\t\t\t\t\t// expiration time in seconds for access token cookie\n\t\t\t\t\t// if it is not specified by authorization server\n\t\t\t\t\t// (Optional, 1 hour by default)\n\t\t\t\t\t\"accessTokenExpiresIn\": 3600,\n\n\t\t\t\t\t// expiration time in seconds for refresh token cookie\n                    // (Optional 100 years by default)\n\t\t\t\t\t\"refreshTokenExpiresIn\": 3110400000,\n\n\t\t\t\t\t// domain for cookie (Optional)\n\t\t\t\t\t\"domain\": \"some.example.org\",\n\n\t\t\t\t\t// Path attribute for cookie ('/' by default).\n\t\t\t\t\t\"path\": \"/\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t// another example of grantType with same parameters\n\t\t\t// Resource Owner Password Credentials Grant\n\t\t\t// http://tools.ietf.org/html/rfc6749#section-4.3\n\t\t\t\"auth/user\":{\n\t\t\t\t\"grantType\": \"password\",\n\t\t\t\t\"scope\": \"wall, profile, email\",\n\t\t\t\t\"cookie\":{\n\t\t\t\t\t\"accessTokenName\": \"pcat\",\n\t\t\t\t\t\"refreshTokenName\": \"repcat\",\n\t\t\t\t\t\"accessTokenExpiresIn\": 3600,\n\t\t\t\t\t\"refreshTokenExpiresIn\": 3110400000,\n\t\t\t\t\t\"domain\": \"some.example.org\",\n\t\t\t\t\t\"path\": \"/\"\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// this endpoint for redirection URI endpoint when use\n\t\t\t// OAuth 2.0 Authorization Code Grant\n\t\t\t// http://tools.ietf.org/html/rfc6749#section-4.1\n\t\t\t// 2 additional parameters\n\t\t\t// and scope parameter is unsupported\n\t\t\t\"auth/social\":{\n\t\t\t\t\"grantType\": \"authorization_code\",\n\n\t\t\t\t// redirect URI used for obtaining authorization code\n\t\t\t\t\"redirectUri\": \"https://example.org/social\",\n\n\t\t\t\t// where to return after access token has been obtained\n\t\t\t\t\"returnUri\": \"/\",\n\n\t\t\t\t\"cookie\":{\n\t\t\t\t\t\"accessTokenName\": \"acat\",\n\t\t\t\t\t\"refreshTokenName\": \"reacat\",\n\t\t\t\t\t\"accessTokenExpiresIn\": 3600,\n\t\t\t\t\t\"refreshTokenExpiresIn\": 3110400000,\n\t\t\t\t\t\"domain\": \"some.example.org\",\n\t\t\t\t\t\"path\": \"/\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n```\n\nFor both server and browser configuration:\n\n```javascript\n{\n\t\"authorization\": {\n\t\t\"resourceServers\": {\n\t\t\t\"clientToken\": {\n\n\t\t\t\t// is invalid SSL certificate allowed\n\t\t\t\t\"unsafeHTTPS\": true,\n\n\t\t\t\t// resource server host\n\t\t\t\t\"host\": \"https://example.org\",\n\n\t\t\t\t// endpoint to use for authorization\n\t\t\t\t\"endpoint\": {\n\n\t\t\t\t\t// name of endpoint from server configuration\n\t\t\t\t\t\"name\": \"auth/guest\",\n\n\t\t\t\t\t// name of cookie with access token\n\t\t\t\t\t\"accessTokenName\": \"ccat\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"passwordToken\": {\n\t\t\t\t\"unsafeHTTPS\": true,\n\t\t\t\t\"host\": \"https://example.org\",\n\t\t\t\t\"endpoint\": {\n\t\t\t\t\t\"name\": \"auth/user\",\n\t\t\t\t\t\"accessTokenName\": \"pcat\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n```\n\n**WARNING! DO NOT STORE `clientId` AND `clientSecret` PARAMETERS IN\nTHE BROWSER CONFIGURATION OBJECT IT BREAKS THE WHOLE SECURITY MECHANISM**\n\n### Resource Server Usage\nFor simple access to a resource server using OAuth 2.0 authorization there is a\n`ResourceServer` implementation.\n\nYou can use it in your application like this:\n\n```javascript\nclass ApiClient {\n\tconstructor(locator) {\n\t\tconst factory = locator.resolve('oauth2FlowFactory');\n\t\tthis.clientToken = factory.createResourceServer(\n\t\t\t'clientToken' // name of resource server from configuration\n\t\t);\n\t\tthis.passwordToken = factory.createResourceServer(\n\t\t\t'passwordToken' // name of resource server from configuration\n\t\t);\n\t}\n\n\trequest(context, method, apiPath, query) {\n\t\tquery = query || {};\n\n\t\tconst server = this.passwordToken.isAuthorized(context) ?\n\t\t\t\tthis.passwordToken : this.clientToken;\n\n\t\treturn server.request(context, {\n\t\t\t\theaders: {\n\t\t\t\t\tAccept: 'application/json;q=1'\n\t\t\t\t},\n\t\t\t\tpath: apiPath,\n\t\t\t\tmethod: method,\n\t\t\t\tdata: query\n\t\t\t});\n\t};\n}\n```\n\nAs a response you would have:\n\n```json\n{\n  \"status\": {\n    \"code\": 200,\n    \"text\": \"OK\",\n    \"headers\": {\n      \"Content-Type\": \"text/html; charset=utf-8\",\n      \"Date\": \"Sun, 13 Mar 2016 09:55:13 GMT\"\n    }\n  },\n  \"content\": {\n    \"hello\": \"world\"\n  }\n}\n```\n\n\nPlease remember that you need to have an instance of `ResourceServer` for each\ngrant type used in your application (like in the example earlier).\n\n`ResourceServer` has following methods:\n\n```javascript\n/**\n * Does request to the resource server.\n * @param {Object} context Current module context.\n * @param {Object} options Request options.\n * @param {string} options.path Server URL path.\n * @param {Object} options.headers Object with HTTP headers.\n * @param {string?} options.method HTTP method (GET by default).\n * @param {Object?} options.data Data to send to server.\n * @returns {Promise<Object>} Promise for response content.\n */\nrequest(context, options) {}\n\n/**\n * Gets current access token;\n * @param {Object} context Module context.\n * @returns {string} Access token.\n */\ngetToken(context) {}\n\n/**\n * Determines if context is now authorized to do requests.\n * @param {Object} context Module context.\n * @returns {boolean} true if access to resource server is authorized.\n */\nisAuthorized(context) {}\n\n/**\n * Refreshes authorization or remove access and refresh tokens if failed.\n * @param {Object} context Module context.\n * @returns {Promise} Promise for nothing.\n */\nrefreshAuthorization(context) {}\n\n/**\n * Removes access and refresh tokens.\n * @param {Object} context Module context.\n * @returns {Promise} Promise for nothing.\n */\nremoveAuthorization(context) {}\n```\n\n## Contributing\n\nThere are a lot of ways to contribute:\n\n* Give it a star\n* Join the [Gitter](https://gitter.im/catberry/main) room and leave a feedback or help with answering users' questions\n* [Submit a bug or a feature request](https://github.com/catberry/catberry-oauth2-client/issues)\n* [Submit a PR](https://github.com/catberry/catberry-oauth2-client/blob/develop/CONTRIBUTING.md)\n\nDenis Rechkunov <denis.rechkunov@gmail.com>\n","maintainers":[{"email":"denis@rdner.de","name":"rdner"}],"time":{"modified":"2022-06-13T05:40:55.006Z","created":"2014-11-25T13:41:04.712Z","1.0.0":"2014-11-25T13:41:04.712Z","1.1.0":"2014-11-30T11:11:47.313Z","1.1.1":"2015-02-16T09:13:26.236Z","2.0.0":"2015-02-16T11:21:53.993Z","2.0.1":"2015-02-16T11:35:40.555Z","2.0.2":"2015-02-17T11:46:36.961Z","2.0.3":"2015-03-12T08:22:21.451Z","2.0.4":"2015-03-14T09:20:32.586Z","2.0.5":"2015-05-02T14:54:58.526Z","2.0.6":"2015-05-04T05:51:01.841Z","2.0.7":"2015-06-14T06:38:07.558Z","2.0.8":"2015-08-16T07:02:26.522Z","2.0.9":"2015-11-11T09:34:17.158Z","2.0.10":"2015-12-12T20:58:23.150Z","3.0.0":"2016-03-13T20:00:40.814Z","3.0.1":"2016-04-04T20:23:10.682Z","3.0.2":"2017-03-19T15:38:09.820Z"},"homepage":"https://github.com/catberry/catberry-oauth2-client","keywords":["catberry","authorization","security","oauth","authentication","rfc6749"],"repository":{"type":"git","url":"git://github.com/catberry/catberry-oauth2-client.git"},"author":{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},"bugs":{"url":"https://github.com/catberry/catberry-oauth2-client/issues","email":"denis.rechkunov@gmail.com"},"readmeFilename":"README.md","license":"MIT","contributors":[{"name":"Denis Rechkunov","email":"denis.rechkunov@gmail.com"},{"name":"Maxim Chetverikov","email":"ma.chetverikov@gmail.com"}]}