iiot-hmac-request
Generate Hmac Authorization Header
Last updated 4 years ago by koichidino .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install iiot-hmac-request 
SYNC missed versions from official npm registry.

iiot-hmac-request

Generate Hmac Authorization Header

Example

var IiotHmac = require('iiot-hmac-request');

var hmac = new IiotHmac({
  iiotAccessKeyId : "YOUR_KEY_ID",
  iiotSecretKey   : "YOUR_KEY_SECRET"
});

var headers = hmac.getHeaders();
// -->
// {
//    "Date":"Wed, 14 Sep 2016 06:01:46 GMT",
//    "Authorization":"IIOT e9264147b413746293e539868c8edff71715e1e3:zFkviwleO1MjN9U4y4RN5H9r9qP7d11axe7gDIgaVrM="
// }

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

1 Versions

  • 1.0.2                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |