FirebaseAdmin.AppOptions

Configurable options that can be specified when creating a FirebaseApp.

Summary

See Initialize the SDK for code samples and detailed documentation.

Constructors and Destructors

AppOptions()
Initializes a new instance of the AppOptions class.

Properties

Credential
GoogleCredential
Gets or sets the GoogleCredential used to authorize an app.
HttpClientFactory
HttpClientFactory
Gets or sets the HttpClientFactory to use when making Firebase requests.
ProjectId
string
Gets or sets the Google Cloud Platform project ID that should be associated with an app.
ServiceAccountId
string
Gets or sets the unique ID of the service account that should be associated with an app.

Properties

Credential

GoogleCredential Credential

Gets or sets the GoogleCredential used to authorize an app.

All service calls made by the app will be authorized using this.

HttpClientFactory

HttpClientFactory HttpClientFactory

Gets or sets the HttpClientFactory to use when making Firebase requests.

ProjectId

string ProjectId

Gets or sets the Google Cloud Platform project ID that should be associated with an app.

ServiceAccountId

string ServiceAccountId

Gets or sets the unique ID of the service account that should be associated with an app.

This is used to create custom auth tokens when service account credentials are not available. The service account ID can be found in the client_email field of the service account JSON.

Public functions

AppOptions

 AppOptions()

Initializes a new instance of the AppOptions class.