相关疑难解决方法(0)

Google API的Android授权令牌类别别名列表在哪里?

在按照教程使用OAuth 2和Android AccountManager时,我被告知在指定AUTH_TOKEN_TYPE时,而不是像这样指定范围:

String AUTH_TOKEN_TYPE = "oauth2:https://www.googleapis.com/auth/tasks";
Run Code Online (Sandbox Code Playgroud)

你可以使用它的别名:

String AUTH_TOKEN_TYPE = "Manage your tasks";
Run Code Online (Sandbox Code Playgroud)

这允许用户理解权限是什么而不是给予URL.我想弄清楚Google Documents List API的别名是什么.

然后,该文档指向一个auth令牌别名列表,但遗憾的是该列表不存在.还有一个相关的Youtube视频,其中开发人员提到了Google Buzz别名,并且还提到将在某个时刻设置别名列表.

我可以使用什么代替Google文档范围?

String AUTH_TOKEN_TYPE = "oauth2:https://docs.google.com/feeds/"
Run Code Online (Sandbox Code Playgroud)

android alias google-api accountmanager oauth-2.0

11
推荐指数
1
解决办法
3645
查看次数

标签 统计

accountmanager ×1

alias ×1

android ×1

google-api ×1

oauth-2.0 ×1