Uses of Class
com.google.api.client.auth.oauth2.StoredCredential
Packages that use StoredCredential
Package
Description
Implementation of the OAuth 2.0 Authorization
Framework.
OAuth 2.0 utilities that help simplify the authorization flow on Java 6.
-
Uses of StoredCredential in com.google.api.client.auth.oauth2
Fields in com.google.api.client.auth.oauth2 with type parameters of type StoredCredentialModifier and TypeFieldDescription(package private) com.google.api.client.util.store.DataStore
<StoredCredential> AuthorizationCodeFlow.Builder.credentialDataStore
Stored credential data store ornull
for none.private final com.google.api.client.util.store.DataStore
<StoredCredential> AuthorizationCodeFlow.credentialDataStore
Stored credential data store ornull
for none.private final com.google.api.client.util.store.DataStore
<StoredCredential> DataStoreCredentialRefreshListener.credentialDataStore
Stored credential data store.Methods in com.google.api.client.auth.oauth2 that return StoredCredentialModifier and TypeMethodDescriptionStoredCredential.setAccessToken
(String accessToken) Sets the access token ornull
for none.StoredCredential.setExpirationTimeMilliseconds
(Long expirationTimeMilliseconds) Sets the expected expiration time in milliseconds ornull
for none.StoredCredential.setRefreshToken
(String refreshToken) Sets the refresh token ornull
for none.Methods in com.google.api.client.auth.oauth2 that return types with arguments of type StoredCredentialModifier and TypeMethodDescriptionfinal com.google.api.client.util.store.DataStore
<StoredCredential> AuthorizationCodeFlow.Builder.getCredentialDataStore()
Beta
Returns the stored credential data store ornull
for none.final com.google.api.client.util.store.DataStore
<StoredCredential> AuthorizationCodeFlow.getCredentialDataStore()
Beta
Returns the stored credential data store ornull
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 IDDEFAULT_DATA_STORE_ID
.Method parameters in com.google.api.client.auth.oauth2 with type arguments of type StoredCredentialModifier and TypeMethodDescriptionAuthorizationCodeFlow.Builder.setCredentialDataStore
(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) Beta
Sets the stored credential data store ornull
for none.Constructor parameters in com.google.api.client.auth.oauth2 with type arguments of type StoredCredentialModifierConstructorDescriptionDataStoreCredentialRefreshListener
(String userId, com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) -
Uses of StoredCredential in com.google.api.client.extensions.java6.auth.oauth2
Methods in com.google.api.client.extensions.java6.auth.oauth2 that return StoredCredentialModifier and TypeMethodDescription(package private) StoredCredential
FilePersistedCredential.toStoredCredential()
Deprecated.Method parameters in com.google.api.client.extensions.java6.auth.oauth2 with type arguments of type StoredCredentialModifier and TypeMethodDescriptionfinal void
FileCredentialStore.migrateTo
(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) Deprecated.Migrates to the new format usingDataStore
ofStoredCredential
.(package private) void
FilePersistedCredentials.migrateTo
(com.google.api.client.util.store.DataStore<StoredCredential> typedDataStore) Deprecated.