Package Exports
- sasl-anonymous
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 (sasl-anonymous) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SASL : ANONYMOUS
This module is a JavaScript implementation of the ANONYMOUS SASL mechanism, which plugs into the SASL framework.
Install
npm
$ npm install sasl-anonymousvolo
$ volo add jaredhanson/js-sasl-anonymous sasl-anonymousFor more information on using volo to manage JavaScript modules, visit http://volojs.org/.
Usage
Register the ANONYMOUS mechanism.
factory.use(require('sasl-anonymous'));Send an authentication response with necessary credentials.
var mech = factory.create(['ANONYMOUS']);
var resp = mech.response({});Compatibility
Browser
This module is AMD-compliant, and can be loaded by module loaders such as RequireJS.
This module is optimized for use with Anchor.
Node
This module is compatible with Node.
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/>
