Back to Firebase Js Sdk

FirebaseServerApp interface

docs-devsite/app.firebaseserverapp.md

12.12.12.3 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 %}

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.

<b>Signature:</b>

typescript
export interface FirebaseServerApp extends FirebaseApp 

<b>Extends:</b> FirebaseApp

Properties

PropertyTypeDescription
namestringThere is no <code>getApp()</code> operation for <code>FirebaseServerApp</code>, so the name is not relevant for applications. However, it may be used internally, and is declared here so that <code>FirebaseServerApp</code> conforms to the <code>FirebaseApp</code> interface.
settingsFirebaseServerAppSettingsThe (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.

<b>Signature:</b>

typescript
name: string;

FirebaseServerApp.settings

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

<b>Signature:</b>

typescript
readonly settings: FirebaseServerAppSettings;

Example

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