【发布时间】:2022-08-22 14:34:31
【问题描述】:
我们有一个用于生成 Firebase JWT 令牌的 nodeJs 实用程序:
firebase.auth().currentUser.getIdToken(true) ...
我想知道是否可以在 Java 中做类似的事情来获得类似的 JWT。
到目前为止我所尝试的:
依赖 -火力基地管理员
FirebaseAuth.getInstance().getUser(uid) --> this returns UserRecord with no method similar to getIdToken
有什么我可以在这里使用的吗?
标签: java firebase firebase-authentication