Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API: expect JWT in the Authorization header | VirtualTam | 2017-01-15 | 1 | -3/+26 |
| | | | | | | | | | | | | | | | | | 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> | ||||
* | REST API structure using Slim framework | ArthurHoaro | 2016-12-15 | 1 | -0/+184 |
* REST API routes are handle by Slim. * Every API controller go through ApiMiddleware which handles security. * First service implemented `/info`, for tests purpose. |