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
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ class Initialize

$pickListValidation = false;

$enableSSLVerification = true;

$connectionTimeout = 2;

$timeout = 2;
Expand Down Expand Up @@ -646,12 +648,14 @@ class MultiThread

$tokenstore = new FileStore("/Users/user_name/Documents/php_sdk_token.txt");

$token1 = new OAuthToken("clientId1", "clientSecrect1", "REFRESH/GRANT token", TokenType.REFRESH/GRANT, "redirectURL1");
$token1 = new OAuthToken("clientId1", "clientSecrect1", "REFRESH/GRANT token", TokenType::REFRESH/GRANT, "redirectURL1");

$autoRefreshFields = false;

$pickListValidation = false;

$enableSSLVerification = true;

$connectionTimeout = 2;

$timeout = 2;
Expand All @@ -668,7 +672,7 @@ class MultiThread

$user2 = new UserSignature("[email protected]");

$token2 = new OAuthToken("clientId2", "clientSecrect2", "REFRESH/GRANT token", TokenType.REFRESH/GRANT);
$token2 = new OAuthToken("clientId2", "clientSecrect2", "REFRESH/GRANT token", TokenType::REFRESH/GRANT);

Initializer::switchUser($user2, $environment2, $token2, $sdkConfig);

Expand Down Expand Up @@ -792,7 +796,7 @@ class Record
$environment = USDataCenter::PRODUCTION();

//Create a Token instance
$token = new OAuthToken("clientId", "clientSecrect", "REFRESH/GRANT token", TokenType.REFRESH/GRANT, "redirectURL");
$token = new OAuthToken("clientId", "clientSecrect", "REFRESH/GRANT token", TokenType::REFRESH/GRANT, "redirectURL");

//Create an instance of TokenStore
// $tokenstore = new DBStore();
Expand All @@ -803,6 +807,8 @@ class Record

$pickListValidation = false;

$enableSSLVerification = true;

$connectionTimeout = 2;

$timeout = 2;
Expand Down