Feature branch merge for the addition of FirebaseServerApp - a tool to ease the use of working with Firebase in SSR frameworks.
2.3 KiB
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.
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