/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
AutoLoginProcessor.java | 16 * @param authToken The authentication token access is being requested for. 21 String accountName, String authToken, boolean success, String result);
|
AutoLoginDelegate.java | 75 public void dismissAutoLogins(String accountName, String authToken, boolean success, 85 if (accountAuthToken != null && accountAuthToken.equals(authToken)
|
/frameworks/volley/src/com/android/volley/toolbox/ |
Authenticator.java | 35 public void invalidateAuthToken(String authToken);
|
AndroidAuthenticator.java | 83 String authToken = null; 89 authToken = result.getString(AccountManager.KEY_AUTHTOKEN); 91 if (authToken == null) { 95 return authToken; 99 public void invalidateAuthToken(String authToken) { 100 AccountManager.get(mContext).invalidateAuthToken(mAccount.type, authToken);
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerHelper.java | 271 public void onPostExecute(String authToken) { 272 onGotAuthTokenResult(account, authTokenType, authToken, callback, numTries, 277 String authToken = getAuthTokenInner(finalFuture, errorEncountered); 278 onGotAuthTokenResult(account, authTokenType, authToken, callback, numTries, 283 private void onGotAuthTokenResult(Account account, String authTokenType, String authToken, 286 if (authToken != null || !errorEncountered.get() || 289 callback.tokenAvailable(authToken); 310 public String getNewAuthToken(Account account, String authToken, String authTokenType) { 314 if (authToken != null && !authToken.isEmpty()) [all...] |
SystemAccountManagerDelegate.java | 54 public void invalidateAuthToken(String accountType, String authToken) { 55 mAccountManager.invalidateAuthToken(accountType, authToken);
|
AccountManagerDelegate.java | 31 void invalidateAuthToken(String accountType, String authToken);
|
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
AccountHolder.java | 65 * @param authToken the auth token to remove 68 public boolean removeAuthToken(String authToken) { 71 if (authToken.equals(tokenEntry.getValue())) { 107 public AccountHolder withAuthToken(String authTokenType, String authToken) { 108 return copy().authToken(authTokenType, authToken).build(); 146 public Builder authToken(String authTokenType, String authToken) { 150 mTempAuthTokens.put(authTokenType, authToken);
|
MockAccountManager.java | 238 final String authToken = internalGenerateAndStoreAuthToken(ah, authTokenType); 245 return getAuthTokenBundle(ah.getAccount(), authToken); 267 private static Bundle getAuthTokenBundle(Account account, String authToken) { 269 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); 280 // No authtoken registered. Need to create one. 281 String authToken = UUID.randomUUID().toString(); 283 ": autTokenType = " + authTokenType + ", authToken = " + authToken); 284 ah = ah.withAuthToken(authTokenType, authToken); 297 public void invalidateAuthToken(String accountType, String authToken) { [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
example.js | 7 var authToken = ''; 14 function onGetAuthToken(authToken) { 17 if (authToken) { 20 window.authToken = authToken; 23 common.naclModule.postMessage('token:'+authToken);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceTest.java | 81 String authToken = "someToken"; 83 runTestOfGetOAuth2AccessTokenWithTimeout(authToken); 89 String authToken = null; 91 runTestOfGetOAuth2AccessTokenWithTimeout(authToken); 104 .authToken(oauth2Scope, expectedToken).build();
|
/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...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
SessionConnector.java | 40 public void connectToHost(String accountName, String authToken, HostInfo host) { 42 mAuthToken = authToken; 53 JniInterface.connectToHost(accountName, authToken, host.jabberId, host.id, host.publicKey,
|
HostListLoader.java | 72 public void retrieveHostList(String authToken, Callback callback) { 74 final String authTokenFinal = authToken; 84 private void doRetrieveHostList(String authToken, Callback callback) { 89 link.setRequestProperty("Authorization", "OAuth " + authToken);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 134 String authToken = accountManager.peekAuthToken(ACCOUNT, authTokenType); 136 assertThat(authToken, equalTo("myToken")); 143 String authToken = 146 assertNull(authToken); 153 String authToken = accountManager.peekAuthToken(ACCOUNT, "other"); 155 assertNull(authToken);
|
/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...] |
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/ |
ChromeShellTab.java | 97 String authToken, boolean success, String result) { 98 getInfoBarContainer().processAutoLogin(accountName, authToken,
|
/external/chromium_org/remoting/webapp/browser_test/ |
mock_signal_strategy.js | 27 function(server, username, authToken) {};
|
/external/chromium_org/remoting/webapp/ |
signal_strategy.js | 48 * @param {string} authToken 51 function(server, username, authToken) {
|
xmpp_login_handler.js | 20 * @param {string} authToken OAuth2 token. 34 authToken, 44 this.authToken_ = authToken;
|
xmpp_connection.js | 66 * @param {string} authToken 69 function(server, username, authToken) { 93 new remoting.XmppLoginHandler(xmppServer, username, authToken,
|
/frameworks/base/core/java/android/accounts/ |
IAccountManager.aidl | 47 void invalidateAuthToken(String accountType, String authToken); 49 void setAuthToken(in Account account, String authTokenType, String authToken);
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/ |
JniInterface.java | 177 public static void connectToHost(String username, String authToken, 183 nativeConnect(username, authToken, hostJid, hostId, hostPubkey, 190 private static native void nativeConnect(String username, String authToken, String hostJid,
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | 98 * A system service that provides account, password, and authtoken management for all 139 private static final String AUTHTOKENS_AUTHTOKEN = "authtoken"; [all...] |