summary refs log tree commit diff
path: root/synapse/replication/resource.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-09-09 18:17:42 +0100
committerMark Haines <mark.haines@matrix.org>2016-09-09 18:17:42 +0100
commit8e01263587d47c95b234ae10c30ef0d74585ba53 (patch)
tree3efc75260556419adbb6bd7a8965e2e8ea347d6f /synapse/replication/resource.py
parentAdd helper function for getting access_tokens from requests (diff)
downloadsynapse-8e01263587d47c95b234ae10c30ef0d74585ba53.tar.xz
Allow clients to supply access_tokens as headers
Clients can continue to supply access tokens as query parameters
or can supply the token as a header:

   Authorization: Bearer <access_token_goes_here>

This matches the ouath2 format of
https://tools.ietf.org/html/rfc6750#section-2.1
Diffstat (limited to 'synapse/replication/resource.py')
0 files changed, 0 insertions, 0 deletions