Revision b4b82ec4 astakosclient/astakosclient/__init__.py

b/astakosclient/astakosclient/__init__.py
170 170
        return self._get_value('_ui_prefix')
171 171

  
172 172
    @property
173
    def api_authenticate(self):
174
        return join_urls(self.account_prefix, "authenticate")
175

  
176
    @property
177 173
    def api_usercatalogs(self):
178 174
        return join_urls(self.account_prefix, "user_catalogs")
179 175

  
......
285 281
            self.logger.error(msg % (data, str(err)))
286 282
            raise InvalidResponse(str(err), data)
287 283

  
288
    # ------------------------
289
    # do a GET to ``API_AUTHENTICATE``
290
    def get_user_info(self):
291
        """Authenticate user and get user's info as a dictionary
292

  
293
        In case of success return user information (json parsed format).
294
        Otherwise raise an AstakosClientException.
295

  
296
        """
297
        return self._call_astakos(self.api_authenticate)
298

  
299 284
    # ----------------------------------
300 285
    # do a POST to ``API_USERCATALOGS`` (or ``API_SERVICE_USERCATALOGS``)
301 286
    #   with {'uuids': uuids}

Also available in: Unified diff