• Giorgos Korfiatis's avatar
    astakosclient: Separate public/private POST /tokens · 005d6796
    Giorgos Korfiatis authored
    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.
tests.py 31.2 KB