summary refs log tree commit diff
path: root/tests/rest/client/v1/utils.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to validate macaroonsDaniel Wagner-Hall2015-08-261-3/+0
| | | | | | | | | | | | | 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.
* s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-1/+1
| | | | We're about to have two kinds of token, access and refresh
* Move client rest tests back under restMark Haines2015-01-221-0/+134