Simple key/secret based authentication for apis, ported from the Ruby gem of the same name
npm install signatureSignature for Node.js
=====================
Ported line for line from the Ruby gem
Signature
Usage
-----
Mostly mirrors the Ruby gem
var Signature = require('signature');
var request = new Signature.Request(method, path, params),
token = request.authenticate(function(key){
return new Signature.Token(key, secret);
});
Warning
-------
Soooo... yeah. I haven't really tested most of the code. I know I know.
But you'll let me know if anything is amuck, right? Perfect.