firebase-auth icon indicating copy to clipboard operation
firebase-auth copied to clipboard

Extend FirebaseAuthState to allow fakes

Open anddani opened this issue 11 months ago • 0 comments

Hi!

I am quite new to Rust so not sure if I am approaching this the wrong way.

Would it be possible to use a trait instead of a struct in FirebaseAuthState so that I can supply my own implementation of the trait in testing? For example if I want to integration-test and control which tokens passes validation or not.

anddani avatar Mar 27 '24 09:03 anddani