I would like to use the firebase database in my python program and restrict certain information to certain users. I have figured out how to set up the rules but would like to implement the authentication part into my program. I have imported:
我想在我的python程序中使用firebase数据库并将某些信息限制为某些用户。我已经弄清楚如何设置规则但是想在我的程序中实现身份验证部分。我已导入:
from firebase import firebase
And I have a user: test.user@gmail.com pass: password123
我有一个用户:test.user@gmail.com传递:password123
how can would I make a post request that verifies that this user can indeed post?
我怎样才能发一个帖子请求来验证这个用户确实可以发帖?
1 个解决方案
#1
0
You are able to create custom Security Rules
and verify users permissions with Custom Claims
.
您可以使用自定义声明创建自定义安全规则并验证用户权限。
Check this tutorial for more information
有关更多信息,请查看本教程
#1
0
You are able to create custom Security Rules
and verify users permissions with Custom Claims
.
您可以使用自定义声明创建自定义安全规则并验证用户权限。
Check this tutorial for more information
有关更多信息,请查看本教程