Jackalope\Transport\Jackrabbit\Request::setCredentials PHP Method

setCredentials() public method

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;
    }