Skip to content

Commit 154a028

Browse files
authored
Merge 680a25f into 5eedc9a
2 parents 5eedc9a + 680a25f commit 154a028

29 files changed

+1735
-160
lines changed

common/api-review/connect.api.md

Lines changed: 0 additions & 133 deletions
This file was deleted.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# AuthTokenProvider interface
13+
<b>Signature:</b>
14+
15+
```typescript
16+
export declare interface AuthTokenProvider
17+
```
18+
19+
## Methods
20+
21+
| Method | Description |
22+
| --- | --- |
23+
| [addTokenChangeListener(listener)](./data-connect.authtokenprovider.md#authtokenprovideraddtokenchangelistener) | |
24+
| [getToken(forceRefresh)](./data-connect.authtokenprovider.md#authtokenprovidergettoken) | |
25+
26+
## AuthTokenProvider.addTokenChangeListener()
27+
28+
<b>Signature:</b>
29+
30+
```typescript
31+
addTokenChangeListener(listener: AuthTokenListener): void;
32+
```
33+
34+
#### Parameters
35+
36+
| Parameter | Type | Description |
37+
| --- | --- | --- |
38+
| listener | [AuthTokenListener](./data-connect.md#authtokenlistener) | |
39+
40+
<b>Returns:</b>
41+
42+
void
43+
44+
## AuthTokenProvider.getToken()
45+
46+
<b>Signature:</b>
47+
48+
```typescript
49+
getToken(forceRefresh: boolean): Promise<FirebaseAuthTokenData | null>;
50+
```
51+
52+
#### Parameters
53+
54+
| Parameter | Type | Description |
55+
| --- | --- | --- |
56+
| forceRefresh | boolean | |
57+
58+
<b>Returns:</b>
59+
60+
Promise&lt;FirebaseAuthTokenData \| null&gt;
61+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# CancellableOperation interface
13+
<b>Signature:</b>
14+
15+
```typescript
16+
export declare interface CancellableOperation<T> extends PromiseLike<{
17+
data: T;
18+
}>
19+
```
20+
<b>Extends:</b> PromiseLike&lt;{ data: T; }&gt;
21+
22+
## Properties
23+
24+
| Property | Type | Description |
25+
| --- | --- | --- |
26+
| [cancel](./data-connect.cancellableoperation.md#cancellableoperationcancel) | () =&gt; void | |
27+
| [data](./data-connect.cancellableoperation.md#cancellableoperationdata) | T | |
28+
29+
## CancellableOperation.cancel
30+
31+
<b>Signature:</b>
32+
33+
```typescript
34+
cancel: () => void;
35+
```
36+
37+
## CancellableOperation.data
38+
39+
<b>Signature:</b>
40+
41+
```typescript
42+
data: T;
43+
```
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# ConnectorConfig interface
13+
Connector Config for calling Data Connect backend.
14+
15+
<b>Signature:</b>
16+
17+
```typescript
18+
export declare interface ConnectorConfig
19+
```
20+
21+
## Properties
22+
23+
| Property | Type | Description |
24+
| --- | --- | --- |
25+
| [connector](./data-connect.connectorconfig.md#connectorconfigconnector) | string | |
26+
| [location](./data-connect.connectorconfig.md#connectorconfiglocation) | string | |
27+
| [service](./data-connect.connectorconfig.md#connectorconfigservice) | string | |
28+
29+
## ConnectorConfig.connector
30+
31+
<b>Signature:</b>
32+
33+
```typescript
34+
connector: string;
35+
```
36+
37+
## ConnectorConfig.location
38+
39+
<b>Signature:</b>
40+
41+
```typescript
42+
location: string;
43+
```
44+
45+
## ConnectorConfig.service
46+
47+
<b>Signature:</b>
48+
49+
```typescript
50+
service: string;
51+
```

0 commit comments

Comments
 (0)