Optional HTTP Agent to be used when retrieving access tokens from Google token servers.
A credential authenticated via Google Application Default Credentials that can be used to initialize an app.
Returns a credential created from the provided service account that grants
admin access to Firebase services. This credential can be used in the call
to
admin.initializeApp().
See Initialize the SDK for more details.
The path to a service account key JSON file or an object representing a service account key.
Optional HTTP Agent to be used when retrieving access tokens from Google token servers.
A credential authenticated via the provided service account that can be used to initialize an app.
Returns a credential created from the provided refresh token that grants
admin access to Firebase services. This credential can be used in the call
to
admin.initializeApp().
See Initialize the SDK for more details.
The path to a Google OAuth2 refresh token JSON file or an object representing a Google OAuth2 refresh token.
Optional HTTP Agent to be used when retrieving access tokens from Google token servers.
A credential authenticated via the provided service account that can be used to initialize an app.
Generated using TypeDoc
Returns a credential created from the Google Application Default Credentials that grants admin access to Firebase services. This credential can be used in the call to
admin.initializeApp().Google Application Default Credentials are available on any Google infrastructure, such as Google App Engine and Google Compute Engine.
See Initialize the SDK for more details.
admin.initializeApp({ credential: admin.credential.applicationDefault(), databaseURL: "https://<DATABASE_NAME>.firebaseio.com" });