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
Adds an observer for changes to the signed-in user's ID token.
538
538
539
-
This includes sign-in, sign-out, and token refresh events.
539
+
This includes sign-in, sign-out, and token refresh events. This will not be triggered automatically upon ID token expiration. Use [User.getIdToken()](./auth.user.md#usergetidtoken) to refresh the ID token.
|[PersistenceSettings](./firestore_.persistencesettings.md#persistencesettings_interface)| Settings that can be passed to <code>enableIndexedDbPersistence()</code> to configure Firestore persistence. |
158
158
|[PersistentCacheSettings](./firestore_.persistentcachesettings.md#persistentcachesettings_interface)| An settings object to configure an <code>PersistentLocalCache</code> instance. |
159
159
|[PersistentLocalCache](./firestore_.persistentlocalcache.md#persistentlocalcache_interface)| Provides a persistent cache backed by IndexedDb to the SDK.<!---->To use, create an instance using the factory function , then set the instance to <code>FirestoreSettings.cache</code> and call <code>initializeFirestore</code> using the settings object. |
160
-
|[PersistentMultipleTabManager](./firestore_.persistentmultipletabmanager.md#persistentmultipletabmanager_interface)| A tab manager supportting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK. |
160
+
|[PersistentMultipleTabManager](./firestore_.persistentmultipletabmanager.md#persistentmultipletabmanager_interface)| A tab manager supporting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK. |
161
161
|[PersistentSingleTabManager](./firestore_.persistentsingletabmanager.md#persistentsingletabmanager_interface)| A tab manager supportting only one tab, no synchronization will be performed across tabs. |
162
-
|[PersistentSingleTabManagerSettings](./firestore_.persistentsingletabmanagersettings.md#persistentsingletabmanagersettings_interface)| Type to configure an <code>PersistentSingleTabManager</code> instace. |
162
+
|[PersistentSingleTabManagerSettings](./firestore_.persistentsingletabmanagersettings.md#persistentsingletabmanagersettings_interface)| Type to configure an <code>PersistentSingleTabManager</code> instance. |
163
163
|[SnapshotListenOptions](./firestore_.snapshotlistenoptions.md#snapshotlistenoptions_interface)| An options object that can be passed to [onSnapshot()](./firestore_.md#onsnapshot) and [QuerySnapshot.docChanges()](./firestore_.querysnapshot.md#querysnapshotdocchanges) to control which types of changes to include in the result set. |
164
164
|[SnapshotOptions](./firestore_.snapshotoptions.md#snapshotoptions_interface)| Options that configure how data is retrieved from a <code>DocumentSnapshot</code> (for example the desired behavior for server timestamps that have not yet been set to their final value). |
165
165
|[TransactionOptions](./firestore_.transactionoptions.md#transactionoptions_interface)| Options to customize transaction behavior. |
|[NestedUpdateFields](./firestore_.md#nestedupdatefields)| For each field (e.g. 'bar'), find all nested keys (e.g. {<!---->'bar.baz': T1, 'bar.qux': T2<!---->}<!---->). Intersect them together to make a single map containing all possible keys that are all marked as optional |
186
186
|[OrderByDirection](./firestore_.md#orderbydirection)| The direction of a [orderBy()](./firestore_.md#orderby) clause is specified as 'desc' or 'asc' (descending or ascending). |
187
187
|[PartialWithFieldValue](./firestore_.md#partialwithfieldvalue)| Similar to Typescript's <code>Partial<T></code>, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
188
-
|[PersistentTabManager](./firestore_.md#persistenttabmanager)| A union of all avaialbe tab managers. |
188
+
|[PersistentTabManager](./firestore_.md#persistenttabmanager)| A union of all available tab managers. |
|[QueryConstraintType](./firestore_.md#queryconstrainttype)| Describes the different query constraints available in this SDK. |
191
191
|[QueryFilterConstraint](./firestore_.md#queryfilterconstraint)| <code>QueryFilterConstraint</code> is a helper union type that represents [QueryFieldFilterConstraint](./firestore_.queryfieldfilterconstraint.md#queryfieldfilterconstraint_class) and [QueryCompositeFilterConstraint](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstraint_class)<!---->. |
Copy file name to clipboardExpand all lines: packages/auth/README.md
+5
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,11 @@ commands also run various tests:
40
40
*`yarn test:webdriver` — Executes only the Selenium WebDriver
41
41
integration tests
42
42
43
+
Note - The webdriver tests require the Chrome webdriver to match the version of Chrome running locally.
44
+
In the CI environment, this is ensured using the environment variable [here.](https://github.com/firebase/firebase-js-sdk/blob/6e80a678fe0c31046860554cec0459a2be34d22b/.github/workflows/test-changed-auth.yml#L7)
45
+
When running locally, change the chromedriver version in [package.json](https://github.com/firebase/firebase-js-sdk/blob/6e80a678fe0c31046860554cec0459a2be34d22b/packages/auth/package.json#L124) to match your local Chrome version and run `yarn install`.
46
+
47
+
43
48
For example, to run all integration and WebDriver tests against the emulator,
0 commit comments