kreait / firebase-bundle

A Symfony Bundle for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
135 stars 25 forks source link

[WIP] add cache management for firebase auth #18

Closed Orkin closed 4 years ago

Orkin commented 4 years ago

@jeromegamez It's a beginning to discuss how we would like to implement it. It's works like this but it's not the best way to do it

jeromegamez commented 4 years ago

@Orkin Could you please have a look at #19 and see if that would work for you? It's a) not pretty and b) flawed, but I think it would work in most cases.

There's one edge case: when multiple projects are defined, the cache config from one project could overwrite the config from another project, but I haven't heard yet of someone using multiple Firebase projects in one Symfony application, so fingers crossed that nobody does 🤞

jeromegamez commented 4 years ago

Replaced by #19 in agreement as per https://github.com/kreait/firebase-bundle/pull/19#issuecomment-561554026, thanks for your work and time!