-
Notifications
You must be signed in to change notification settings - Fork 898
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,735 additions
and
160 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Project: /docs/reference/js/_project.yaml | ||
Book: /docs/reference/_book.yaml | ||
page_type: reference | ||
|
||
{% comment %} | ||
DO NOT EDIT THIS FILE! | ||
This is generated by the JS SDK team, and any local changes will be | ||
overwritten. Changes should be made in the source code at | ||
https://github.com/firebase/firebase-js-sdk | ||
{% endcomment %} | ||
|
||
# AuthTokenProvider interface | ||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare interface AuthTokenProvider | ||
``` | ||
|
||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [addTokenChangeListener(listener)](./data-connect.authtokenprovider.md#authtokenprovideraddtokenchangelistener) | | | ||
| [getToken(forceRefresh)](./data-connect.authtokenprovider.md#authtokenprovidergettoken) | | | ||
|
||
## AuthTokenProvider.addTokenChangeListener() | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
addTokenChangeListener(listener: AuthTokenListener): void; | ||
``` | ||
|
||
#### Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| listener | [AuthTokenListener](./data-connect.md#authtokenlistener) | | | ||
|
||
<b>Returns:</b> | ||
|
||
void | ||
|
||
## AuthTokenProvider.getToken() | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getToken(forceRefresh: boolean): Promise<FirebaseAuthTokenData | null>; | ||
``` | ||
|
||
#### Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| forceRefresh | boolean | | | ||
|
||
<b>Returns:</b> | ||
|
||
Promise<FirebaseAuthTokenData \| null> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Project: /docs/reference/js/_project.yaml | ||
Book: /docs/reference/_book.yaml | ||
page_type: reference | ||
|
||
{% comment %} | ||
DO NOT EDIT THIS FILE! | ||
This is generated by the JS SDK team, and any local changes will be | ||
overwritten. Changes should be made in the source code at | ||
https://github.com/firebase/firebase-js-sdk | ||
{% endcomment %} | ||
|
||
# CancellableOperation interface | ||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare interface CancellableOperation<T> extends PromiseLike<{ | ||
data: T; | ||
}> | ||
``` | ||
<b>Extends:</b> PromiseLike<{ data: T; }> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [cancel](./data-connect.cancellableoperation.md#cancellableoperationcancel) | () => void | | | ||
| [data](./data-connect.cancellableoperation.md#cancellableoperationdata) | T | | | ||
## CancellableOperation.cancel | ||
<b>Signature:</b> | ||
```typescript | ||
cancel: () => void; | ||
``` | ||
## CancellableOperation.data | ||
<b>Signature:</b> | ||
```typescript | ||
data: T; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Project: /docs/reference/js/_project.yaml | ||
Book: /docs/reference/_book.yaml | ||
page_type: reference | ||
|
||
{% comment %} | ||
DO NOT EDIT THIS FILE! | ||
This is generated by the JS SDK team, and any local changes will be | ||
overwritten. Changes should be made in the source code at | ||
https://github.com/firebase/firebase-js-sdk | ||
{% endcomment %} | ||
|
||
# ConnectorConfig interface | ||
Connector Config for calling Data Connect backend. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare interface ConnectorConfig | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [connector](./data-connect.connectorconfig.md#connectorconfigconnector) | string | | | ||
| [location](./data-connect.connectorconfig.md#connectorconfiglocation) | string | | | ||
| [service](./data-connect.connectorconfig.md#connectorconfigservice) | string | | | ||
|
||
## ConnectorConfig.connector | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
connector: string; | ||
``` | ||
|
||
## ConnectorConfig.location | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
location: string; | ||
``` | ||
|
||
## ConnectorConfig.service | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
service: string; | ||
``` |
Oops, something went wrong.