Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e5ab68

Browse files
bojeil-googlesamtstern
authored andcommitted
Updated comment referencing deprecated getToken() (firebase#15)
1 parent a8bdc97 commit 2e5ab68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth/app/src/main/java/com/google/firebase/quickstart/auth/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void getUserProfile() {
7272

7373
// The user's ID, unique to the Firebase project. Do NOT use this value to
7474
// authenticate with your backend server, if you have one. Use
75-
// FirebaseUser.getToken() instead.
75+
// FirebaseUser.getIdToken() instead.
7676
String uid = user.getUid();
7777
}
7878
// [END get_user_profile]
@@ -291,4 +291,4 @@ public void onComplete(@NonNull Task<AuthResult> task) {
291291
});
292292
// [END auth_with_github]
293293
}
294-
}
294+
}

0 commit comments

Comments
 (0)