loopback/test
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
..
e2e Use eslint with loopback config 2016-04-06 10:45:30 +02:00
fixtures Use eslint with loopback config 2016-04-06 10:45:30 +02:00
helpers Use eslint with loopback config 2016-04-06 10:45:30 +02:00
util Use eslint with loopback config 2016-04-06 10:45:30 +02:00
access-control.integration.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
access-token.test.js Allow built-in token middleware to run repeatedly 2016-04-06 15:44:20 +02:00
acl.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
app.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
change-stream.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
change.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
checkpoint.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
data-source.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
email.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
error-handler.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
geo-point.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
hidden-properties.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
integration.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
karma.conf.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
loopback.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
memory.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
model.application.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
model.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
registries.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
relations.integration.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
remote-connector.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
remoting-coercion.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
remoting.integration.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
replication.rest.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
replication.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
rest.middleware.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
role.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
support.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
user.integration.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00
user.test.js Use eslint with loopback config 2016-04-06 10:45:30 +02:00