diff options
author | VirtualTam <virtualtam@flibidi.net> | 2017-01-07 22:23:47 +0100 |
---|---|---|
committer | VirtualTam <virtualtam+github@flibidi.net> | 2017-01-15 13:41:04 +0100 |
commit | 63ef549749fac9d0e302842f06e7794d1daabc13 (patch) | |
tree | 0ff9dc942d61ca50a251a900f1b923ac8ff39cda /tests/api/ApiUtilsTest.php | |
parent | 37ab940599d40472c5b4a3bbe5a10515046c64ee (diff) | |
download | Shaarli-63ef549749fac9d0e302842f06e7794d1daabc13.tar.gz Shaarli-63ef549749fac9d0e302842f06e7794d1daabc13.tar.zst Shaarli-63ef549749fac9d0e302842f06e7794d1daabc13.zip |
API: expect JWT in the Authorization header
Relates to https://github.com/shaarli/Shaarli/pull/731
Added:
- require the presence of the 'Authorization' header
Changed:
- use the HTTP Bearer Token authorization schema
See:
- https://jwt.io/introduction/#how-do-json-web-tokens-work-
- https://tools.ietf.org/html/rfc6750
- http://security.stackexchange.com/q/108662
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/api/ApiUtilsTest.php')
0 files changed, 0 insertions, 0 deletions