HomeSort by relevance Sort by last modified time
    Searched full:authtoken (Results 1 - 25 of 65) sorted by null

1 2 3

  /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/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 230 final String authToken = internalGenerateAndStoreAuthToken(ah, authTokenType);
237 return getAuthTokenBundle(ah.getAccount(), authToken);
259 private static Bundle getAuthTokenBundle(Account account, String authToken) {
261 result.putString(AccountManager.KEY_AUTHTOKEN, authToken);
272 // No authtoken registered. Need to create one.
273 String authToken = UUID.randomUUID().toString();
275 ": autTokenType = " + authTokenType + ", authToken = " + authToken);
276 ah = ah.withAuthToken(authTokenType, authToken);
289 public void invalidateAuthToken(String accountType, String authToken) {
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
AndroidAuthenticator.java 81 String authToken = null;
87 authToken = result.getString(AccountManager.KEY_AUTHTOKEN);
89 if (authToken == null) {
93 return authToken;
97 public void invalidateAuthToken(String authToken) {
98 AccountManager.get(mContext).invalidateAuthToken(mAccount.type, authToken);
Authenticator.java 35 public void invalidateAuthToken(String authToken);
  /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)
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
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...]
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...]
  /external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
AccountManagerHelper.java 272 public void onPostExecute(String authToken) {
273 onGotAuthTokenResult(account, authTokenType, authToken, callback, numTries,
278 String authToken = getAuthTokenInner(finalFuture, errorEncountered);
279 onGotAuthTokenResult(account, authTokenType, authToken, callback, numTries,
284 private void onGotAuthTokenResult(Account account, String authTokenType, String authToken,
287 if (authToken != null || !errorEncountered.get() ||
290 callback.tokenAvailable(authToken);
311 public String getNewAuthToken(Account account, String authToken, String authTokenType) {
315 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/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);
  /hardware/samsung_slsi/exynos5/mobicore/
README.android 61 Custom authtoken path
64 The authtoken file is created at provisioning and is by default located in /data/app/mcRegistry/00000.authtoken
72 This would change the location of the authtoken file to /efs
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/
OAuth2TokenServiceTest.java 75 String authToken = "someToken";
77 runTestOfGetOAuth2AccessTokenWithTimeout(authToken);
83 String authToken = null;
85 runTestOfGetOAuth2AccessTokenWithTimeout(authToken);
98 .authToken(oauth2Scope, expectedToken).build();
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/
Constants.java 26 * Authtoken type string.
  /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/remoting/tools/
runclient.py 35 authtoken = authinfo[1].rstrip()
48 command.append('--token ' + authtoken)
  /frameworks/base/core/java/android/accounts/
IAccountManager.aidl 41 void invalidateAuthToken(String accountType, String authToken);
43 void setAuthToken(in Account account, String authTokenType, String authToken);
  /frameworks/base/core/res/res/layout/
permissions_account_and_authtokentype.xml 18 Defines the layout of an account and authtoken type permission item.
19 Contains an icon, the account type and name and the authtoken type.
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java 86 // Use the account manager to request the AuthToken we'll need
87 // to talk to our sample server. If we don't have an AuthToken
89 // and AuthToken.
90 final String authtoken = mAccountManager.blockingGetAuthToken(account, local
101 updatedContacts = NetworkUtilities.syncContacts(account, authtoken,
  /external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/
TestShellTab.java 123 String authToken, boolean success, String result) {
124 getInfoBarContainer().processAutoLogin(accountName, authToken,
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
TestAuthenticator.java 79 * Just return the user name as the authtoken.
108 // null means we don't support multiple authToken types
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
web_services.py 60 an authtoken as the only content. If auth fails, we'll send an "invalid
96 self.authtoken = self.request.get('authtoken')
102 (self.authtoken == BaseWebServiceHandler.ACCT_AUTH_TOKEN)):
114 request to include username and password fields. It returns authtoken
130 request to include username and authtoken. If the authtoken is valid
  /external/chromium_org/chrome/browser/signin/
android_profile_oauth2_token_service.cc 249 // |authToken| param is only valid when |result| is true.
251 jstring authToken,
254 std::string token = ConvertJavaStringToUTF8(env, authToken);

Completed in 737 milliseconds

1 2 3