Revoke account permission for an app

前端 未结 3 1919
借酒劲吻你
借酒劲吻你 2021-02-08 19:34

I wrote a code that request an AuthToken from the account manager, using the getAuthToken(). On the first time - the user needs to \"Allow\" the authentication, but later on the

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 20:31

    You might need to do a full uninstall/reinstall to in effect revoke it. Also, if you are using a specific sharedUserId, you can change the sharedUserId after you uninstall so it looks like a different account. Finally, you can sign it with a different cert. That's what I've been able to get away with, but a clean API to revoke (or even just an Activity) would be nice.

提交回复
热议问题