authTokenType indicates which token you are trying to get when you call (among others) GetAuthToken methods in AccountManager.
Some account authenticators use only one authTokenType, while others, such as the authenticator for Google accounts, can issue many different types of tokens with different permissions. You can get a list of OAuth 2.0 tokens for Google on the Google OAuth 2.0 Playground . For example, AuthTokenType to retrieve a user's email from a Google account " https://www.googleapis.com/auth/userinfo.email ".
In authTokenType, nothing is generated by the server, and if you use the account manager to manage your own account type, you must decide what type of token should be for your accounts.
source share