protected virtual void RaiseCustomAuthStateChanged() { CustomAuthStateChanged?.Invoke(this, new AuthStateEventArgs() { IsUserLoggedIn = IsUserLoggedIn, }); }
/// <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)); }