admin/app library

Extension Types

App
A Firebase app holds the initialization information for a collection of services.
AppErrorCodes
App client error codes and their default messages.
AppOptions
Available options to pass to {@link firebase-admin.app#initializeApp}.
Credential
Interface that provides Google OAuth2 access tokens used to authenticate with Firebase services.
FirebaseAdminApp
Firebase App and SDK initialization.
FirebaseAppError
Firebase App error code structure. This extends PrefixedFirebaseError.
FirebaseArrayIndexError
Composite type which includes both a FirebaseError object and an index which can be used to get the errored item.
FirebaseError
FirebaseError is a subclass of the standard JavaScript Error object. In addition to a message string and stack trace, it contains a string code.
GoogleOAuthAccessToken
Interface for Google OAuth 2.0 access tokens.
ServiceAccount
A service account object

Extensions

FirebaseAdminAppCredentialFactory on FirebaseAdminApp
Access to the Firebase Admin App Credential Factory methods
FirebaseAdminAppLifecycle on FirebaseAdminApp
Access to Firebase Admin App Lifecycle methods