取消授权和App距离的AccountManager凭据访问 [英] Unauthorize and App from AccountManager Credential Access

查看:222
本文介绍了取消授权和App距离的AccountManager凭据访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我开发一个应用程序使用的AccountManager来获取随后被用于获取从AppEngine上的cookie的谷歌帐户凭据。我注意到,我发现bug的时候我送的应用测试,因为他们得到提示进行授权的帐户。我需要做一大堆的测试,并正在寻找一种方法来取消授权从一个特定的凭证的应用程序,所以我可以做下一个安装我的测试。我找不到任何的设置,我可以从应用程序中删除授权的帐户。你知道的一种方式做到这一点?

I have an app that I'm developing that uses AccountManager to get credentials for a Google account that is subsequently used for getting a cookie from AppEngine. I've noticed that I find bugs when I send the app to testers because they get prompted to authorize the account. I need to do a bunch of testing and am looking for a way to "unauthorize" an app from a particular credential so I can do my testing on the next install. I can't find anything in settings where I can remove the authorization to an account from an app. Do you know of a way to do this?

感谢你,结果
状态

Thank you,
Stateful

推荐答案

至少为2.3,对于这个没有API。 IIRC,如果你安装了应用程序,授权条目将被从数据库中删除,因此重新安装应该工作。

At least as of 2.3, there is no API for this. IIRC, if you install the application, the authorization entry will be removed from the database, so a re-install should work.

这篇关于取消授权和App距离的AccountManager凭据访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆