OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:authToken
(Results
1 - 7
of
7
) sorted by null
/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
);
/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
...]
/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();
/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
);
/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/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
...]
/development/apps/Development/src/com/android/development/
AccountsTester.java
459
String
authToken
= result.getString(AccountManager.KEY_AUTHTOKEN);
460
mAccountManager.invalidateAuthToken(mAccount.type,
authToken
);
Completed in 1308 milliseconds