Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
com.google.api.client.extensions.appengine.auth.oauth2 |
OAuth 2.0 utilities that help simplify the authorization flow on Google App Engine.
|
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 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 |
---|---|
DataStore<StoredCredential> |
AuthorizationCodeFlow.getCredentialDataStore()
|
DataStore<StoredCredential> |
AuthorizationCodeFlow.Builder.getCredentialDataStore()
|
DataStore<StoredCredential> |
DataStoreCredentialRefreshListener.getCredentialDataStore()
Returns the stored credential data store.
|
static DataStore<StoredCredential> |
StoredCredential.getDefaultDataStore(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(DataStore<StoredCredential> credentialDataStore)
|
Constructor and Description |
---|
DataStoreCredentialRefreshListener(String userId,
DataStore<StoredCredential> credentialDataStore) |
Modifier and Type | Method and Description |
---|---|
void |
AppEngineCredentialStore.migrateTo(DataStore<StoredCredential> credentialDataStore)
Deprecated.
Migrates to the new format using
DataStore of StoredCredential . |
Modifier and Type | Method and Description |
---|---|
void |
FileCredentialStore.migrateTo(DataStore<StoredCredential> credentialDataStore)
Deprecated.
Migrates to the new format using
DataStore of StoredCredential . |
Copyright © 2011–2020 Google. All rights reserved.