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

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

        if ($secure) {
            $this->options->set('protocol', 'https');
        }
    }
public function authenticate ( $ publicKey , $ privateKey , $ secure = true ) { $ this -> options -> set ( 'publicKey' , $ publicKey ) ; $ this -> options -> set ( 'privateKey' , $ privateKey ) ; if ( $ secure ) { $ this -> options -> set ( 'protocol' , 'https' ) ; } }
Authenticate the application. If secure is true use SSL
@param $publicKey
@param $privateKey
@param bool $secure
@return void
Authenticate the application . If secure is true use SSL