| Package | Description |
|---|---|
| com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
| Modifier and Type | Method and 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 and Description |
|---|---|
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> |
AuthorizationCodeFlow.Builder.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 and 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 and Description |
|---|
DataStoreCredentialRefreshListener(String userId,
com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) |
Copyright © 2011–2018 Google. All rights reserved.