Did I find the right examples for you? yes no

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)
Deal with a Response

:param xmlstr: The response as a xml string
:param response_cls: What type of response it is
:param binding: What type of binding this message came through.
:param kwargs: Extra key word arguments
:return: None if the reply doesn't contain a valid SAML Response,
    otherwise the response.

src/p/y/pysaml2-2.0.0/src/saml2/client_base.py   pysaml2(Download)
            }
            try:
                resp = self._parse_response(xmlstr, AuthnResponse,
                                            "assertion_consumer_service",
                                            binding, **kwargs)
                  "attribute_converters": self.config.attribute_converters}
 
        return self._parse_response(response, AuthzResponse, "", binding,
                                    **kwargs)
 
                  "attribute_converters": self.config.attribute_converters}
 
        return self._parse_response(response, AuthnQueryResponse, "", binding,
                                    **kwargs)
 
                  "attribute_converters": self.config.attribute_converters}
 
        res = self._parse_response(response, AssertionIDResponse, "", binding,
                                   **kwargs)
        return res
    def parse_attribute_query_response(self, response, binding):
        kwargs = {"entity_id": self.config.entityid,
                  "attribute_converters": self.config.attribute_converters}
 
        return self._parse_response(response, AttributeResponse,

src/p/y/pysaml2-HEAD/src/saml2/client_base.py   pysaml2(Download)
            }
            try:
                resp = self._parse_response(xmlstr, AuthnResponse,
                                            "assertion_consumer_service",
                                            binding, **kwargs)
                  "attribute_converters": self.config.attribute_converters}
 
        return self._parse_response(response, AuthzResponse, "", binding,
                                    **kwargs)
 
                  "attribute_converters": self.config.attribute_converters}
 
        return self._parse_response(response, AuthnQueryResponse, "", binding,
                                    **kwargs)
 
                  "attribute_converters": self.config.attribute_converters}
 
        res = self._parse_response(response, AssertionIDResponse, "", binding,
                                   **kwargs)
        return res
    def parse_attribute_query_response(self, response, binding):
        kwargs = {"entity_id": self.config.entityid,
                  "attribute_converters": self.config.attribute_converters}
 
        return self._parse_response(response, AttributeResponse,