Skip to content

Commit b1706ab

Browse files
committed
Formatting and use of public methods
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 8518924 commit b1706ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/saml2/client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def prepare_for_negotiated_authenticate(
134134
if expected_binding and binding != expected_binding:
135135
continue
136136

137-
destination = self._sso_location(entityid, binding)
137+
destination = self.sso_location(entityid, binding)
138138
logger.info("destination to provider: %s", destination)
139139

140140
# XXX - sign_post will embed the signature to the xml doc
@@ -145,11 +145,11 @@ def prepare_for_negotiated_authenticate(
145145
sign_redirect = False if binding == BINDING_HTTP_POST and sign else sign
146146

147147
reqid, request = self.create_authn_request(
148-
destination,
149-
vorg,
150-
scoping,
151-
response_binding,
152-
nameid_format,
148+
destination=destination,
149+
vorg=vorg,
150+
scoping=scoping,
151+
binding=response_binding,
152+
nameid_format=nameid_format,
153153
consent=consent,
154154
extensions=extensions,
155155
sign=sign_post,

0 commit comments

Comments
 (0)