Skip to content

Commit 32ddef7

Browse files
docs(auth): more explicitly note that onIdTokenChanged returns a JWT (#5674)
* Update index.d.ts It's not clear wether ID Token is a JWT Token or not, developer will have to visit [official documentation](https://firebase.google.com/docs/auth/admin/verify-id-tokens) in order to find out. * Update index.d.ts added link to official documentation about Verify ID token
1 parent 96f51a0 commit 32ddef7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/auth/lib/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,7 @@ export namespace FirebaseAuthTypes {
12951295

12961296
/**
12971297
* Listen for changes in ID token.
1298+
* ID token can be verified (if desired) using the [admin SDK or a 3rd party JWT library](https://firebase.google.com/docs/auth/admin/verify-id-tokens)
12981299
* This method returns a unsubscribe function to stop listening to events.
12991300
* Always ensure you unsubscribe from the listener when no longer needed to prevent updates to components no longer in use.
13001301
*

0 commit comments

Comments
 (0)