Firebase FirebaseAuthClient类被弃用 [英] Firebase FirebaseAuthClient class being deprecated
问题描述
用户可以登录认为他们的twitter。
我使用了Firebase文档中显示的AuthClient.login('twitter')函数。
它工作正常,但从昨天我有我的控制台中的这个奇怪的消息:
FirebaseAuthClient类被弃用。请使用 https://cdn.firebase.com/v0/firebase-simple-login而是引用FirebaseSimpleLogin。
我试图将简单的login.js文件在我的应用程序中,并调用函数SimpleLogin(),但它不工作,它说该方法不存在。
请帮助。 >
感谢!
我更新了fire-base-simple-login。 js文件和交换,而不是调用函数:FirebaseAuthClient()调用FirebaseSimpleLogin()和警告消失了!
I have an App build within Angular JS and Firebase. Users can login thought their twitter. I used the AuthClient.login ('twitter') function as show in the Firebase doc. It works fine but since yesterday I have this strange message in my console:
FirebaseAuthClient class being deprecated. Please use https://cdn.firebase.com/v0/firebase-simple-login.js and reference FirebaseSimpleLogin instead.
I have tried to include the simple-login.js file in my app and called the function SimpleLogin() but it doesn't work and it says the method do not exists.
Please help.
Thanks!
I update the fire-base-simple-login.js file and swap instead to call function: FirebaseAuthClient() call FirebaseSimpleLogin() and warning gone!!
这篇关于Firebase FirebaseAuthClient类被弃用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!