loopback/server/middleware
Benjamin Kröger 9e0405de9f Allow built-in token middleware to run repeatedly
Add two new options:

  - When `enableDoublecheck` is true, the middleware will run
    even if a previous middleware has already set `req.accessToken`
    (possibly to `null` for anonymous requests)

  - When `overwriteExistingToken` is true (and `enableDoublecheck` too),
    the middleware will overwrite `req.accessToken` set by a previous
    middleware instances.
2016-04-06 15:44:20 +02:00
..
context.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
error-handler.js Create stack-removing errorhandler middleware 2015-09-03 08:38:24 +02:00
favicon.js Update favicon.js 2014-11-24 15:08:21 -08:00
rest.js Add support for app level Model isolation 2015-04-03 11:48:45 -07:00
static.js Move middleware sources to `server/middleware` 2014-11-12 12:44:34 +01:00
status.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
token.js Allow built-in token middleware to run repeatedly 2016-04-06 15:44:20 +02:00
url-not-found.js Move middleware sources to `server/middleware` 2014-11-12 12:44:34 +01:00