|  | @@ 5476-5483 (lines=8) @@ | 
                                                            
                                    | 5473 |  |      * @param array  $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, certpassword (optional), verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) | 
                                                            
                                    | 5474 |  |      * @access   public | 
                                                            
                                    | 5475 |  |      */ | 
                                                            
                                    | 5476 |  |     public function setCredentials($username, $password, $authtype = 'basic', $certRequest = array()) | 
                                                            
                                    | 5477 |  |     { | 
                                                            
                                    | 5478 |  |         $this->debug("setCredentials username=$username authtype=$authtype certRequest="); | 
                                                            
                                    | 5479 |  |         $this->appendDebug($this->varDump($certRequest)); | 
                                                            
                                    | 5480 |  |         $this->username    = $username; | 
                                                            
                                    | 5481 |  |         $this->password    = $password; | 
                                                            
                                    | 5482 |  |         $this->authtype    = $authtype; | 
                                                            
                                    | 5483 |  |         $this->certRequest = $certRequest; | 
                                                            
                                    | 5484 |  |     } | 
                                                            
                                    | 5485 |  |  | 
                                                            
                                    | 5486 |  |     /** | 
                                                                                
                                |  | @@ 8271-8278 (lines=8) @@ | 
                                                            
                                    | 8268 |  |      * @param array  $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) | 
                                                            
                                    | 8269 |  |      * @access   public | 
                                                            
                                    | 8270 |  |      */ | 
                                                            
                                    | 8271 |  |     public function setCredentials($username, $password, $authtype = 'basic', $certRequest = array()) | 
                                                            
                                    | 8272 |  |     { | 
                                                            
                                    | 8273 |  |         $this->debug("setCredentials username=$username authtype=$authtype certRequest="); | 
                                                            
                                    | 8274 |  |         $this->appendDebug($this->varDump($certRequest)); | 
                                                            
                                    | 8275 |  |         $this->username    = $username; | 
                                                            
                                    | 8276 |  |         $this->password    = $password; | 
                                                            
                                    | 8277 |  |         $this->authtype    = $authtype; | 
                                                            
                                    | 8278 |  |         $this->certRequest = $certRequest; | 
                                                            
                                    | 8279 |  |     } | 
                                                            
                                    | 8280 |  |  | 
                                                            
                                    | 8281 |  |     /** |