synapse-product/tests/rest/client/v1
Daniel Wagner-Hall 6a4b650d8a Attempt to validate macaroons
A couple of weird caveats:
 * If we can't validate your macaroon, we fall back to checking that
   your access token is in the DB, and ignoring the failure
 * Even if we can validate your macaroon, we still have to hit the DB to
   get the access token ID, which we pretend is a device ID all over the
   codebase.

This mostly adds the interesting code, and points out the two pieces we
need to delete (and necessary conditions) in order to fix the above
caveats.
2015-08-26 13:22:23 +01:00
..
__init__.py Move client rest tests back under rest 2015-01-22 16:13:27 +00:00
test_events.py Fix test. 2015-07-07 16:18:36 +01:00
test_presence.py Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
test_profile.py Fix tests 2015-03-24 18:56:51 +00:00
test_rooms.py Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
test_typing.py Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
utils.py Attempt to validate macaroons 2015-08-26 13:22:23 +01:00