@@ -159,7 +159,7 @@ def _issuer(self, entityid=None):
159
159
format = NAMEID_FORMAT_ENTITY )
160
160
161
161
def apply_binding (self , binding , msg_str , destination = "" , relay_state = "" ,
162
- response = False , sign = False ):
162
+ response = False , sign = False , ** kwargs ):
163
163
"""
164
164
Construct the necessary HTTP arguments dependent on Binding
165
165
@@ -169,6 +169,7 @@ def apply_binding(self, binding, msg_str, destination="", relay_state="",
169
169
:param destination: Where to send the message
170
170
:param relay_state: Relay_state if provided
171
171
:param response: Which type of message this is
172
+ :param kwargs: response type specific arguments
172
173
:return: A dictionary
173
174
"""
174
175
# unless if BINDING_HTTP_ARTIFACT
@@ -189,7 +190,7 @@ def apply_binding(self, binding, msg_str, destination="", relay_state="",
189
190
info ["url" ] = str (destination )
190
191
info ["method" ] = "GET"
191
192
elif binding == BINDING_SOAP or binding == BINDING_PAOS :
192
- info = self .use_soap (msg_str , destination , sign = sign )
193
+ info = self .use_soap (msg_str , destination , sign = sign , ** kwargs )
193
194
elif binding == BINDING_URI :
194
195
info = self .use_http_uri (msg_str , typ , destination )
195
196
elif binding == BINDING_HTTP_ARTIFACT :
0 commit comments