EmulatorConfig interface  |  Firebase JavaScript API reference (original) (raw)

EmulatorConfig interface

Configuration of Firebase Authentication Emulator.

Signature:

export interface EmulatorConfig 

Properties

Property Type Description
host string The 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.
port number | null The port of the emulator, or null if port isn't specified (i.e. protocol default).
protocol string The protocol used to communicate with the emulator ("http"/"https").

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

Signature:

readonly host: string;

EmulatorConfig.options

The emulator-specific options.

Signature:

readonly options: {
        readonly disableWarnings: boolean;
    };

EmulatorConfig.port

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

Signature:

readonly port: number | null;

EmulatorConfig.protocol

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

Signature:

readonly protocol: string;

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

Last updated 2022-07-22 UTC.