Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
com.google.api.client.extensions.java6.auth.oauth2 |
OAuth 2.0 utilities that help simplify the authorization flow on Java 6.
|
Modifier and Type | Method | Description |
---|---|---|
StoredCredential |
StoredCredential.setAccessToken(String accessToken) |
Sets the access token or
null for none. |
StoredCredential |
StoredCredential.setExpirationTimeMilliseconds(Long expirationTimeMilliseconds) |
Sets the expected expiration time in milliseconds or
null for none. |
StoredCredential |
StoredCredential.setRefreshToken(String refreshToken) |
Sets the refresh token or
null for none. |
Modifier and Type | Method | Description |
---|---|---|
com.google.api.client.util.store.DataStore<StoredCredential> |
AuthorizationCodeFlow.Builder.getCredentialDataStore() |
Beta Returns the stored credential data store or null for none. |
com.google.api.client.util.store.DataStore<StoredCredential> |
AuthorizationCodeFlow.getCredentialDataStore() |
Beta Returns the stored credential data store or null for none. |
com.google.api.client.util.store.DataStore<StoredCredential> |
DataStoreCredentialRefreshListener.getCredentialDataStore() |
Returns the stored credential data store.
|
static com.google.api.client.util.store.DataStore<StoredCredential> |
StoredCredential.getDefaultDataStore(com.google.api.client.util.store.DataStoreFactory dataStoreFactory) |
Returns the stored credential data store using the ID
DEFAULT_DATA_STORE_ID . |
Modifier and Type | Method | Description |
---|---|---|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setCredentialDataStore(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) |
Beta Sets the stored credential data store or null for none. |
Constructor | Description |
---|---|
DataStoreCredentialRefreshListener(String userId,
com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) |
Modifier and Type | Method | Description |
---|---|---|
void |
FileCredentialStore.migrateTo(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) |
Deprecated.
Migrates to the new format using
DataStore of StoredCredential . |
Copyright © 2011–2019 Google. All rights reserved.