HomeSort by relevance Sort by last modified time
    Searched refs:authToken (Results 1 - 16 of 16) sorted by null

  /frameworks/support/volley/src/com/android/volley/toolbox/
Authenticator.java 35 public void invalidateAuthToken(String authToken);
AndroidAuthenticator.java 67 String authToken = null;
73 authToken = result.getString(AccountManager.KEY_AUTHTOKEN);
75 if (authToken == null) {
79 return authToken;
83 public void invalidateAuthToken(String authToken) {
84 AccountManager.get(mContext).invalidateAuthToken(mAccount.type, authToken);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java 70 * doesn't cause the user's password or authToken to be changed on the
186 * authToken that's returned from the server as the 'password' for this
191 private void finishLogin(String authToken) {
213 * @param authToken the authentication token returned by the server, or NULL if
216 public void onAuthenticationResult(String authToken) {
218 boolean success = ((authToken != null) && (authToken.length() > 0));
229 finishLogin(authToken);
312 protected void onPostExecute(final String authToken) {
314 // communicate the authToken (or null for an error)
    [all...]
Authenticator.java 39 * for syncing, we want to use an authtoken instead - so we're not continually
42 * we need to return the appropriate authToken for the specified account. If we
43 * already have an authToken stored in the account, we return that authToken. If
45 * to the sample service to fetch an authToken. If that fails (or we didn't have
92 // If the caller requested an authToken type we don't support, then
101 // the server for an appropriate AuthToken.
105 final String authToken = NetworkUtilities.authenticate(account.name, password);
106 if (!TextUtils.isEmpty(authToken)) {
110 result.putString(AccountManager.KEY_AUTHTOKEN, authToken);
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 67 public static final String PARAM_AUTH_TOKEN = "authtoken";
123 String authToken = null;
129 authToken = ireader.readLine().trim();
132 if ((authToken != null) && (authToken.length() > 0)) {
134 return authToken;
140 Log.e(TAG, "IOException when getting authtoken", e);
154 * @param authtoken The authtoken stored in the AccountManager for this
161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts
    [all...]
  /frameworks/base/core/java/android/accounts/
IAccountManager.aidl 38 void invalidateAuthToken(String accountType, String authToken);
40 void setAuthToken(in Account account, String authTokenType, String authToken);
AccountManagerService.java 76 * A system service that provides account, password, and authtoken management for all
115 private static final String AUTHTOKENS_AUTHTOKEN = "authtoken";
723 public void invalidateAuthToken(String accountType, String authToken) {
730 if (authToken == null) throw new IllegalArgumentException("authToken is null");
739 invalidateAuthTokenLocked(accounts, db, accountType, authToken);
751 String accountType, String authToken) {
752 if (authToken == null || accountType == null) {
765 new String[]{authToken, accountType});
    [all...]
AccountManager.java 167 public static final String KEY_AUTHTOKEN = "authtoken";
408 * Change whether or not an app (identified by its uid) is allowed to retrieve an authToken
623 * @param authToken The auth token to invalidate, may be null
625 public void invalidateAuthToken(final String accountType, final String authToken) {
628 if (authToken != null) {
629 mService.invalidateAuthToken(accountType, authToken);
    [all...]
  /development/apps/Development/src/com/android/development/
AccountsTester.java 459 String authToken = result.getString(AccountManager.KEY_AUTHTOKEN);
460 mAccountManager.invalidateAuthToken(mAccount.type, authToken);
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 247 milliseconds