'List the available domains.
:rtype: ``list`` of :class:`OpenStackIdentityDomain`'

def list_domains(self):

    response = self.authenticated_request('/v3/domains', method='GET')
    result = self._to_domains(data=response.object['domains'])
    return result
