Expand description
Runtime live/emulator mode selection.
Unlike an approach that makes the client generic over a credentials or
mode type (which forces every method signature to diverge between live
and emulator variants), ClientMode is a plain runtime value. Every
crate::auth::AuthClient method is defined exactly once and branches
internally on self.mode only where behavior genuinely differs.
Enums§
- Client
Mode - Selects whether an
crate::auth::AuthClienttalks to production Firebase or a local emulator instance.
Constants§
- EMULATOR_
HOST_ ENV_ VAR - The environment variable Firebase’s own SDKs use to auto-detect a running Auth Emulator.