loopback/server
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
..
middleware Allow built-in token middleware to run repeatedly 2016-04-06 15:47:32 +02:00
current-context.js Add `loopback.runInContext` 2015-03-27 19:12:17 +01:00