Jackalope\Transport\Jackrabbit\Request::setCredentials PHP Метод

setCredentials() публичный Метод

Set the credentials for the request. Setting them to null will make a request without authentication header.
public setCredentials ( PHPCR\CredentialsInterface $creds = null )
$creds PHPCR\CredentialsInterface the credentials to use in the request.
    public function setCredentials(CredentialsInterface $creds = null)
    {
        $this->credentials = $creds;
    }