Configuration PHP SDK


SDK require setting host, before it can be used:

Setting API host
// Saves the token to the Swagger default configuration


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:

Setting token cache