firebase-auth
firebase-auth copied to clipboard
Extend FirebaseAuthState to allow fakes
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.