Skip to content

Commit ca27889

Browse files
committed
Add documentation of OneLogin_Saml2_XML class
1 parent 6f4542d commit ca27889

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ Auxiliary class that contains several methods
866866

867867
* ***decode_base64_and_inflate*** Base64 decodes and then inflates according to RFC1951.
868868
* ***deflate_and_base64_encode*** Deflates and the base64 encodes a string.
869-
* ***validate_xml*** Validates a xml against a schema.
870869
* ***format_cert*** Returns a x509 cert (adding header & footer if required).
871870
* ***format_private_key*** Returns a private key (adding header & footer if required).
872871
* ***redirect*** Executes a redirection to the provided url (or return the target url).
@@ -882,7 +881,6 @@ Auxiliary class that contains several methods
882881
* ***now*** Returns unix timestamp of actual time.
883882
* ***parse_duration*** Interprets a ISO8601 duration value relative to a given timestamp.
884883
* ***get_expire_time*** Compares 2 dates and returns the earliest.
885-
* ***query*** Extracts nodes that match the query from the Element.
886884
* ***delete_local_session*** Deletes the local session.
887885
* ***calculate_x509_fingerprint*** Calculates the fingerprint of a x509cert.
888886
* ***format_finger_print*** Formates a fingerprint.
@@ -894,6 +892,16 @@ Auxiliary class that contains several methods
894892
* ***validate_sign*** Validates a signature (Message or Assertion).
895893
* ***validate_binary_sign*** Validates signed bynary data (Used to validate GET Signature).
896894

895+
####OneLogin_Saml2_XML- xml_utils.py####
896+
897+
A class that contains methods to handle XMLs
898+
899+
* ***to_string*** Serialize an element to an encoded string representation of its XML tree.
900+
* ***to_etree*** Parses an XML document or fragment from a string.
901+
* ***validate_xml*** Validates a xml against a schema
902+
* ***query*** Extracts nodes that match the query from the Element
903+
* ***extract_tag_text***
904+
897905
####OneLogin_Saml2_IdPMetadataParser - idp_metadata_parser.py####
898906

899907
A class that contains methods to obtain and parse metadata from IdP

0 commit comments

Comments
 (0)