Host

SDK require setting host, before it can be used:

// Saves the token to the Swagger default configuration
Configuration::getDefaultConfiguration()->setHost($host);

Cache

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:

Configuration::getDefaultConfiguration()->setCache($anyPSR6cache);