FirebaseAdmin.FirebaseApp
This is the entry point to the Firebase Admin SDK.
Summary
It holds configuration and state common to all APIs exposed from the SDK.
Use one of the provided Create()
methods to obtain a new instance. See Initialize the SDK for code samples and detailed documentation.
Properties | |
---|---|
DefaultInstance | static FirebaseApp Gets the default app instance. |
Name | string Gets the name of this app. |
Options | Gets a copy of the AppOptions this app was created with. |
Public static functions | |
---|---|
Create() | Creates the default app instance with Google Application Default Credentials. |
Create(string name) | Creates an app with the specified name, and Google Application Default Credentials. |
Create(AppOptions options) | Creates the default app instance with the specified options. |
Create(AppOptions options, string name) | Creates an app with the specified name and options. |
GetInstance(string name) | Returns the app instance identified by the given name. |
Public functions | |
---|---|
Delete() | void Deletes this app instance and cleans up any state associated with it. |