Extending Firebase Anonymous Auth Session Expiry

ε祈祈猫儿з 提交于 2020-04-18 04:08:27

问题


I am using anonymous authentication with Firebase. I know that I can set x hours of session timeout.

To me, it doesn't make sense to timeout a user when he/she is active on the site. Is there a way to extend a user's session when the website is being used actively?


回答1:


There is currently no way to extend or refresh a Firebase authentication token after it's been minted.

You can monitor .info/authenticated to detect when the user gets unauthenticated.



来源:https://stackoverflow.com/questions/34284497/extending-firebase-anonymous-auth-session-expiry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!