

def global_logout(self, name_id, reason='', expire=None, sign=None):
    " More or less a layer of indirection :-/\n        Bootstrapping the whole thing by finding all the IdPs that should\n        be notified.\n\n        :param name_id: The identifier of the subject that wants to be\n            logged out.\n        :param reason: Why the subject wants to log out\n        :param expire: The latest the log out should happen.\n            If this time has passed don't bother.\n        :param sign: Whether the request should be signed or not.\n            This also depends on what binding is used.\n        :return: Depends on which binding is used:\n            If the HTTP redirect binding then a HTTP redirect,\n            if SOAP binding has been used the just the result of that\n            conversation.\n        "
    if isinstance(name_id, basestring):
        name_id = decode(name_id)
    logger.info(('logout request for: %s' % name_id))
    entity_ids = self.users.issuers_of_info(name_id)
    return self.do_logout(name_id, entity_ids, reason, expire, sign)

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