Android 的 Google 帐户身份验证器支持哪些功能?

发布于 2024-12-01 22:15:07 字数 576 浏览 0 评论 0原文

API 文档 Android 的 AccountManagerhasFeatures 方法具有以下内容来说明每个身份验证器支持哪些功能:

帐户特征是身份验证器特定的字符串标记,用于识别 布尔帐户属性。例如,特征用于告诉 Google 帐户是否有特定服务(例如 Google 日历或 Google Talk)已启用。功能名称及其含义 发布在与相关验证器相关的某个地方。

有人知道“与相关身份验证器相关的某个地方”实际上是用于 Google 帐户的身份验证器吗?我想知道支持哪些功能。

The API documentation for the hasFeatures method of Android's AccountManager has the following to say about which features are supported by each authenticator:

Account features are authenticator-specific string tokens identifying
boolean account properties. For example, features are used to tell
whether Google accounts have a particular service (such as Google
Calendar or Google Talk) enabled. The feature names and their meanings
are published somewhere associated with the authenticator in question.

Does anybody have any idea where "somewhere associated with the authenticator in question" actually is for the authenticator used for Google accounts? I would like to know which features are supported.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

简单气质女生网名 2024-12-08 22:15:07

我仍然没有找到任何官方文档,但我已经弄清楚了主要用例,即确定 Google 帐户是否与特定 Google 服务关联。

每个服务都有一个功能,功能名称的格式为 service_。使用这个(可能是out- of-date)Google 服务的服务代码名称列表,我们可以检查诸如 service_lh2 (Picasa) 等功能, service_groups2 (Google 网上论坛) 和 service_mail (GMail)。

I still haven't found any official documentation but I have figured out the main use case, that of determining whether a Google account is associated with a specific Google service.

There is a feature for each service and the feature name is of the form service_<service_code_name>. Using this (possibly out-of-date) list of service code names for Google services, we can check for features such as service_lh2 (Picasa), service_groups2 (Google Groups) and service_mail (GMail).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文