FirebaseServerApp interface
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-28 UTC.
[null,null,["Last updated 2024-03-28 UTC."],[],[],null,["A [FirebaseServerApp](./app.firebaseserverapp.md#firebaseserverapp_interface) holds the initialization information for a collection of services running in server environments.\n\nDo not call this constructor directly. Instead, use [initializeServerApp()](./app.md#initializeserverapp_30ab697) to create an app.\n\n**Signature:** \n\n export interface FirebaseServerApp extends FirebaseApp \n\n**Extends:** [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)\n\nProperties\n\nFirebaseServerApp.name\n\nThere 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.\n\n**Signature:** \n\n name: string;\n\nFirebaseServerApp.settings\n\nThe (read-only) configuration settings for this server app. These are the original parameters given in [initializeServerApp()](./app.md#initializeserverapp_30ab697).\n\n**Signature:** \n\n readonly settings: FirebaseServerAppSettings;\n\nExample \n\n const app = initializeServerApp(settings);\n console.log(app.settings.authIdToken === options.authIdToken); // true"]]