SASL mechanism factory.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.npmignore
.travis.yml
LICENSE
Makefile
README.md
component.json
main.js
package.json

README.md

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

npm
$ npm install saslmechanisms
volo
$ volo add jaredhanson/js-sasl sasl

Usage

Create a SASL mechanism factory.

var factory = new sasl.Factory();

Register supported SASL mechanisms.

factory.use(require('sasl-plain'));

Mechanisms

Mechanism Developer
ANONYMOUS Jared Hanson
DIGEST-MD5 Jared Hanson
EXTERNAL Jared Hanson
PLAIN Jared Hanson
XOAUTH2 Jared Hanson
X-FACEBOOK-PLATFORM Jared Hanson
X-OAUTH2 Jared Hanson

Compatibility

Browser

browser support

Modules

Tests

Travis CI David DM

Browser

To run tests in a browser, execute the Make target for the desired browser:

$ make test-chrome
$ make test-firefox
$ make test-safari

Headless tests can be executed directly from a terminal:

$ make test-phantomjs
Node

To run tests in Node:

$ make test-node

Credits

License

The MIT License

Copyright (c) 2012-2013 Jared Hanson <http://jaredhanson.net/>