Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sasl-plain

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sasl-plain

JavaScript implementation of PLAIN SASL mechanism.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

SASL : PLAIN

This module is a JavaScript implementation of the PLAIN SASL mechanism, which plugs into the SASL framework.

Install

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

For more information on using volo to manage JavaScript modules, visit http://volojs.org/.

Usage

Register the PLAIN mechanism.

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

Send an authentication response with necessary credentials.

var mech = factory.create(['PLAIN']);
var resp = mech.response({ username: 'johndoe', password: 'secret' });

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

Keywords

FAQs

Package last updated on 28 Dec 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc