在 Firebase 2 中我能够访问 facebookaccessToken
登录后从任何地方this https://www.firebase.com/docs/web/guide/login/facebook.html#section-logging-in方式,只需使用火力基地参考 https://www.firebase.com/docs/web/guide/understanding-data.html#section-creating-references, eg:
firebase.getAuth().facebook.accessToken
现在,我怎样才能在版本 3(网络)中获得它?
注意,我需要在 Promise 之外使用它 signInWithPopup
Thanks
我刚刚发现this https://firebase.google.com/support/guides/firebase-web#get_the_access_token_numbered关于文档...为什么? :(
由于 Firebase 身份验证不再保留访问令牌,
如果需要,您的应用程序必须自行执行此操作。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)