Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Fix ET_Client() usage #102

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ The ET_Client class accepts multiple parameters
**Parameters** - Allows for passing authentication information for use with SSO with a JWT or for passing ClientID/ClientSecret if you would prefer to not use the config file option.

Example passing JWT:
> $myclient = new ET_Client(true, array("jwt"=>"JWT Values goes here"));
> $myclient = new ET_Client(true, true, array("jwt"=>"JWT Values goes here"));

Example passing ClientID/ClientSecret:
> $myclient = new ET_Client(true, array("clientid" => "3bjbc3mg4nbk64z5kzczf89n", "clientsecret"=>"ssnGAPvZg6kmm775KPj2Q4Cs"));
> $myclient = new ET_Client(true, true, array("clientid" => "3bjbc3mg4nbk64z5kzczf89n", "clientsecret"=>"ssnGAPvZg6kmm775KPj2Q4Cs"));

## Responses ##
All methods on Fuel SDK objects return a generic object that follows the same structure, regardless of the type of call. This object contains a common set of properties used to display details about the request.
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/ET_Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ <h4>Parameters</h4>
<b>Following are the possible settings.</b></br>
<i><b>defaultwsdl</b></i> - WSDL location/path</br>
<i><b>clientid</b></i> - Client Identifier optained from App Center</br>
<i><b>clientsecred</b></i> - Client secret associated with clientid</br>
<i><b>clientsecret</b></i> - Client secret associated with clientid</br>
<i><b>appsignature</b></i> - Application signature optained from App Center</br>
<i><b>baseUrl</b></i> - ExactTarget SOAP API Url</br>
<i><b>baseAuthUrl</b></i> - ExactTarget authentication rest api resource url</br>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/ET_OEM_Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ <h4>Parameters</h4>
<b>Following are the possible settings.</b></br>
<i><b>defaultwsdl</b></i> - WSDL location/path</br>
<i><b>clientid</b></i> - Client Identifier optained from App Center</br>
<i><b>clientsecred</b></i> - Client secret associated with clientid</br>
<i><b>clientsecret</b></i> - Client secret associated with clientid</br>
<i><b>appsignature</b></i> - Application signature optained from App Center</br>
<i><b>baseUrl</b></i> - ExactTarget SOAP API Url</br>
<i><b>baseAuthUrl</b></i> - ExactTarget authentication rest api resource url</br>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/FuelSdk.ET_Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ <h4>Parameters</h4>
<b>Following are the possible settings.</b></br>
<i><b>defaultwsdl</b></i> - WSDL location/path</br>
<i><b>clientid</b></i> - Client Identifier optained from App Center</br>
<i><b>clientsecred</b></i> - Client secret associated with clientid</br>
<i><b>clientsecret</b></i> - Client secret associated with clientid</br>
<i><b>appsignature</b></i> - Application signature optained from App Center</br>
<i><b>baseUrl</b></i> - ExactTarget SOAP API Url</br>
<i><b>baseAuthUrl</b></i> - ExactTarget authentication rest api resource url</br>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/FuelSdk.ET_OEM_Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ <h4>Parameters</h4>
<b>Following are the possible settings.</b></br>
<i><b>defaultwsdl</b></i> - WSDL location/path</br>
<i><b>clientid</b></i> - Client Identifier optained from App Center</br>
<i><b>clientsecred</b></i> - Client secret associated with clientid</br>
<i><b>clientsecret</b></i> - Client secret associated with clientid</br>
<i><b>appsignature</b></i> - Application signature optained from App Center</br>
<i><b>baseUrl</b></i> - ExactTarget SOAP API Url</br>
<i><b>baseAuthUrl</b></i> - ExactTarget authentication rest api resource url</br>
Expand Down
2 changes: 1 addition & 1 deletion docs/files/ET_Client.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ET_Client extends SoapClient
* <b>Following are the possible settings.</b></br>
* <i><b>defaultwsdl</b></i> - WSDL location/path</br>
* <i><b>clientid</b></i> - Client Identifier optained from App Center</br>
* <i><b>clientsecred</b></i> - Client secret associated with clientid</br>
* <i><b>clientsecret</b></i> - Client secret associated with clientid</br>
* <i><b>appsignature</b></i> - Application signature optained from App Center</br>
* <i><b>baseUrl</b></i> - ExactTarget SOAP API Url</br>
* <i><b>baseAuthUrl</b></i> - ExactTarget authentication rest api resource url</br>
Expand Down
2 changes: 1 addition & 1 deletion objsamples/sample-organization.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

try {
$params = array();
$myclient = new ET_Client(true, $params);
$myclient = new ET_Client(true, true, $params);

// Retrieve All Organizations with GetMoreResults
print "Retrieve All Organizations with GetMoreREsults \n";
Expand Down
2 changes: 1 addition & 1 deletion src/ET_Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ET_Client extends SoapClient
* <b>Following are the possible settings.</b></br>
* <i><b>defaultwsdl</b></i> - WSDL location/path</br>
* <i><b>clientid</b></i> - Client Identifier optained from App Center</br>
* <i><b>clientsecred</b></i> - Client secret associated with clientid</br>
* <i><b>clientsecret</b></i> - Client secret associated with clientid</br>
* <i><b>appsignature</b></i> - Application signature optained from App Center</br>
* <i><b>baseUrl</b></i> - ExactTarget SOAP API Url</br>
* <i><b>baseAuthUrl</b></i> - ExactTarget authentication rest api resource url</br>
Expand Down