Force.com-Toolkit-for-PHP
Force.com-Toolkit-for-PHP copied to clipboard
Extended base class and fixed fatal errors
We extended the SOAP base class with a method to allow re-use of authorized sessions. Additionally the sessionHeader was added to the SOAP header without check for existance, so there was an empty header thus beeing invalid. This has been fixed.
Looks good - thanks! One minor nit - function names should start with lower case, so could you change ContinueSession and RefreshToken to continueSession and refreshToken respectively?
Also, we need a contributor license agreement (CLA, very similar to Apache projects) to accept substantial contributions. Could you fill out the CLA doc, scan it, and send it to me at ppatterson (at) salesforce (dot) com?
RefreshToken() adds an explicit dependency on curl, and uses REST API. These changes should not be introduced to the SOAP client.