refstack/refstack
sslipushenko ddcefa47ed Add authentication with Json Web Tokens
This patch allows to authenticate user with JSON Web Token in the RefStack
API. It keeps compatibility with previous method of posting signed results

How to generate valid token:
> jwt --key="$( cat %path to private key% )" --alg=RS256 user_openid=%openstackid% exp=+100500

How to test auth in API:
> curl -k --header "Authorization: Bearer %token%" https://localhost.org/v1/profile

Change-Id: I56c88e2fb0ce0e8d6a8b67fba3c2cf25458e1807
2016-12-17 09:25:15 +00:00
..
api Add authentication with Json Web Tokens 2016-12-17 09:25:15 +00:00
db Only Foundation admins can update the 'name' fields of official vendors 2016-12-06 11:00:59 -08:00
tests Add authentication with Json Web Tokens 2016-12-17 09:25:15 +00:00
__init__.py Add authentication through openstackid.org 2015-07-02 16:20:55 +03:00
opts.py Add endpoint and UI for public keys uploading 2015-08-13 20:40:55 +00:00