1.0.8 • Published 10 years ago

capital-auth v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

capital-auth

jwt auth implementation on capital projects

version

1.0.2

dependencies

  • jsonwebtoken
  • body-parser

instalation

$ npm install capital-auth

usage

var secretKey = 'your secret key';

var auth = require('capital-auth');

router.use(auth.authorize(secretKey));
//all request below this point will require token
router.get('/', callback);
1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago