Revision 736072e2 kamaki/clients/astakos/__init__.py

b/kamaki/clients/astakos/__init__.py
56 56
            self.get_endpoints(), ep_type=service_type, ep_version_id=version)
57 57
        return services[0]['endpoints'][0] if services else []
58 58

  
59
    @property
60
    def user_info(self):
61
        return self.authenticate()['access']['user']
62

  
63
    def user_term(self, term):
64
        return self.user_info[term]
65

  
59 66

  
60 67
def _astakos_error(foo):
61 68
    def wrap(self, *args, **kwargs):

Also available in: Unified diff