summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2019-01-14 21:46:02 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2019-01-14 21:46:02 +0200
commitfbff99e4d3cbd1b53150019f41d88654058bb751 (patch)
treec9defc28a7d10c6510faae27d3d550462425c7f3
parentddb78de1ff43a3a43e20017cb05d16d223d7da7e (diff)
downloadpysaml2-fbff99e4d3cbd1b53150019f41d88654058bb751.tar.gz
Fix docstring for the return type of create_authn_request
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-rw-r--r--src/saml2/client_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/saml2/client_base.py b/src/saml2/client_base.py
index d5e0cbd5..39a7d0ed 100644
--- a/src/saml2/client_base.py
+++ b/src/saml2/client_base.py
@@ -254,7 +254,8 @@ class Base(Entity):
of fulfilling the request, to create a new identifier to represent
the principal.
:param kwargs: Extra key word arguments
- :return: tuple of request ID and <samlp:AuthnRequest> instance
+ :return: either a tuple of request ID and <samlp:AuthnRequest> instance
+ or a tuple of request ID and str when sign is set to True
"""
client_crt = None
if "client_crt" in kwargs: