mandrill-webhook-authenticator
A small express middleware to authenticate Mandrill inbound web-hooksInstallation
$ npm install mandrill-webhook-authenticator --save
Usage
var authenticator = require('mandrill-webhook-authenticator');
app.use(authenticator(options));
Options
var options = {
webhookAuthKey: 'webhooks_auth_key',
domain: 'http://www.example.com'
};
webhookAuthKey: mandrill webhook auth key, used for validating the Mandrill Signature domain: domain of the webhook you set up on Mandrill, used for validating the Mandrill Signature
Tests
npm testLinks
api documentationjscs Report
jshint Report
Contributing
Use Airbnb jscs style guide.Add unit tests for any new or changed functionality. Lint and test your code.
Release History
Not yet released.Legal Stuff
mandrill-webhook-authenticator is Copyright 2016 Aodhagán Collins. All Rights Reserved.Distributed under MIT License.