标签: ios firebase firebase-authentication
如何处理Firebase中用户令牌的过期?
我想到的是在每次网络呼叫之前验证令牌是否过期,如果是,则将用户发送到登录视图控制器。
我很确定这不是这样做的方法,因为它需要太多的代码重复。
如何'监听'令牌的到期?