diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-05-23 09:52:48 +0200 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-05-23 09:52:48 +0200 |
commit | c213709bb591f4de02b31ee340b3480b26351256 (patch) | |
tree | cbd0783ba5ab6e858109a4bb467b3d0d3ca04e9f | |
parent | 34a274b4dd0ed0e3bd300d933c6dccdb0098ccdf (diff) | |
download | pysaml2-c213709bb591f4de02b31ee340b3480b26351256.tar.gz |
editorial
-rw-r--r-- | src/saml2/extension/idpdisc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/saml2/extension/idpdisc.py b/src/saml2/extension/idpdisc.py index 220e4ca1..dc515584 100644 --- a/src/saml2/extension/idpdisc.py +++ b/src/saml2/extension/idpdisc.py @@ -10,8 +10,10 @@ from saml2 import md NAMESPACE = 'urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol' BINDING_DISCO = "urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" + class DiscoveryResponse(md.IndexedEndpointType_): - """The urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol:DiscoveryResponse element """ + """The urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol: + DiscoveryResponse element """ c_tag = 'DiscoveryResponse' c_namespace = NAMESPACE @@ -20,6 +22,7 @@ class DiscoveryResponse(md.IndexedEndpointType_): c_child_order = md.IndexedEndpointType_.c_child_order[:] c_cardinality = md.IndexedEndpointType_.c_cardinality.copy() + def discovery_response_from_string(xml_string): return saml2.create_class_from_xml_string(DiscoveryResponse, xml_string) |