Skip to content

Commit fbff99e

Browse files
committed
Fix docstring for the return type of create_authn_request
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent ddb78de commit fbff99e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/saml2/client_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ def create_authn_request(self, destination, vorg="", scoping=None,
254254
of fulfilling the request, to create a new identifier to represent
255255
the principal.
256256
:param kwargs: Extra key word arguments
257-
:return: tuple of request ID and <samlp:AuthnRequest> instance
257+
:return: either a tuple of request ID and <samlp:AuthnRequest> instance
258+
or a tuple of request ID and str when sign is set to True
258259
"""
259260
client_crt = None
260261
if "client_crt" in kwargs:

0 commit comments

Comments
 (0)