protected virtual void RaiseCustomAuthStateChanged()
 {
     CustomAuthStateChanged?.Invoke(this, new AuthStateEventArgs()
     {
         IsUserLoggedIn = IsUserLoggedIn,
     });
 }
Esempio n. 2
0
 /// <summary>
 /// Used to dispatch event CustomAuthStateChanged event
 /// This informs listeners about the status of the authentication
 /// </summary>
 public void OnCustomAuthStateChanged()
 {
     CustomAuthStateChanged?.Invoke(this, new FirebaseAuthEventData(_isLogin, _isSignUp, _hasLoggedIn));
 }