Back to Firebase Js Sdk

EmulatorConfig interface

docs-devsite/auth.emulatorconfig.md

12.12.11.9 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

EmulatorConfig interface

Configuration of Firebase Authentication Emulator.

<b>Signature:</b>

typescript
export interface EmulatorConfig 

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]").

<b>Signature:</b>

typescript
readonly host: string;

EmulatorConfig.options

The emulator-specific options.

<b>Signature:</b>

typescript
readonly options: {
        readonly disableWarnings: boolean;
    };

EmulatorConfig.port

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

<b>Signature:</b>

typescript
readonly port: number | null;

EmulatorConfig.protocol

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

<b>Signature:</b>

typescript
readonly protocol: string;