You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-devsite/app-check.md
+18-14Lines changed: 18 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Prov
18
18
19
19
| Function | Description |
20
20
| --- | --- |
21
-
| <b>function(app...)</b> |
21
+
| <b>function(app, ...)</b> |
22
22
|[initializeAppCheck(app, options)](./app-check.md#initializeappcheck_5548dfc)| Activate App Check for the given app. Can be called only once per app. |
23
-
| <b>function(appCheckInstance...)</b> |
23
+
| <b>function(appCheckInstance, ...)</b> |
24
24
|[getLimitedUseToken(appCheckInstance)](./app-check.md#getlimitedusetoken_53ef5e3)| Requests a Firebase App Check token. This method should be used only if you need to authorize requests to a non-Firebase backend.<!---->Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints that are protected with <ahref="https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection"> Replay Protection</a>. This method does not affect the token generation behavior of the \#getAppCheckToken() method. |
25
25
|[getToken(appCheckInstance, forceRefresh)](./app-check.md#gettoken_39fc1b3)| Get the current App Check token. Attaches to the most recent in-flight request if one is present. Returns null if no token is present and no token requests are in-flight. |
26
26
|[onTokenChanged(appCheckInstance, observer)](./app-check.md#ontokenchanged_9761e16)| Registers a listener to changes in the token state. There can be more than one listener registered at the same time for one or more App Check instances. The listeners call back on the UI thread whenever the current token associated with this App Check instance changes. |
@@ -51,7 +51,9 @@ Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Prov
51
51
| --- | --- |
52
52
|[AppCheckTokenListener](./app-check.md#appchecktokenlistener)| A listener that is called whenever the App Check token changes. |
Get the current App Check token. Attaches to the most recent in-flight request if one is present. Returns null if no token is present and no token requests are in-flight.
102
106
@@ -106,7 +110,7 @@ Get the current App Check token. Attaches to the most recent in-flight request i
Registers a listener to changes in the token state. There can be more than one listener registered at the same time for one or more App Check instances. The listeners call back on the UI thread whenever the current token associated with this App Check instance changes.
123
127
@@ -127,7 +131,7 @@ Registers a listener to changes in the token state. There can be more than one l
Registers a listener to changes in the token state. There can be more than one listener registered at the same time for one or more App Check instances. The listeners call back on the UI thread whenever the current token associated with this App Check instance changes.
146
150
@@ -150,7 +154,7 @@ Registers a listener to changes in the token state. There can be more than one l
Copy file name to clipboardExpand all lines: docs-devsite/app.md
+36-22Lines changed: 36 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -18,20 +18,20 @@ This package coordinates the communication between the different Firebase compon
18
18
19
19
| Function | Description |
20
20
| --- | --- |
21
-
| <b>function(app...)</b> |
21
+
| <b>function(app, ...)</b> |
22
22
|[deleteApp(app)](./app.md#deleteapp_cf608e1)| Renders this app unusable and frees the resources of all associated services. |
23
23
| <b>function()</b> |
24
24
|[getApps()](./app.md#getapps)| A (read-only) array of all initialized apps. |
25
25
|[initializeApp()](./app.md#initializeapp)| Creates and initializes a FirebaseApp instance. |
26
-
| <b>function(libraryKeyOrName...)</b> |
26
+
| <b>function(libraryKeyOrName, ...)</b> |
27
27
|[registerVersion(libraryKeyOrName, version, variant)](./app.md#registerversion_f673248)| Registers a library's name and version for platform logging purposes. |
28
-
| <b>function(logCallback...)</b> |
28
+
| <b>function(logCallback, ...)</b> |
29
29
|[onLog(logCallback, options)](./app.md#onlog_fd46eae)| Sets log handler for all Firebase SDKs. |
30
-
| <b>function(logLevel...)</b> |
30
+
| <b>function(logLevel, ...)</b> |
31
31
|[setLogLevel(logLevel)](./app.md#setloglevel_697d53a)| Sets log level for all Firebase SDKs.<!---->All of the log types above the current log level are captured (i.e. if you set the log level to <code>info</code>, errors are logged, but <code>debug</code> and <code>verbose</code> logs are not). |
32
-
| <b>function(name...)</b> |
32
+
| <b>function(name, ...)</b> |
33
33
|[getApp(name)](./app.md#getapp_1eaaff4)| Retrieves a [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) instance.<!---->When called with no arguments, the default app is returned. When an app name is provided, the app corresponding to that name is returned.<!---->An exception is thrown if the app being retrieved has not yet been initialized. |
34
-
| <b>function(options...)</b> |
34
+
| <b>function(options, ...)</b> |
35
35
|[initializeApp(options, name)](./app.md#initializeapp_cb2f5e1)| Creates and initializes a [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) instance.<!---->See [Add Firebase to your app](https://firebase.google.com/docs/web/setup#add_firebase_to_your_app) and [Initialize multiple projects](https://firebase.google.com/docs/web/setup#multiple-projects) for detailed documentation. |
36
36
|[initializeApp(options, config)](./app.md#initializeapp_079e917)| Creates and initializes a FirebaseApp instance. |
37
37
@@ -49,7 +49,9 @@ This package coordinates the communication between the different Firebase compon
49
49
| --- | --- |
50
50
|[SDK\_VERSION](./app.md#sdk_version)| The current SDK version. |
51
51
52
-
## deleteApp() {:#deleteapp_cf608e1}
52
+
## function(app, ...)
53
+
54
+
### deleteApp(app) {:#deleteapp_cf608e1}
53
55
54
56
Renders this app unusable and frees the resources of all associated services.
55
57
@@ -59,7 +61,7 @@ Renders this app unusable and frees the resources of all associated services.
0 commit comments