2.0.0 • Published 9 years ago

trucktrack-token-check v2.0.0

Weekly downloads
25
License
-
Repository
bitbucket
Last release
9 years ago

trucktrack-token-check

Oauth token checker for trucktrac node.js microservices

build status

Installation

This module is installed via npm:

$ npm install trucktrack-token-check

Example Usage

var tokenCheck = require('trucktrack-token-check');
var localStorage = require('continuation-local-storage');
var oauthNamespace = localStorage.createNamespace('oauth');
app.use(function(req, res, next) {
  oauthNamespace.run(function () {
    tokenCheck(req, res, config, next);
  });
});
2.0.0

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago