Needed to make sso_location into a 'public' method.

This commit is contained in:
Roland Hedberg
2015-11-13 10:08:41 +01:00
parent 248c629aa5
commit 0e17c318fa
2 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -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