如何从Android App删除Firebase身份验证用户? [英] How to delete firebase Authentication Users from Android App?
本文介绍了如何从Android App删除Firebase身份验证用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用我的移动应用程序从Firebase经过身份验证的用户列表中删除A用户.身份验证方法是电子邮件和密码身份验证.
I need to remove A user from firebase authenticated Users list - using my mobile application. Authentication method is email and password authentication.
推荐答案
如果要允许应用程序在控制台中删除用户,则没有纯粹的client-side
解决方案.据我所知,有两种选择.
If you want to allow application to delete user in the console, there is no pure client-side
solution. As far as i've known, there are two option.
- 用户
Firebase cloud function
用于在Firebase数据库发生特定事件时删除用户. - 使用
Admin SDK
创建后端,并构建端点以供用户调用操作用户数据.
- User
Firebase cloud function
to delete user when specific event occur to Firebase database. - Create backend with
Admin SDK
and build endpoints for user to call an manipulate user data.
这篇关于如何从Android App删除Firebase身份验证用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文