Firebase 3.x - 令牌/会话过期 [英] Firebase 3.x - Token / Session Expiration
本文介绍了Firebase 3.x - 令牌/会话过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果你想结束用户的会话中,您可以调用 signOut( )
。
Does anyone know how long would it take for the token to expire? There no option now to set the token validity on the console.
解决方案
In the latest release of Firebase Authentication, login sessions don't expire anymore. Instead it uses a combination of long-lived account tokens and short-lived, auto-refreshed access tokens to get the best of both worlds.
If you want to end a user's session, you can call signOut()
.
这篇关于Firebase 3.x - 令牌/会话过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文