ios - 火力地堡 (iOS) : Delete User created from Facebook

标签 ios swift firebase firebase-authentication facebook-authentication

使用 iOS SDK 删除在 Firebase 中从电子邮件创建的用户很简单:

myFirebaseRoot.removeUser(user.email, password: user.password, withCompletionBlock: { error in

}

但我没有看到删除从 Facebook 创建的用户的方法。为什么是这样?从仪表板中删除 Facebook 用户显然是可能的:

enter image description here

有人知道如何使用 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/

相关文章:

ios - 在背景暂停音乐中播放声音提醒序列,不会被其他声音停止

swift - 使用 Date int swift 获取一年中的最后一天?

ios - 如何使用 IBAction 将数据写入 Firebase

firebase - 如何删除自动 Google Cloud Firestore 索引?

node.js - 删除了 Firebase 中的本地代码库。我如何检索代码?

ios - NSPredicate 在 Objective C 中查找多个单词

ios - 附加图像数据后,NSData变为零

ios - 是否可以使用 UIPanGestureRecognizer 将顶 View 向右拖动以显示 subview

android - Alpha 版和 Beta 版的 Firebase 崩溃报告

ios - 如何更改 popToRootViewController 的过渡样式?