1.0.0 • Published 6 years ago

akamai-token-auth v1.0.0

Weekly downloads
10
License
-
Repository
github
Last release
6 years ago

Akamai Token Auth

Installation

$ npm install akamai-token-auth --save

Usage

const Akamai = require('akamai-token-auth');
const akamai = new Akamai({ key: [key], [salt: [salt], algorithm: [sha256, sha1, md5], tokenName: [tokenName]]});

const token = akamai.generateToken({ acl: [acl], st: [st], window: [window] });
const qs = akamai.generateQueryString({ acl: [acl], st: [st], window: [window] });