Skip to content

Commit b5796f0

Browse files
committed
yarn docgen::all
1 parent 20401e8 commit b5796f0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs-devsite/auth.auth.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface Auth
4242
| [authStateReady()](./auth.auth.md#authauthstateready) | returns a promise that resolves immediately when the initial auth state is settled. When the promise resolves, the current user might be a valid user or <code>null</code> if the user signed out. |
4343
| [beforeAuthStateChanged(callback, onAbort)](./auth.auth.md#authbeforeauthstatechanged) | Adds a blocking callback that runs before an auth state change sets a new user. |
4444
| [onAuthStateChanged(nextOrObserver, error, completed)](./auth.auth.md#authonauthstatechanged) | Adds an observer for changes to the user's sign-in state. |
45+
| [onFirebaseTokenChanged(nextOrObserver, error, completed)](./auth.auth.md#authonfirebasetokenchanged) | |
4546
| [onIdTokenChanged(nextOrObserver, error, completed)](./auth.auth.md#authonidtokenchanged) | Adds an observer for changes to the signed-in user's ID token. |
4647
| [setPersistence(persistence)](./auth.auth.md#authsetpersistence) | Changes the type of persistence on the <code>Auth</code> instance. |
4748
| [signOut()](./auth.auth.md#authsignout) | Signs out the current user. This does not automatically revoke the user's ID token. |
@@ -227,6 +228,26 @@ onAuthStateChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn,
227228

228229
[Unsubscribe](./util.md#unsubscribe)
229230

231+
## Auth.onFirebaseTokenChanged()
232+
233+
<b>Signature:</b>
234+
235+
```typescript
236+
onFirebaseTokenChanged(nextOrObserver: NextOrObserver<FirebaseToken | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
237+
```
238+
239+
#### Parameters
240+
241+
| Parameter | Type | Description |
242+
| --- | --- | --- |
243+
| nextOrObserver | [NextOrObserver](./auth.md#nextorobserver)<!-- -->&lt;[FirebaseToken](./auth.firebasetoken.md#firebasetoken_interface) \| null&gt; | |
244+
| error | [ErrorFn](./util.md#errorfn) | |
245+
| completed | [CompleteFn](./util.md#completefn) | |
246+
247+
<b>Returns:</b>
248+
249+
[Unsubscribe](./util.md#unsubscribe)
250+
230251
## Auth.onIdTokenChanged()
231252

232253
Adds an observer for changes to the signed-in user's ID token.

0 commit comments

Comments
 (0)