1.0.10 • Published 8 years ago

capital-auth v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago