trek-jwt
JSON Web Tokens Middleware for Trek.js
Installation
$ npm install trek-jwt --save
Examples
'use strict' const Engine = const jwt = { const app = const secret = 'Trek Engine' app app app app}
API
const defaults = key: 'user' secret: undefined skip: false tokenLookup: 'header:Authorization' authScheme: 'Bearer' verifyOptions: undefined passthrough: false