Home
last modified time | relevance | path

Searched refs:authToken (Results 1 – 4 of 4) sorted by relevance

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java191 private void finishLogin(String authToken) { in finishLogin() argument
216 public void onAuthenticationResult(String authToken) { in onAuthenticationResult() argument
218 boolean success = ((authToken != null) && (authToken.length() > 0)); in onAuthenticationResult()
229 finishLogin(authToken); in onAuthenticationResult()
312 protected void onPostExecute(final String authToken) { in onPostExecute() argument
315 onAuthenticationResult(authToken); in onPostExecute()
DAuthenticator.java105 final String authToken = NetworkUtilities.authenticate(account.name, password); in getAuthToken() local
106 if (!TextUtils.isEmpty(authToken)) { in getAuthToken()
110 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); in getAuthToken()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java123 String authToken = null; in authenticate() local
129 authToken = ireader.readLine().trim(); in authenticate()
132 if ((authToken != null) && (authToken.length() > 0)) { in authenticate()
134 return authToken; in authenticate()
/development/apps/Development/src/com/android/development/
DAccountsTester.java459 String authToken = result.getString(AccountManager.KEY_AUTHTOKEN); in run() local
460 mAccountManager.invalidateAuthToken(mAccount.type, authToken); in run()