summaryrefslogtreecommitdiff
path: root/src/saml2/httpbase.py
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2020-11-18 23:30:40 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2020-11-23 14:58:13 +0200
commitbb7669369ac6c4412a580863b7e86ee7166c7c81 (patch)
tree0057a817506a018de33751b39ba66e79440b4a94 /src/saml2/httpbase.py
parentec3f5985c9548d4d186c98a0d5c95f83ba7e1cd8 (diff)
downloadpysaml2-bb7669369ac6c4412a580863b7e86ee7166c7c81.tar.gz
Create the signer along with the sigalg allowance check
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'src/saml2/httpbase.py')
-rw-r--r--src/saml2/httpbase.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py
index a6846dab..6a0d1ce7 100644
--- a/src/saml2/httpbase.py
+++ b/src/saml2/httpbase.py
@@ -388,25 +388,3 @@ class HTTPBase(object):
def add_credentials(self, user, passwd):
self.user = user
self.passwd = passwd
-
- @staticmethod
- def use_http_get(message, destination, relay_state,
- typ="SAMLRequest", sigalg="", signer=None, **kwargs):
- """
- Send a message using GET, this is the HTTP-Redirect case so
- no direct response is expected to this request.
-
- :param message:
- :param destination:
- :param relay_state:
- :param typ: Whether a Request, Response or Artifact
- :param sigalg: Which algorithm the signature function will use to sign
- the message
- :param signer: A signing function that can be used to sign the message
- :return: dictionary
- """
- if not isinstance(message, six.string_types):
- message = "%s" % (message,)
-
- return http_redirect_message(message, destination, relay_state, typ,
- sigalg, signer)