Configuration PHP SDKTuesday, October 29, 2019 2:50 PM
SDK require setting host, before it can be used:
// Saves the token to the Swagger default configuration Configuration::getDefaultConfiguration()->setHost($host);
SDK will use cache to store received tokens. Default cache solution will save tokens to temporary files and as such cached tokens are visible only on the server that made request for a token.
However, SDK can use any other PSR-6 compliant cache solution. To change cache provider you can use following code: