Skip to content

jaredhanson/js-sasl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/>

About

SASL mechanism factory.

Resources

License

Stars

Watchers

Forks

Packages

No packages published