Skip to content

Commit dffcbb3

Browse files
committed
Add method description
1 parent 21a53c3 commit dffcbb3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/onelogin/saml2/idp_metadata_parser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ def get_metadata(url, validate_cert=True):
3232
:param url: Url where the XML of the Identity Provider Metadata is published.
3333
:type url: string
3434
35+
:param validate_cert: If the url uses https schema, that flag enables or not the verification of the associated certificate.
36+
:type validate_cert: bool
37+
3538
:returns: metadata XML
3639
:rtype: string
3740
"""
@@ -67,6 +70,9 @@ def parse_remote(url, validate_cert=True, entity_id=None, **kwargs):
6770
:param url: Url where the XML of the Identity Provider Metadata is published.
6871
:type url: string
6972
73+
:param validate_cert: If the url uses https schema, that flag enables or not the verification of the associated certificate.
74+
:type validate_cert: bool
75+
7076
:param entity_id: Specify the entity_id of the EntityDescriptor that you want to parse a XML
7177
that contains multiple EntityDescriptor.
7278
:type entity_id: string

0 commit comments

Comments
 (0)