[英]Revoke Apple account access in Android using Firebase
I have implemented apple account authentication in Android by using Firebase我已经使用 Firebase 在 Android 中实现了苹果帐户身份验证
https://firebase.google.com/docs/auth/android/apple https://firebase.google.com/docs/auth/android/apple
We have to revoke the access for apple account in our application.我们必须在我们的应用程序中撤销对苹果帐户的访问权限。 For iOS, authorisation code can be fetched from apple SDK and can revoke the access by using backend service code.对于iOS,授权码可以从苹果SDK获取,可以通过后台服务码撤销访问。
In Android, we can get Firebase Auth Token ID.在 Android 中,我们可以得到 Firebase Auth Token ID。 Can we use token ID as authorisation code to revoke the access.我们可以使用令牌 ID 作为授权码来撤销访问权限吗? If not, do we have any other way to revoke the access from Android client application.如果没有,我们是否有任何其他方式来撤销 Android 客户端应用程序的访问权限。
As I understand it, you want to keep the user account with one or more other sign-in methods and only unlink the user's Apple sign-in.据我了解,您希望使用一种或多种其他登录方法保留用户帐户,并且仅取消链接用户的 Apple 登录。
This might be what you are looking for: https://firebase.google.com/docs/auth/android/account-linking#unlink-an-auth-provider-from-a-user-account这可能是您正在寻找的内容: https://firebase.google.com/docs/auth/android/account-linking#unlink-an-auth-provider-from-a-user-account
FirebaseAuth
.getInstance()
.getCurrentUser()
.unlink("apple.com");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.