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

Make verifier cache configurable #19

Merged
merged 1 commit into from
Dec 4, 2019
Merged

Make verifier cache configurable #19

merged 1 commit into from
Dec 4, 2019

Conversation

jeromegamez
Copy link
Member

An alternative approach to #18

Makes the verifier cache (used to cache Google's Public Keys for ID token verification, see documentation)) configurable.

It's not pretty, but it's knowing that the bundle will be rewritten from scratch for a 2.0 release 🙈

:octocat:

@Orkin
Copy link

Orkin commented Dec 4, 2019

Hi, yes I think it can do the job too. It's not pretty but I prefer your solution than mine 😅. I'm not really fan about non immutable object but you're right, for now I think this bundle need a big rewrite to allow more configuration customization.

The best will be to do something like with doctrine cache with the ability to provide a service id or a class that will be instanciate only for this purpose.

It's ok for me, you can close #18 and merge this one.

@jeromegamez jeromegamez merged commit 834bd34 into master Dec 4, 2019
@jeromegamez jeromegamez deleted the cache branch December 4, 2019 10:58
@jeromegamez
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants