📜  google auth.onstatechange - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:14.393000             🧑  作者: Mango

代码示例1
firebase.auth().onAuthStateChanged(function(user) {  if (user) { 
// User is signed in. 
} 
  else {   
    // No user is signed in.
  }});