public function authenticate($publicKey, $privateKey, $secure = true)
    {
        $this->options->set('publicKey', $publicKey);
        $this->options->set('privateKey', $privateKey);

        if ($secure) {
            $this->options->set('protocol', 'https');
        }
    }