且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从Android App删除Firebase身份验证用户?

更新时间:2022-05-23 19:58:36

如果要允许应用程序在控制台中删除用户,则没有纯粹的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.

  1. 用户Firebase cloud function用于在Firebase数据库发生特定事件时删除用户.
  2. 使用Admin SDK创建后端,并构建端点以供用户调用操作用户数据.
  1. User Firebase cloud function to delete user when specific event occur to Firebase database.
  2. Create backend with Admin SDK and build endpoints for user to call an manipulate user data.