Package Exports
- saslmechanisms
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (saslmechanisms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SASL
This module is a JavaScript framework for SASL authentication and data security. Mechanisms are pluggable, allowing a server and client to negotiate supported mechanisms when performing authentication in connection-oriented protocols.
Install
volo
$ volo add jaredhanson/js-sasl saslFor more information on using volo to manage JavaScript modules, visit http://volojs.org/.
Usage
Create a SASL mechanism factory.
var factory = new sasl.Factory();Register supported SASL mechanisms.
factory.use(require('sasl-plain'));Mechanisms
| Mechanism | Developer |
|---|---|
| PLAIN | Jared Hanson |
Tests
Browser
To run tests in a browser, execute the Make target for the desired browser:
$ make test-chrome
$ make test-firefox
$ make test-safariPhantomJS
To run headless tests from a terminal using PhantomJS:
$ make test-phantomjsNode
To run tests in Node:
$ make test-nodeStatus
Credits
License
Copyright (c) 2012 Jared Hanson <http://jaredhanson.net/>
