Commit 005d6796 authored by Committed by Ilias Tsitsimpis
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.
Showing with 356 additions and 397 deletions