« Previous | Next » 

Revision 45c0bcf8

ID45c0bcf876271e9b847995132fd191f2593638b6

Added by Giorgos Korfiatis over 7 years ago

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.

Initialize endpoints lazily: when a URL is missing, get_endpoints()
is triggered.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences