FirebaseAdmin. AppOptions
Configurable options that can be specified when creating aFirebaseApp.
Summary
SeeInitialize the SDK for code samples and detailed documentation.
Constructors and Destructors | |
|---|---|
AppOptions()Initializes a new instance of theAppOptions class. |
Properties | |
|---|---|
Credential | GoogleCredentialGets or sets the GoogleCredential used to authorize an app. |
HttpClientFactory | HttpClientFactoryGets or sets the HttpClientFactory to use when making Firebase requests. |
ProjectId | stringGets or sets the Google Cloud Platform project ID that should be associated with an app. |
ServiceAccountId | stringGets 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 tocreate custom auth tokens when service account credentials are not available. The service account ID can be found in theclient_email field of the service account JSON.
Public functions
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-24 UTC.