[Vtigercrm-developers] Server API token
Alan Lord
alanslists at gmail.com
Wed Sep 8 12:01:30 GMT 2021
On 08/09/2021 11:41, Sukhdev Mohan wrote:
> Hi,
>
> Does anyone know for how much long the token is valid? Is there anyway
> to check if it’s stil valid other then try and catch?
>
Take a look at the __doChallenge() methos of the Vtiger_WSClient() class.
There is a var called $_expiretime
There is a subsequent method called __checkLogin() which should use this
var, but this code is commented out in my version of the REST Client...
HTH
Al
More information about the vtigercrm-developers
mailing list