FirebaseServerApp interface

A FirebaseServerApp holds the initialization information for a collection of services running in server environments.

Do not call this constructor directly. Instead, use initializeServerApp() to create an app.

Signature:

export interface FirebaseServerApp extends FirebaseApp 

Extends: FirebaseApp

Properties

Property Type Description
name string There is no getApp() operation for FirebaseServerApp, so the name is not relevant for applications. However, it may be used internally, and is declared here so that FirebaseServerApp conforms to the FirebaseApp interface.
settings FirebaseServerAppSettings The (read-only) configuration settings for this server app. These are the original parameters given in initializeServerApp().

FirebaseServerApp.name

There is no getApp() operation for FirebaseServerApp, so the name is not relevant for applications. However, it may be used internally, and is declared here so that FirebaseServerApp conforms to the FirebaseApp interface.

Signature:

name: string;

FirebaseServerApp.settings

The (read-only) configuration settings for this server app. These are the original parameters given in initializeServerApp().

Signature:

readonly settings: FirebaseServerAppSettings;

Example

const app = initializeServerApp(settings);
console.log(app.settings.authIdToken === options.authIdToken);  // true