【发布时间】:2020-02-28 18:34:19
【问题描述】:
我正在使用 Python 构建一个 Web 应用程序,并且我想对用户进行身份验证。
pyrebase 包似乎已经过时,它会产生依赖错误,所以我不能使用它。
我知道firebase-admin API 中有一个函数是这样工作的:
from firebase import auth
email = example@example.com
user = auth.get_user_by_email(email)
但是如果这个用户有密码怎么办?我想检查是否正确提供了电子邮件和密码。提前致谢。
【问题讨论】:
标签: python firebase firebase-authentication firebase-admin