JSPM

alt-sasl-digest-md5

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1059
  • Score
    100M100P100Q122211F
  • License MIT

JavaScript implementation of DIGEST-MD5 SASL mechanism.

Package Exports

  • alt-sasl-digest-md5

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 (alt-sasl-digest-md5) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SASL : DIGEST-MD5

Build Status Dependency Status devDependency Status

Browser Support

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

Installing

$ npm install alt-sasl-digest-md5

Usage

Register the DIGEST-MD5 mechanism.

factory.use(require('alt-sasl-digest-md5'));

Send an authentication response with necessary credentials.

var mech = factory.create(['DIGEST-MD5']);
var resp = mech.challenge('realm="elwood.innosoft.com",nonce="OA6MG9tEQGm2hh",qop="auth",algorithm=md5-sess,charset=utf-8')
               .response({ username: 'chris', password: 'secret', host: 'elwood.innosoft.com', serviceType: 'imap' });

Credits

License

The MIT License

Copyright (c) 2014 Lance Stout <http://github.com/legasteros/> Copyright (c) 2012 Jared Hanson <http://jaredhanson.net/>