« Previous | Next » 

Revision 67920ea0

ID67920ea0b0be77f4200ad15a5ea4fa313371e0bb

Added by Giorgos Korfiatis almost 11 years ago

astakos: Strengthen authentication in user_from_token

All user-related API calls make use of this decorator to authenticate
the 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.
The latter now just prepares the response data; it depends on the
decorator for authentication per se.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences