File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,13 +201,13 @@ public function setSchemasPath($path)
201201 * @throws OneLogin_Saml2_Error
202202 * @throws OneLogin_Saml2_ValidationError
203203 */
204- public function processResponse ($ requestId = null )
204+ public function processResponse ($ requestId = null , $ payload =[] )
205205 {
206206 $ this ->_errors = array ();
207207 $ this ->_errorReason = null ;
208- if (isset ($ _POST ['SAMLResponse ' ])) {
208+ if (isset ($ payload ['SAMLResponse ' ])) {
209209 // AuthnResponse -- HTTP_POST Binding
210- $ response = new OneLogin_Saml2_Response ($ this ->_settings , $ _POST ['SAMLResponse ' ]);
210+ $ response = new OneLogin_Saml2_Response ($ this ->_settings , $ payload ['SAMLResponse ' ]);
211211 $ this ->_lastResponse = $ response ->getXMLDocument ();
212212
213213 if ($ response ->isValid ($ requestId )) {
You can’t perform that action at this time.
0 commit comments