Token Generator for EdgeCast Token-Based Authentication
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

Verizon Digital Media Services

ectoken

node.js Token Generator for EdgeCast Token-Based Authentication

Methods

  • encrypt(key, params, verbose)
  • decrypt(key, token, verbose)

Example

const ectoken = require('ectoken').V3;

// encrypt
const token = ectoken.encrypt('keyvalue', 'ec_expire=1257642471&ec_clientip=11.22.33.1');

// decrypt
const params = ectoken.decrypt('keyvalue', token);

License

View legal and licensing information.