summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2021-08-27 18:41:22 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2021-08-27 19:20:16 +0300
commitb1706ab1dd1f551d3809aa653f39a967cf229371 (patch)
treec978f849b01af8b5ae7c3d3067c65bd7fc6a0b7d
parent8518924f0fdde624aba37f419abfb7c94ecec7bc (diff)
downloadpysaml2-b1706ab1dd1f551d3809aa653f39a967cf229371.tar.gz
Formatting and use of public methods
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-rw-r--r--src/saml2/client.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/saml2/client.py b/src/saml2/client.py
index 532a23c9..61d81502 100644
--- a/src/saml2/client.py
+++ b/src/saml2/client.py
@@ -134,7 +134,7 @@ class Saml2Client(Base):
if expected_binding and binding != expected_binding:
continue
- destination = self._sso_location(entityid, binding)
+ destination = self.sso_location(entityid, binding)
logger.info("destination to provider: %s", destination)
# XXX - sign_post will embed the signature to the xml doc
@@ -145,11 +145,11 @@ class Saml2Client(Base):
sign_redirect = False if binding == BINDING_HTTP_POST and sign else sign
reqid, request = self.create_authn_request(
- destination,
- vorg,
- scoping,
- response_binding,
- nameid_format,
+ destination=destination,
+ vorg=vorg,
+ scoping=scoping,
+ binding=response_binding,
+ nameid_format=nameid_format,
consent=consent,
extensions=extensions,
sign=sign_post,