Skip to content

Commit 2bf4fd8

Browse files
committed
comment
1 parent 21fcb79 commit 2bf4fd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auth/src/main/java/com/google/firebase/quickstart/AuthSnippets.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public static void revokeIdTokens(String idToken) throws InterruptedException, E
239239
// [END revoke_tokens]
240240

241241
// [START save_revocation_in_db]
242+
// After revoking tokens, follow up with:
242243
UserRecord user = FirebaseAuth.getInstance().getUserAsync(uid).get();
243244
// Convert to seconds as the auth_time in the token claims is in seconds too.
244245
long revocationSecond = user.getTokensValidAfterTimestamp() / 1000;

0 commit comments

Comments
 (0)