EmulatorConfig interface

Configuration of Firebase Authentication Emulator.

Signature:

exportinterfaceEmulatorConfig

Properties

PropertyTypeDescription
hoststringThe hostname of the emulator, which may be a domain ("localhost"), IPv4 address ("127.0.0.1") or quoted IPv6 address ("[::1]").
options{ readonly disableWarnings: boolean; }The emulator-specific options.
portnumber | nullThe port of the emulator, or null if port isn't specified (i.e. protocol default).
protocolstringThe protocol used to communicate with the emulator ("http"/"https").

EmulatorConfig.host

The hostname of the emulator, which may be a domain ("localhost"), IPv4 address ("127.0.0.1") or quoted IPv6 address ("[::1]").

Signature:

readonlyhost:string;

EmulatorConfig.options

The emulator-specific options.

Signature:

readonlyoptions:{readonlydisableWarnings:boolean;};

EmulatorConfig.port

The port of the emulator, or null if port isn't specified (i.e. protocol default).

Signature:

readonlyport:number|null;

EmulatorConfig.protocol

The protocol used to communicate with the emulator ("http"/"https").

Signature:

readonlyprotocol:string;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-22 UTC.