restforcephp
restforcephp copied to clipboard
PHP Client for the Salesforce REST API
If a token expired, two ways to get a fresh one are provided. Either using `getPasswordAccessToken` either by `getClientCredentialsAccessToken` which relies upon client client's `id` and `secret`: https://github.com/eventfarm/restforcephp/blob/0f3589b2b00fb1d3f1b3f4e71668a02feb4bf6e9/src/Rest/OAuthRestClient.php#L142 I think...
add new constants to vendor repository in order to execute task synchronize emails SF and Bong
https://github.com/eventfarm/restforcephp/blob/master/src/Rest/GuzzleRestClient.php#L34 uses the following construct: ```php public function setBaseUriForRestClient(string $baseUri): void { $this->client = new \GuzzleHttp\Client($config); // $this->client is private } ``` This makes impossible to test an app relying...
I am using the username/password option to get the access token. I regularly (about every tenth page view) receive the 503 Error without any more information. I use the test.salesforce.com...
Using [/vXX.X/search/?q=SOSL search string](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_search.htm)?
[OAuthRestClient](https://github.com/eventfarm/restforcephp/blob/master/src/Rest/OAuthRestClient.php) is not serializable out of the box. One benefit of implementing [`Serializable`](https://www.php.net/manual/en/class.serializable.php) like [`Symfony\Component\Security\Core\Authentication\Token\TokenInterface`](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php) is to offer built-in support for general string-like operations and in particular cache-like operation. When...
Something like this? ```
My understanding is for the "OAuth 2.0 Web Server Flow for Web App Integration" you only need the client_id and the client_secret to get an OAuth Token. We tried that...