Releases: ddo/oauth-1.0a
Releases · ddo/oauth-1.0a
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.1
v2.1.0
v2.0.0
change:
- rename
consumer.public
toconsumer.key
var oauth = OAuth({
consumer: {
key: '<your consumer key>',
secret: '<your consumer secret>'
},
});
- remove CryptoJs dependency, make PLAINTEXT as default signature method
read more here: https://github.com/ddo/oauth-1.0a#crypto
var crypto = require('crypto');
...
var oauth = OAuth({
consumer: {
key: '<your consumer key>',
secret: '<your consumer secret>'
},
signature_method: 'HMAC-SHA1',
hash_function: function(base_string, key) {
return crypto.createHmac('sha1', key).update(base_string).digest('base64');
}
});
fix:
- fix empty GET param