diff --git a/README.md b/README.md index 7a61bef..913f803 100755 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/classes/ET_Client.html b/docs/classes/ET_Client.html index e73fc59..bcc8282 100644 --- a/docs/classes/ET_Client.html +++ b/docs/classes/ET_Client.html @@ -836,7 +836,7 @@

Parameters

Following are the possible settings.
defaultwsdl - WSDL location/path
clientid - Client Identifier optained from App Center
-clientsecred - Client secret associated with clientid
+clientsecret - Client secret associated with clientid
appsignature - Application signature optained from App Center
baseUrl - ExactTarget SOAP API Url
baseAuthUrl - ExactTarget authentication rest api resource url
diff --git a/docs/classes/ET_OEM_Client.html b/docs/classes/ET_OEM_Client.html index 1e9ef50..c3e81fa 100644 --- a/docs/classes/ET_OEM_Client.html +++ b/docs/classes/ET_OEM_Client.html @@ -878,7 +878,7 @@

Parameters

Following are the possible settings.
defaultwsdl - WSDL location/path
clientid - Client Identifier optained from App Center
-clientsecred - Client secret associated with clientid
+clientsecret - Client secret associated with clientid
appsignature - Application signature optained from App Center
baseUrl - ExactTarget SOAP API Url
baseAuthUrl - ExactTarget authentication rest api resource url
diff --git a/docs/classes/FuelSdk.ET_Client.html b/docs/classes/FuelSdk.ET_Client.html index a60c5b9..5d3630f 100644 --- a/docs/classes/FuelSdk.ET_Client.html +++ b/docs/classes/FuelSdk.ET_Client.html @@ -866,7 +866,7 @@

Parameters

Following are the possible settings.
defaultwsdl - WSDL location/path
clientid - Client Identifier optained from App Center
-clientsecred - Client secret associated with clientid
+clientsecret - Client secret associated with clientid
appsignature - Application signature optained from App Center
baseUrl - ExactTarget SOAP API Url
baseAuthUrl - ExactTarget authentication rest api resource url
diff --git a/docs/classes/FuelSdk.ET_OEM_Client.html b/docs/classes/FuelSdk.ET_OEM_Client.html index 9c732d1..01c633f 100644 --- a/docs/classes/FuelSdk.ET_OEM_Client.html +++ b/docs/classes/FuelSdk.ET_OEM_Client.html @@ -908,7 +908,7 @@

Parameters

Following are the possible settings.
defaultwsdl - WSDL location/path
clientid - Client Identifier optained from App Center
-clientsecred - Client secret associated with clientid
+clientsecret - Client secret associated with clientid
appsignature - Application signature optained from App Center
baseUrl - ExactTarget SOAP API Url
baseAuthUrl - ExactTarget authentication rest api resource url
diff --git a/docs/files/ET_Client.php.txt b/docs/files/ET_Client.php.txt index ef53e6d..ed60808 100644 --- a/docs/files/ET_Client.php.txt +++ b/docs/files/ET_Client.php.txt @@ -77,7 +77,7 @@ class ET_Client extends SoapClient * Following are the possible settings.
* defaultwsdl - WSDL location/path
* clientid - Client Identifier optained from App Center
- * clientsecred - Client secret associated with clientid
+ * clientsecret - Client secret associated with clientid
* appsignature - Application signature optained from App Center
* baseUrl - ExactTarget SOAP API Url
* baseAuthUrl - ExactTarget authentication rest api resource url
diff --git a/objsamples/sample-organization.php b/objsamples/sample-organization.php index 9fa37f7..dd8595f 100755 --- a/objsamples/sample-organization.php +++ b/objsamples/sample-organization.php @@ -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"; diff --git a/src/ET_Client.php b/src/ET_Client.php index 6d8f38f..59eab28 100755 --- a/src/ET_Client.php +++ b/src/ET_Client.php @@ -71,7 +71,7 @@ class ET_Client extends SoapClient * Following are the possible settings.
* defaultwsdl - WSDL location/path
* clientid - Client Identifier optained from App Center
- * clientsecred - Client secret associated with clientid
+ * clientsecret - Client secret associated with clientid
* appsignature - Application signature optained from App Center
* baseUrl - ExactTarget SOAP API Url
* baseAuthUrl - ExactTarget authentication rest api resource url