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.
Overview. The Google Authenticator app was chosen because it's free and widely available on Android, iOS/Apple, BlackBerry, or Windows mobile devices, and other third party APIs/Apps.
To use Google Authenticator on your Android device, you need: Android version 4.4 or up. 2-Step Verification turned on.
With 2-Step Verification, also called two-factor authentication, you can add an extra layer of security to your account in case your password is stolen. After you set up 2-Step Verification, you can sign in to your account with: Your password.
When using an authenticator for your 2-step verification codes, you'll still be protected even if your password is stolen and your phone number is ported, since these apps are tied to your mobile device, and not your phone number.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With