撤销帐户权限的应用程序 [英] Revoke account permission for an app

查看:182
本文介绍了撤销帐户权限的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个code的请求的authToken从客户经理,利用getAuthToken()。在第一个时间 - 用户需要允许的验证,但后来就没有必要

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 there's no need to.

我想知道是否有一种方法来撤销该许可,使用Android系统或code,为了帮我调试我的程序(我跑出来帐户:))。卸载应用程序并没有帮助。

I want to know if there's a way to revoke that permission, using the android system or code, in order to help me debug my program (I'm running out of accounts :)). Uninstalling the app doesn't help.

感谢您,

乌迪

推荐答案

我发现,当您删除并重新添加的帐户,然后许可被撤销,你必须再次允许它。

I've found that when you remove and re-add the account, then the permission is revoked, and you have to allow it again.

这是我发现,我这标志着作为回答,除非我会得到一个更好的最简单的方法。

That's the easiest way i've found, I'm marking this as the answer unless I'll get a better one.

这篇关于撤销帐户权限的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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