File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -171,15 +171,16 @@ public function setStrict($value)
171171    /** 
172172     * Process the SAML Response sent by the IdP. 
173173     * 
174+      * @param string $samlResponse 
174175     * @param string|null $requestId The ID of the AuthNRequest sent by this SP to the IdP 
175176     * 
176177     * @throws OneLogin_Saml2_Error 
177178     */ 
178-     public  function  processResponse (Request   $ request  , $ requestId  = null )
179+     public  function  processResponse ($ samlResponse  , $ requestId  = null )
179180    {
180181        $ this  ->_errors  = array ();
181182        $ this  ->_errorReason  = null ;
182-         if  (null  !== ( $ samlResponse =  $ request -> get ( ' SAMLResponse ' ,  null )) ) {
183+         if  (null  !== $ samlResponse ) {
183184            // AuthnResponse -- HTTP_POST Binding 
184185            $ response  = new  OneLogin_Saml2_Response ($ this  ->_settings , $ samlResponse );
185186            $ this  ->_lastResponse  = $ response ->getXMLDocument ();
@@ -211,6 +212,7 @@ public function processResponse(Request $request, $requestId = null)
211212    /** 
212213     * Process the SAML Logout Response / Logout Request sent by the IdP. 
213214     * 
215+      * @param Request     $request 
214216     * @param bool        $keepLocalSession              When false will destroy the local session, otherwise will keep it 
215217     * @param string|null $requestId                     The ID of the LogoutRequest sent by this SP to the IdP 
216218     * @param bool        $retrieveParametersFromServer 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments