Konfiguracja emulatora uwierzytelniania Firebase.
Podpis:
export interface EmulatorConfig
Nieruchomości
Nieruchomość | Typ | Opis |
---|---|---|
gospodarz | strunowy | Nazwa hosta emulatora, która może być domeną („localhost”), adresem IPv4 („127.0.0.1”) lub cytowanym adresem IPv6 („[::1]”). |
opcje | { tylko do odczytuOstrzeżenia: wartość logiczna; } | Opcje specyficzne dla emulatora. |
Port | numer | zero | Port emulatora lub null, jeśli port nie jest określony (tzn. domyślny protokół). |
protokół | strunowy | Protokół używany do komunikacji z emulatorem („http”/„https”). |
EmulatorConfig.host
Nazwa hosta emulatora, która może być domeną („localhost”), adresem IPv4 („127.0.0.1”) lub cytowanym adresem IPv6 („[::1]”).
Podpis:
readonly host: string;
Opcje konfiguracji emulatora
Opcje specyficzne dla emulatora.
Podpis:
readonly options: {
readonly disableWarnings: boolean;
};
Port konfiguracji emulatora
Port emulatora lub null, jeśli port nie jest określony (tzn. domyślny protokół).
Podpis:
readonly port: number | null;
Protokół EmulatorConfig
Protokół używany do komunikacji z emulatorem („http”/„https”).
Podpis:
readonly protocol: string;