docs-devsite/app.firebaseserverapp.md
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 %}
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>
export interface FirebaseServerApp extends FirebaseApp
<b>Extends:</b> FirebaseApp
| Property | Type | Description |
|---|---|---|
| name | string | There 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. |
| settings | FirebaseServerAppSettings | The (read-only) configuration settings for this server app. These are the original parameters given in initializeServerApp()<!-- -->. |
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>
name: string;
The (read-only) configuration settings for this server app. These are the original parameters given in initializeServerApp()<!-- -->.
<b>Signature:</b>
readonly settings: FirebaseServerAppSettings;
const app = initializeServerApp(settings);
console.log(app.settings.authIdToken === options.authIdToken); // true