Rebecca Law
416dd00ac8
Added a test for the case when there is no secret for the api client.
...
Fix codestyle
2016-02-08 11:33:24 +00:00
Rebecca Law
877a8a0411
Added logging for the authentication errors.
...
Moved the "no api secret" error message to the end and only create it if there are no
api client secrets
2016-02-08 11:10:54 +00:00
Rebecca Law
27a381c3e9
Allow services to have multiple api keys.
...
/service/<service_id>/api-key/renew has been renamed to /service/<service_id>/api-key
/service/<service_id>/api-key now creates a token and no longer expires the existing api key.
Moved test for this endpoint to it's own file.
2016-01-20 10:57:46 +00:00
Rebecca Law
1db57dca8c
Allow for multiple api keys for a service.
2016-01-19 18:25:21 +00:00
Martyn Inglis
7ecede46e5
Merge branch 'master' into proxy-to-alpha
...
Conflicts:
config.py
2016-01-19 14:11:20 +00:00
Rebecca Law
d15e68238d
Authentication for admin client api calls where a user and service is not required.
2016-01-19 14:01:26 +00:00
Martyn Inglis
346bc9feac
Merge branch 'master' into proxy-to-alpha
2016-01-19 13:49:54 +00:00
Martyn Inglis
7b756567af
Updated tests for fetch notifications by id, not simply fetch all
2016-01-19 13:45:57 +00:00
Rebecca Law
4fc5c34320
Change Tokens to ApiKey
...
Added name to ApiKey model
2016-01-19 12:13:47 +00:00
Rebecca Law
0ad292300d
Added authorization headers for all requests
2016-01-15 17:02:29 +00:00
Rebecca Law
34693d70af
Removed the main package.
2016-01-14 14:28:23 +00:00