{"_id":"sasl-plain","_rev":"5-6afb51020d6833667b52cd88eb7848a0","name":"sasl-plain","description":"JavaScript implementation of PLAIN SASL mechanism.","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"sasl-plain","version":"0.1.0","description":"JavaScript implementation of PLAIN SASL mechanism.","keywords":["sasl","auth","authn","authentication","security"],"repository":{"type":"git","url":"git://github.com/jaredhanson/js-sasl-plain.git"},"bugs":{"url":"http://github.com/jaredhanson/js-sasl-plain/issues"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"main","devDependencies":{"express":"3.x.x","mocha":"1.x.x","chai":"1.x.x","mocha-phantomjs":"1.x.x","mocha-cloud":"0.0.1","term-canvas":"0.0.5","mocha-cloud-grid-view":"0.0.1"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"node_modules/.bin/mocha --reporter spec --require test/node/bootstrap test/*.test.js"},"volo":{"dependencies":{}},"readme":"# SASL : PLAIN\n\nThis module is a JavaScript implementation of the PLAIN SASL mechanism, which\nplugs into the [SASL](https://github.com/jaredhanson/js-sasl) framework.\n\n## Install\n\n##### npm\n\n    $ npm install sasl-plain\n\n##### volo\n\n    $ volo add jaredhanson/js-sasl-plain sasl-plain\n\nFor more information on using volo to manage JavaScript modules, visit [http://volojs.org/](http://volojs.org/).\n\n## Usage\n\nRegister the PLAIN mechanism.\n\n```javascript\nfactory.use(require('sasl-plain'));\n```\n\nSend an authentication response with necessary credentials.\n\n```\nvar mech = factory.create(['PLAIN']);\nvar resp = mech.response({ username: 'johndoe', password: 'secret' });\n```\n\n## Compatibility\n\n##### Browser\n\nThis module is [AMD](https://github.com/amdjs/amdjs-api)-compliant, and can be\nloaded by module loaders such as [RequireJS](http://requirejs.org/).\n\nThis module is optimized for use with [Anchor](https://github.com/anchorjs/anchor).\n\n##### Node\n\nThis module is compatible with [Node](http://nodejs.org/).\n\n## Tests\n\n##### Browser\n\nTo run tests in a browser, execute the Make target for the desired browser:\n\n    $ make test-chrome\n    $ make test-firefox\n    $ make test-safari\n\n##### PhantomJS\n\nTo run headless tests from a terminal using [PhantomJS](http://phantomjs.org/):\n\n    $ make test-phantomjs\n\n##### Node\n\nTo run tests in Node:\n\n    $ make test-node\n    \n##### Status\n\n[![Travis CI](https://secure.travis-ci.org/jaredhanson/js-sasl-plain.png)](http://travis-ci.org/jaredhanson/js-sasl-plain)\n\n## Credits\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2012 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n","_id":"sasl-plain@0.1.0","dist":{"shasum":"cf145e7c02222b64d60c0806d9cd2ae5380426cc","tarball":"https://registry.npmjs.org/sasl-plain/-/sasl-plain-0.1.0.tgz","integrity":"sha512-X8mCSfR8y0NryTu0tuVyr4IS2jBunBgyG+3a0gEEkd0nlHGiyqJhlc4EIkzmSwaa7F8S4yo+LS6Cu5qxRkJrmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOAo4xUjc9X0R3qyCHVoM8aE0usew0dAHVUbQXzNLXjQIgEYqQhuVTnJ1Bqv4Xe5ww5p77XdLGDzuODkTvassRY6c="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}]}},"readme":"# SASL : PLAIN\n\nThis module is a JavaScript implementation of the PLAIN SASL mechanism, which\nplugs into the [SASL](https://github.com/jaredhanson/js-sasl) framework.\n\n## Install\n\n##### npm\n\n    $ npm install sasl-plain\n\n##### volo\n\n    $ volo add jaredhanson/js-sasl-plain sasl-plain\n\nFor more information on using volo to manage JavaScript modules, visit [http://volojs.org/](http://volojs.org/).\n\n## Usage\n\nRegister the PLAIN mechanism.\n\n```javascript\nfactory.use(require('sasl-plain'));\n```\n\nSend an authentication response with necessary credentials.\n\n```\nvar mech = factory.create(['PLAIN']);\nvar resp = mech.response({ username: 'johndoe', password: 'secret' });\n```\n\n## Compatibility\n\n##### Browser\n\nThis module is [AMD](https://github.com/amdjs/amdjs-api)-compliant, and can be\nloaded by module loaders such as [RequireJS](http://requirejs.org/).\n\nThis module is optimized for use with [Anchor](https://github.com/anchorjs/anchor).\n\n##### Node\n\nThis module is compatible with [Node](http://nodejs.org/).\n\n## Tests\n\n##### Browser\n\nTo run tests in a browser, execute the Make target for the desired browser:\n\n    $ make test-chrome\n    $ make test-firefox\n    $ make test-safari\n\n##### PhantomJS\n\nTo run headless tests from a terminal using [PhantomJS](http://phantomjs.org/):\n\n    $ make test-phantomjs\n\n##### Node\n\nTo run tests in Node:\n\n    $ make test-node\n    \n##### Status\n\n[![Travis CI](https://secure.travis-ci.org/jaredhanson/js-sasl-plain.png)](http://travis-ci.org/jaredhanson/js-sasl-plain)\n\n## Credits\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2012 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n","maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"time":{"modified":"2022-06-26T16:00:44.436Z","created":"2012-12-28T05:36:56.880Z","0.1.0":"2012-12-28T05:36:57.773Z"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"http://www.jaredhanson.net/"},"repository":{"type":"git","url":"git://github.com/jaredhanson/js-sasl-plain.git"}}