- account
- The account to fetch an auth token for
- authTokenType
- The type of auth token to fetch, see {#getAuthToken}
Documentation for this section has not yet been entered.
Gets an auth token from the AccountManager's cache. If no auth token is cached for this account, null will be returned -- a new auth token will not be generated, and the server will not be contacted. Intended for use by the authenticator, not directly by applications.
It is safe to call this method from the main thread.
This method requires the caller to hold the permission NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#AUTHENTICATE_ACCOUNTS and to have the same UID as the account's authenticator.