setDigestAuthentication() 공개 메소드

Set Digest Authentication
public setDigestAuthentication ( $username, $password = '' )
$username
$password
예제 #1
0
파일: Client.php 프로젝트: guitarmarx/Saft
 /**
  * Send digest authentication to the server via GET.
  *
  * @param  string $username
  * @param  string $password optional
  * @return string
  */
 public function sendDigestAuthentication($username, $password = null)
 {
     $this->client->setDigestAuthentication($username, $password);
     return $this->client->get($this->url);
 }