History | View | Annotate | Download (2.7 kB)
astakos: Remove call GET /authenticate
Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()and replace its uses by AstakosClient.authenticate().
astakos: Strengthen authentication in user_from_token
All user-related API calls make use of this decorator to authenticatethe user. Previously it used to check only for the existence of the token;now it makes all checks previously found in the `authenticate' API call....
astakos: Remove some unused imports
Also add a missing import in quotas.py
astakos: change authenticate api call
``/astakos/api/authenticate`` calldoes not include any more resource usage in the reply.(``usage`` request parameter has become obsolete)The services in order to get the resource usage should call``/astakos/api/quotas`` instead.
astakos: include resource presentation info in authenticate response
If option parameter ``usage`` is passed then the response shouldcontain also the resource presentation information(as it used to be in the past)
astakos: remove astakos.im.api module
Replace all AstakosCallpoint references
astakos: remove user argument from the api methods
User request.user field (set by user_for_token decorator)
astakos: WIP move all api calls under ``/astakos/api``
Refs: #3340
astakos: rename api utility methods
astakos: fix user api utility calls