This PR adds Symfony Cache component support to the SDK. The SDK will invoke the PSR-6-based interface, and connect it directly to the CacheItemPoolInterface property of the Auth0-PHP SDK. This caching feature will be used for JWKS caching to reduce network requests, and caching of Management API tokens generated through the API.
By default, it will use the basic cache.app pool, which uses the filesystem adapter. Developers can add new cache pools and define adapters in their config/package/cache.yaml file to customize the behavior.
This PR adds Symfony Cache component support to the SDK. The SDK will invoke the PSR-6-based interface, and connect it directly to the CacheItemPoolInterface property of the Auth0-PHP SDK. This caching feature will be used for JWKS caching to reduce network requests, and caching of Management API tokens generated through the API.
By default, it will use the basic
cache.app
pool, which uses the filesystem adapter. Developers can add new cache pools and define adapters in theirconfig/package/cache.yaml
file to customize the behavior.