使用 iOS SDK 删除在 Firebase 中从电子邮件创建的用户很简单:
myFirebaseRoot.removeUser(user.email, password: user.password, withCompletionBlock: { error in
}
但我没有看到删除从 Facebook 创建的用户的方法。为什么是这样?从仪表板中删除 Facebook 用户显然是可能的:
有人知道如何使用 iOS SDK 删除 Facebook 用户吗?
编辑
使用版本 2.5.1
最佳答案
一旦你得到一个FIRUser
,你可以调用deleteWithCompletion
来删除那个用户。
https://firebase.google.com/docs/reference/ios/firebaseauth/interface_f_i_r_user.html#method-detail
关于ios - 火力地堡 (iOS) : Delete User created from Facebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38149300/