mandrill-webhook-authenticator
v1.0.1
Published
Authenticates Madrill Inbound Webhook calls
Downloads
12
Maintainers
Readme
mandrill-webhook-authenticator
A small express middleware to authenticate Mandrill inbound web-hooks
Installation
$ 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 test
Links
Contributing
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.