Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Symfony Cache component support #140

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

evansims
Copy link
Member

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.

@evansims evansims added this to the 5.0.0-BETA1 milestone Dec 15, 2022
@evansims evansims marked this pull request as ready for review December 15, 2022 04:27
@evansims evansims requested a review from a team as a code owner December 15, 2022 04:27
@evansims evansims merged commit 752c4f8 into main Dec 15, 2022
@evansims evansims deleted the feat/add-cache-component-support branch December 15, 2022 20:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant