saslmechanisms
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/saslmechanisms package

0.1.1 • Public • Published

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 sasl

For 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-safari
PhantomJS

To run headless tests from a terminal using PhantomJS:

$ make test-phantomjs
Node

To run tests in Node:

$ make test-node
Status

Travis CI

Credits

License

The MIT License

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

Readme

Keywords

none

Package Sidebar

Install

npm i saslmechanisms

Weekly Downloads

5,458

Version

0.1.1

License

none

Last publish

Collaborators

  • jaredhanson