Home
last modified time | relevance | path

Searched refs:accessToken (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java329 String accessToken = cache.retrieveAccessToken(mContext, mAccount); in saslAuthOAuth() local
331 saslAuthOAuth(username, accessToken); in saslAuthOAuth()
333 accessToken = cache.refreshAccessToken(mContext, mAccount); in saslAuthOAuth()
334 saslAuthOAuth(username, accessToken); in saslAuthOAuth()
338 private void saslAuthOAuth(final String username, final String accessToken) throws IOException, in saslAuthOAuth() argument
340 final String authPhrase = "user=" + username + '\001' + "auth=Bearer " + accessToken + in saslAuthOAuth()
/packages/apps/Email/provider_src/com/android/email/mail/internet/
DOAuthAuthenticator.java54 public AuthenticationResult(final String accessToken, final String refreshToken, in AuthenticationResult() argument
56 mAccessToken = accessToken; in AuthenticationResult()
168 final String accessToken = jsonResult.getString(JSON_ACCESS_TOKEN); in parseResponse() local
178 return new AuthenticationResult(accessToken, refreshToken, expiresInSeconds); in parseResponse()
DAuthenticationCache.java30 CacheEntry(long accountId, String providerId, String accessToken, String refreshToken, in CacheEntry() argument
34 mAccessToken = accessToken; in CacheEntry()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DCredential.java67 public Credential(long id, String providerId, String accessToken, String refreshToken, in Credential() argument
72 mAccessToken = accessToken; in Credential()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java110 final String accessToken = AuthenticationCache.getInstance().retrieveAccessToken( in getLoginPhrase() local
112 if (mLoginPhrase == null || !TextUtils.equals(mAccessToken, accessToken)) { in getLoginPhrase()
113 mAccessToken = accessToken; in getLoginPhrase()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupCredentialsFragment.java264 final String accessToken = data.getStringExtra( in onActivityResult() local
272 results.putString(EXTRA_OAUTH_ACCESS_TOKEN, accessToken); in onActivityResult()