{"_id":"@asymmetrik/crowd-authenticator","_rev":"8-94c05ed6e4aa529ace2ffb05b216751a","name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","version":"0.0.1","author":{"name":"Asymmetrik, Ltd."},"copyright":"Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"engines":{"node":"6.9","npm":"3.3.10"},"scripts":{"test":"gulp test-ci","dev":"gulp dev","dev-test":"gulp dev-test","dev-test-all":"gulp dev-test-all"},"dependencies":{"atlassian-crowd-client":"1.3"},"peerDependencies":{},"devDependencies":{"mocha":"3.2","should":"11.1","gulp":"3.9","gulp-coverage":"0.3","gulp-eslint":"3.0","gulp-istanbul":"1.1","gulp-load-plugins":"1.4","gulp-mocha":"3.0","gulp-util":"3.0","gulp-watch":"4.3","run-sequence":"1.2","yargs":"6.6"},"gitHead":"e6e602f3212a0051d6c08737e88eb486a2d6b53a","bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","_id":"@asymmetrik/crowd-authenticator@0.0.1","_shasum":"30ba73284a637f7640731511f1beb28684419ada","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"asymmetrik","email":"ryan@asymmetrik.com"},"dist":{"shasum":"30ba73284a637f7640731511f1beb28684419ada","tarball":"https://registry.npmjs.org/@asymmetrik/crowd-authenticator/-/crowd-authenticator-0.0.1.tgz","integrity":"sha512-CHezlf/nslwQEkByFXS4l6YzHcGVWkLfMn4EL4xs9Gymn31D61n5XszOFXP8IQ4iZXXSCuwR1Tad+ZCmcJpJeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUXu9lSA0WutoK37G6I6Cj5hPd4qHiYmrziy/yNFDR0AiB1t0pTUQQmL1tMZBfJQu7pvddreHAFcud9eo9xO7+0gg=="}]},"maintainers":[{"name":"asymmetrik","email":"ryan@asymmetrik.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/crowd-authenticator-0.0.1.tgz_1485182101368_0.19517731061205268"}},"0.0.2":{"name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","version":"0.0.2","author":{"name":"Asymmetrik, Ltd."},"copyright":"Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"engines":{"node":"6.9","npm":"3.3.10"},"scripts":{"test":"gulp test-ci","dev":"gulp dev","dev-test":"gulp dev-test","dev-test-all":"gulp dev-test-all"},"dependencies":{"atlassian-crowd-client":"1.3"},"peerDependencies":{},"devDependencies":{"mocha":"3.2","should":"11.1","gulp":"3.9","gulp-coverage":"0.3","gulp-eslint":"3.0","gulp-istanbul":"1.1","gulp-load-plugins":"1.4","gulp-mocha":"3.0","gulp-util":"3.0","gulp-watch":"4.3","run-sequence":"1.2","yargs":"6.6"},"gitHead":"75f6410dea4a3a7abce02a16b62bd2975ce25c70","bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","_id":"@asymmetrik/crowd-authenticator@0.0.2","_shasum":"a4c31a3b4cfc49c64bf71b5aff34918c328d690f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"asymmetrik","email":"ryan@asymmetrik.com"},"dist":{"shasum":"a4c31a3b4cfc49c64bf71b5aff34918c328d690f","tarball":"https://registry.npmjs.org/@asymmetrik/crowd-authenticator/-/crowd-authenticator-0.0.2.tgz","integrity":"sha512-/bTru6VgbQPEjDVsM2yIdMaRJAz9EAdnNL9lrR6/e/klLtkG8e6uGz22m2/33+1PHpRAMECbc7cAS3aiZc8SJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/4X1fF+rm9jn9e/OBGhqlsLXIBMHJV+QLjuJbAWSUTAiAcEL6THVlsWeP4kxipppI0AZ8PPzGwHb9hs+vf2LyokQ=="}]},"maintainers":[{"name":"asymmetrik","email":"ryan@asymmetrik.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/crowd-authenticator-0.0.2.tgz_1485197053141_0.22705870238132775"}},"0.1.0":{"name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","version":"0.1.0","author":{"name":"Asymmetrik, Ltd."},"copyright":"Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"engines":{"node":"6.9","npm":"3.3.10"},"scripts":{"test":"gulp test-ci","dev":"gulp dev","dev-test":"gulp dev-test","dev-test-all":"gulp dev-test-all"},"dependencies":{"atlassian-crowd-client":"1.3"},"peerDependencies":{},"devDependencies":{"mocha":"3.2","should":"11.1","gulp":"3.9","gulp-coverage":"0.3","gulp-eslint":"3.0","gulp-istanbul":"1.1","gulp-load-plugins":"1.4","gulp-mocha":"3.0","gulp-util":"3.0","gulp-watch":"4.3","run-sequence":"1.2","yargs":"6.6"},"gitHead":"b7a9b813a13b07ee6c1d213ad71de8e8b0888e48","bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","_id":"@asymmetrik/crowd-authenticator@0.1.0","_shasum":"daf56f753fe333abee9d3342047499c29ed5d9e8","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"asymmetrik","email":"ryan@asymmetrik.com"},"dist":{"shasum":"daf56f753fe333abee9d3342047499c29ed5d9e8","tarball":"https://registry.npmjs.org/@asymmetrik/crowd-authenticator/-/crowd-authenticator-0.1.0.tgz","integrity":"sha512-4EqEeZl25qeE3/d2abcuEk0GnjduqN8Q4F+vUJgxZg+fEFQAiGpNbQZ2PgrFC0cs8uX8x0ulVRgYvAS/Cd+RoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK5SXP91hQCZEyhYwZe0hzfrBzP4HAhq9V/P35Q2UypgIhAPiHzBBOOR1ebJMxuRRiFK6JFeFCmuHAaaCOb1lTSo75"}]},"maintainers":[{"name":"asymmetrik","email":"ryan@asymmetrik.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/crowd-authenticator-0.1.0.tgz_1485222059530_0.42678235680796206"}},"0.1.1":{"name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","version":"0.1.1","author":{"name":"Asymmetrik, Ltd."},"copyright":"Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"engines":{"node":"6.9","npm":"3.3.10"},"scripts":{"test":"gulp test-ci","dev":"gulp dev","dev-test":"gulp dev-test","dev-test-all":"gulp dev-test-all"},"dependencies":{"atlassian-crowd-client":"1.3"},"peerDependencies":{},"devDependencies":{"mocha":"3.2","should":"11.1","gulp":"3.9","gulp-coverage":"0.3","gulp-eslint":"3.0","gulp-istanbul":"1.1","gulp-load-plugins":"1.4","gulp-mocha":"3.0","gulp-util":"3.0","gulp-watch":"4.3","run-sequence":"1.2","yargs":"6.6"},"gitHead":"d6556c17e1b3270a5bb74ba18d6d7c73da6994f2","bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","_id":"@asymmetrik/crowd-authenticator@0.1.1","_shasum":"8b02cd791de09418f883527347a19ab1a6bde630","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"asymmetrik","email":"ryan@asymmetrik.com"},"dist":{"shasum":"8b02cd791de09418f883527347a19ab1a6bde630","tarball":"https://registry.npmjs.org/@asymmetrik/crowd-authenticator/-/crowd-authenticator-0.1.1.tgz","integrity":"sha512-iS7H1DX/jhRP4yEKtH7+x59PX0dI4vFPdaPFeT+GVQZMR+mzIS82gJZfYClDID31dfH8vSEkH7P0nOOJS9g56Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt83w52lwvAiTR1b4l73vg6Q/OUXs//AWjkL7XQQuWjgIhAOmZhk3pybzzpCz5YbhfuSdsCp1aUckHk53zJow5FQaO"}]},"maintainers":[{"name":"asymmetrik","email":"ryan@asymmetrik.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/crowd-authenticator-0.1.1.tgz_1485399198246_0.10019814595580101"}},"0.1.2":{"name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","version":"0.1.2","author":{"name":"Asymmetrik, Ltd."},"copyright":"Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"engines":{"node":"6.9","npm":"3.3.10"},"scripts":{"test":"gulp test-ci","dev":"gulp dev","dev-test":"gulp dev-test","dev-test-all":"gulp dev-test-all"},"dependencies":{"atlassian-crowd-client":"1.3"},"peerDependencies":{},"devDependencies":{"mocha":"3.2","should":"11.1","gulp":"3.9","gulp-coverage":"0.3","gulp-eslint":"3.0","gulp-istanbul":"1.1","gulp-load-plugins":"1.4","gulp-mocha":"3.0","gulp-util":"3.0","gulp-watch":"4.3","run-sequence":"1.2","yargs":"6.6"},"gitHead":"e2aa97a172b6306f3d433501c46218999acbb6b7","bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","_id":"@asymmetrik/crowd-authenticator@0.1.2","_shasum":"44188148c0490b51eae2a8f01f802aecf2763636","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"asymmetrik","email":"ryan@asymmetrik.com"},"dist":{"shasum":"44188148c0490b51eae2a8f01f802aecf2763636","tarball":"https://registry.npmjs.org/@asymmetrik/crowd-authenticator/-/crowd-authenticator-0.1.2.tgz","integrity":"sha512-OAfxSs+Muq3SoU2GUJ3oE1ukA2CNibb/nX/QJ3HbCrEGWL505c/IDfQWLxD9QGdiLFO322bVB+g2fAiYWmusLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIESLn/NWkx1EAP+ipxpk92k3lxJ8jZ2KUpZXRqrEL1A2AiEA96GjhIluLAJollZYbMIjrXIWRkxaa1NwANSjUHeF2xg="}]},"maintainers":[{"name":"asymmetrik","email":"ryan@asymmetrik.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/crowd-authenticator-0.1.2.tgz_1485401013820_0.5042482861317694"}},"0.2.0":{"name":"@asymmetrik/crowd-authenticator","description":"Pluggable Crowd authenticator","version":"0.2.0","author":{"name":"Asymmetrik, Ltd."},"copyright":"Copyright Asymmetrik, Ltd. 2007-2017 - All Rights Reserved.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"engines":{"node":"6.9","npm":"3.3.10"},"scripts":{"test":"gulp test-ci","dev":"gulp dev","dev-test":"gulp dev-test","dev-test-all":"gulp dev-test-all"},"dependencies":{"atlassian-crowd-client":"1.4"},"peerDependencies":{},"devDependencies":{"mocha":"3.2","should":"11.2","gulp":"3.9","gulp-coverage":"0.3","gulp-eslint":"3.0","gulp-istanbul":"1.1","gulp-load-plugins":"1.5","gulp-mocha":"3.0","gulp-util":"3.0","gulp-watch":"4.3","run-sequence":"1.2","yargs":"6.6"},"gitHead":"ca85e5fbc78a801b6362544a841bb3a11c280e13","bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","_id":"@asymmetrik/crowd-authenticator@0.2.0","_shasum":"0abe92582cf63819bef0d4a9e8b62e27c6ef7827","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"asymmetrik","email":"ryan@asymmetrik.com"},"dist":{"shasum":"0abe92582cf63819bef0d4a9e8b62e27c6ef7827","tarball":"https://registry.npmjs.org/@asymmetrik/crowd-authenticator/-/crowd-authenticator-0.2.0.tgz","integrity":"sha512-8msfg35sCItPpqwU1jQFXO/fwg4uwUxrGhcnORDI6mN6c7I8ns20WwDHjHgsoch9OuAlNxfSg3zj2GdBVs5OLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBiHLyNuID5SspOl6l0R6AHyWjekXUXcIcJBGnkvU2IQIhAPvdxchiv8gWZ5+lrIB1qAT3swjRZyf17Pb2xMpcs7wh"}]},"maintainers":[{"name":"asymmetrik","email":"ryan@asymmetrik.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/crowd-authenticator-0.2.0.tgz_1486441951374_0.9974933944176883"}}},"readme":"# @asymmetrik/crowd-authenticator\n\n[![Build Status](https://travis-ci.org/Asymmetrik/crowd-authenticator.svg)](https://travis-ci.org/Asymmetrik/crowd-authenticator)\n[![Code Climate](https://codeclimate.com/github/Asymmetrik/crowd-authenticator/badges/gpa.svg)](https://codeclimate.com/github/Asymmetrik/crowd-authenticator)\n[![Test Coverage](https://codeclimate.com/github/Asymmetrik/crowd-authenticator/badges/coverage.svg)](https://codeclimate.com/github/Asymmetrik/crowd-authenticator/coverage)\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\n> Authenticator for creating sessions with Atlassian Crowd.\n> The authenticator wraps the logic necessary to sync Crowd with an external authentication system.\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n- [Contribute](#contribute)\n- [License](#license)\n\n\n## Install\n\nInclude this module as a dependency of your application in the `package.json` file. For example:\n```\n{\n  ...\n  dependencies: {\n    \"@asymmetrik/crowd-authenticator\": \"latest\"\n  }\n  ...\n}\n```\n\n## Usage\n\nInclude the module via `require` wherever applicable:\n```\nlet CrowdAuthenticator = require('@asymmetrik/crowd-authenticator');\nlet CrowdClient = require('atlassian-crowd-client');\n\n// Create the crowd client\nlet crowdClient = new CrowdClient({\n\tbaseUrl: 'http://localhost:8095/crowd/',\n\tapplication: {\n\t\tname: 'crowd-authenticator',\n\t\tpassword: 'password'\n\t}\n});\n\n// Create a custom config\nlet config = {\n\tpasswordStrategy: () => { return Promise.resolve('password'); },\n\tgroupPrefix: 'prefix:',\n\tdefaultGroups: [ 'jira-user', 'confluence-user' ]\n};\n\n// Create the authenticator instance\nlet crowdAuthenticator = CrowdAuthenticator(crowdClient, config);\n\nlet userInfo = {\n\tfirstname: 'Test',\n\tlastname: 'User',\n\tdisplayname: 'Test User',\n\temail: 'test@email.com',\n\tusername: authId,\n\tgroups: [ 'one', 'two' ]\n};\n\n// Authenticate\ncrowdAuthenticator.authenticate(userInfo)\n\t.then((session) => {\n\t\t// session contains token and expiration information\n\t\t// at this point, crowd will contain the defaultGroups plus all groups on the userInfo\n\t);\n\n```\n\n## API\n\nSee above Usage example.\n\n## Contribute\n\nPRs accepted.\n\n\n## License\n\nSee LICENSE for details\n","maintainers":[{"email":"ryan@asymmetrik.com","name":"rblace"}],"time":{"modified":"2022-06-12T14:49:40.308Z","created":"2017-01-23T14:35:01.965Z","0.0.1":"2017-01-23T14:35:01.965Z","0.0.2":"2017-01-23T18:44:13.785Z","0.1.0":"2017-01-24T01:41:01.322Z","0.1.1":"2017-01-26T02:53:20.106Z","0.1.2":"2017-01-26T03:23:35.692Z","0.2.0":"2017-02-07T04:32:32.063Z"},"homepage":"https://github.com/asymmetrik/crowd-authenticator#readme","repository":{"type":"git","url":"git+https://github.com/asymmetrik/crowd-authenticator.git"},"author":{"name":"Asymmetrik, Ltd."},"bugs":{"url":"https://github.com/asymmetrik/crowd-authenticator/issues"},"license":"MIT","readmeFilename":"README.md"}