| Branch: | Tag: | Revision:

root / astakosclient @ 8a217fa2

Name Size
COPYRIGHT 1.5 kB 28 Bytes 15.4 kB 6.4 kB

Latest revisions

# Date Author Comment
259a5f9a 12/16/2013 01:03 pm Ilias Tsitsimpis

astakosclient: Pep8 fixes

6476ceb7 12/16/2013 12:22 pm Ilias Tsitsimpis

astakosclient: Suppress endpoint failures

Add an option to _fill_endpoints to only query for the oauth2
endpoint if needed. This way we are keeping astakosclient compatible
with the older Astakos versions.

Signed-off-by: Ilias Tsitsimpis <>...

8204cb4c 12/05/2013 11:00 am Ilias Tsitsimpis

astakosclient: Fix unittests

A new endpoint (astakos_oauth2) was added to Astakos service.
Add this endpoint to the astakosclient tests.

fe7d0186 12/03/2013 09:47 pm Sofia Papagiannaki

astakos oa2: rename settings and url prefixes

Change setting and url prefixes from `oa2` to

75144caa 12/03/2013 09:47 pm Sofia Papagiannaki

astakosclient: Fix Content-Type header in get_token requests

d2104099 12/03/2013 09:43 pm Sofia Papagiannaki

astakosclient: Provide call for requesting oa2 token

b39ca571 12/03/2013 09:43 pm Sofia Papagiannaki

astakosclient: Provide call for validating a temporary oa2 token

2cd636fe 10/31/2013 11:51 am Stavros Sachtouris

Log http requests/responses in members variables

This feature is useful for logging by external applications like kamaki
New member variables:
self.log_request=dict(method=.., path=.., headers=.., body=..)
self.log_response=dict(status=.., message=.., data=..)

45c0bcf8 10/29/2013 04:15 pm Giorgos Korfiatis

astakosclient: Separate public/private POST /tokens

Introduce function authenticate(), which performs POST /tokens in
private mode, i.e. giving a token to be checked for authentication.
Function get_endpoints() performs the call in public mode, in order
to retrieve the endpoints....

b4b82ec4 10/29/2013 04:15 pm Giorgos Korfiatis

astakos: Remove call GET /authenticate

Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()
and replace its uses by AstakosClient.authenticate().

View revisions

Also available in: Atom