简体   繁体   English

跨Ionic标签管理Firebase用户的最佳方法是什么

[英]What is the best way to manage Firebase user across Ionic Tabs

I am building an Ionic1 tabs application using Firebase for the Authentication part and the Realtime Database. 我正在使用Firebase的身份验证部分和实时数据库构建Ionic1选项卡应用程序。

What is the best way / best practices to manage user across the tabs. 什么是跨标签管理用户的最佳方法/最佳实践。

Assuming all pages/tabs must be accessible only if user is authenticated. 假设所有页面/选项卡仅在用户通过身份验证后才可访问。

Do you have any recommandation or documentation? 您有任何建议或文件吗?

Where to put the UserStateChange listener? 在哪里放置UserStateChange侦听器? Should I implement a isAuthenticated control in routes.js? 我应该在route.js中实现isAuthenticated控件吗? etc. 等等

Thanks! 谢谢!

I have adapted the following tutorial, eventually: https://ionicthemes.com/tutorials/about/add-ionic-platform-authentication-to-your-ionic-app#step1 我最终改编了以下教程: https : //ionicthemes.com/tutorials/about/add-ionic-platform-authentication-to-your-ionic-app#step1

If it can be of any help for someone else. 如果对别人有帮助的话。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将通知用户发送到用户ionic 3 / firebase的最佳方法是什么 - What is the best way to send notification user to user ionic 3 / firebase 在 Firebase 中管理聊天频道的最佳方式 - Best way to manage Chat channels in Firebase 在小部件中设置Firebase Crash用户标识符的最佳方法是什么? - What is the best way to set a Firebase Crash user identifier in a widget? 检查用户是否是firebase auth中的新用户的最佳方法是什么? - What is the best way to check if the user is new in firebase auth with flutter 在 firebase 中检查用户是否为新用户的最佳方法是什么 谷歌使用 flutter 登录 - What is the best way to check if the user is new in firebase google sign in with flutter 将Ionic 2 Nativ Facebook与Firebase连接的最佳方法 - Best way to connect ionic 2 nativ facebook with firebase 使用 Firebase Cloud Firestore、Ionic Framework、Angular 获取服务器时间戳的最佳方法是什么? - What is the best way to get Server Timestamp, using Firebase Cloud Firestore, Ionic Framework, Angular? 在 Flutter 应用程序中访问登录 Firebase 用户的最简洁方法是什么? - What is the cleanest way to access a logged in Firebase user across your Flutter app? 在Firebase / firestore中构造相关数据和管理更新的最佳方法? - Best way to structure related data in firebase/firestore and manage updates? 显示用户离线的最佳方式 - Firebase Android - Best way to show user is offline - Firebase Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM