Revision 45c0bcf8 astakosclient/docs/index.rst
b/astakosclient/docs/index.rst | ||
---|---|---|
74 | 74 |
|
75 | 75 |
This class provides the following methods: |
76 | 76 |
|
77 |
**authenticate(**\ tenant_name=None\ **)** |
|
78 |
It authenticates the user and returns information about the user, |
|
79 |
their token as well as the service endpoints one can access. In |
|
80 |
case of error, it raises an AstakosClientException exception. |
|
81 |
|
|
77 | 82 |
**get_user_info()** |
78 | 83 |
It returns a dict with the corresponding user's info. In case of |
79 | 84 |
error, it raises an AstakosClientException exception. |
... | ... | |
124 | 129 |
success it returns nothing. Otherwise it raises an |
125 | 130 |
AstakosClientException exception. |
126 | 131 |
|
127 |
**get_endpoints(**\ uuid=None\ **)** |
|
128 |
It returns the token as well as information about the token holder and |
|
129 |
the services he/she can access. In case of error it raises an |
|
130 |
AstakosClientException exception. |
|
132 |
**get_endpoints()** |
|
133 |
It returns the services URLs one can access. In case of error it |
|
134 |
raises an AstakosClientException exception. |
|
131 | 135 |
|
132 | 136 |
**get_quotas()** |
133 | 137 |
It returns user's current quotas (as dict of dicts). In case of error |
Also available in: Unified diff