Uses of Class
com.google.api.client.auth.oauth2.StoredCredential
-
Packages that use StoredCredential 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. -
-
Uses of StoredCredential in com.google.api.client.auth.oauth2
Methods in com.google.api.client.auth.oauth2 that return StoredCredential Modifier and Type Method Description StoredCredential
StoredCredential. setAccessToken(String accessToken)
Sets the access token ornull
for none.StoredCredential
StoredCredential. setExpirationTimeMilliseconds(Long expirationTimeMilliseconds)
Sets the expected expiration time in milliseconds ornull
for none.StoredCredential
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 StoredCredential Modifier and Type Method Description com.google.api.client.util.store.DataStore<StoredCredential>
AuthorizationCodeFlow.Builder. getCredentialDataStore()
Beta
Returns the stored credential data store ornull
for none.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 StoredCredential 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 ornull
for none.Constructor parameters in com.google.api.client.auth.oauth2 with type arguments of type StoredCredential Constructor Description DataStoreCredentialRefreshListener(String userId, com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore)
-
Uses of StoredCredential in com.google.api.client.extensions.java6.auth.oauth2
Method parameters in com.google.api.client.extensions.java6.auth.oauth2 with type arguments of type StoredCredential Modifier and Type Method Description void
FileCredentialStore. migrateTo(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore)
Deprecated.Migrates to the new format usingDataStore
ofStoredCredential
.
-