

def do_authn_query(self, entity_id, consent=None, extensions=None, sign=False):
    srvs = self.metadata.authn_request_service(entity_id, BINDING_SOAP)
    for destination in destinations(srvs):
        resp = self._use_soap(destination, 'authn_query', consent=consent, extensions=extensions, sign=sign)
        if resp:
            return resp
    return None

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/client.py Saml2Client.do_authn_query/original