From 0e17c318fa095a113fad86a37e1aabf022040e0e Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Fri, 13 Nov 2015 10:08:41 +0100 Subject: [PATCH] Needed to make sso_location into a 'public' method. --- src/saml2/client.py | 2 ++ src/saml2/client_base.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/saml2/client.py b/src/saml2/client.py index be526ce..51b3c48 100644 --- a/src/saml2/client.py +++ b/src/saml2/client.py @@ -56,6 +56,7 @@ class Saml2Client(Base): successfull log in. :param binding: Which binding to use for sending the request :param vorg: The entity_id of the virtual organization I'm a member of + :param nameid_format: :param scoping: For which IdPs this query are aimed. :param consent: Whether the principal have given her consent :param extensions: Possible extensions @@ -95,6 +96,7 @@ class Saml2Client(Base): successfull log in. :param binding: Which binding to use for sending the request :param vorg: The entity_id of the virtual organization I'm a member of + :param nameid_format: :param scoping: For which IdPs this query are aimed. :param consent: Whether the principal have given her consent :param extensions: Possible extensions diff --git a/src/saml2/client_base.py b/src/saml2/client_base.py index cbecd1d..658b792 100644 --- a/src/saml2/client_base.py +++ b/src/saml2/client_base.py @@ -155,6 +155,9 @@ class Base(Entity): except IndexError: raise IdpUnspecified("No IdP to send to given the premises") + def sso_location(self, entityid=None, binding=BINDING_HTTP_REDIRECT): + return self._sso_location(entityid, binding) + def _my_name(self): return self.config.name