更新时间: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.
Firebase cloud function
用于在Firebase数据库发生特定事件时删除用户.Admin SDK
创建后端,并构建端点以供用户调用操作用户数据.Firebase cloud function
to delete user when specific event occur to Firebase database.Admin SDK
and build endpoints for user to call an manipulate user data.