Needed to make sso_location into a 'public' method.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user