Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function authWithUserAndPass($username, $password) {

public function authWithOauth2($token) {

$this->setOath2Token($token);
$this->setOauth2Token($token);

}

Expand Down Expand Up @@ -260,7 +260,7 @@ public function setServer($server)
*
* @param string $token
*/
public function setOath2Token($token)
public function setOauth2Token($token)
{
$this->token = $token;

Expand Down Expand Up @@ -1651,7 +1651,7 @@ protected function initializeSoapClient()

}

$this->soap = new Oath2Soap(
$this->soap = new Oauth2Soap(
dirname(__FILE__) . '/assets/services.wsdl',
$authArray
);
Expand Down Expand Up @@ -1763,7 +1763,7 @@ protected function soapHeaders()



class Oath2Soap extends \SoapClient
class Oauth2Soap extends \SoapClient
{
/**
* cURL resource used to make the SOAP request
Expand Down Expand Up @@ -1971,4 +1971,4 @@ public function parseResponse($response)
);
$this->__last_response = substr($response, $info['header_size']);
}
}
}