loopback/server/middleware
Benjamin Kröger e4b275243f 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:47:32 +02:00
..
context.js Add `loopback.runInContext` 2015-03-27 19:12:17 +01: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 Move middleware sources to `server/middleware` 2014-11-12 12:44:34 +01:00
token.js Allow built-in token middleware to run repeatedly 2016-04-06 15:47:32 +02:00
url-not-found.js Move middleware sources to `server/middleware` 2014-11-12 12:44:34 +01:00