File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1010use SimpleSAML \HTTP \RunnableResponse ;
1111use SimpleSAML \Metadata \MetaDataStorageHandler ;
1212use SimpleSAML \SAML2 \Binding ;
13- use SimpleSAML \SAML2 \Binding \{SynchronousBindingException , HTTPPost };
13+ use SimpleSAML \SAML2 \Binding \{SynchronousBindingException , SOAP };
1414use SimpleSAML \SAML2 \Constants as C ;
1515use SimpleSAML \SAML2 \Utils as SAML2_Utils ;
1616use SimpleSAML \SAML2 \XML \saml \{
@@ -226,10 +226,8 @@ public function main(/** @scrutinizer ignore-unused */ Request $request): Runnab
226226
227227 self ::addSign ($ idpMetadata , $ spMetadata , $ response );
228228
229- $ httpPost = new HTTPPost ();
230- $ httpPost ->setRelayState ($ binding ->getRelayState ());
231-
232- return new RunnableResponse ([$ httpPost , 'send ' ], [$ response ]);
229+ $ soap = new SOAP ();
230+ return new RunnableResponse ([$ soap , 'send ' ], [$ response ]);
233231 }
234232
235233
You can’t perform that action at this time.
0 commit comments