📅  最后修改于: 2022-03-11 14:55:36.852000             🧑  作者: Mango
firebase.auth().currentUser.getIdToken(/* forceRefresh */ true).then(function(idToken) { // Send token to your backend via HTTPS // ...}).catch(function(error) { // Handle error});