Skip to content

Extend FirebaseAuthState to allow fakes #23

@anddani

Description

@anddani

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions