Class FilePersistedCredential
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
@Deprecated
@Beta
public class FilePersistedCredential
extends com.google.api.client.json.GenericJson
Deprecated.
- Since:
- 1.11
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.FlagsNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.(package private) voidload(Credential credential) Deprecated.Deprecated.(package private) voidstore(Credential credential) Deprecated.Store information from the credential.(package private) StoredCredentialDeprecated.Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toStringMethods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysMethods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
accessToken
Deprecated.Access token ornullfor none. -
refreshToken
Deprecated.Refresh tokennullfor none. -
expirationTimeMillis
Deprecated.Expiration time in millisecondsnullfor none.
-
-
Constructor Details
-
FilePersistedCredential
public FilePersistedCredential()Deprecated.
-
-
Method Details
-
store
Deprecated.Store information from the credential.- Parameters:
credential- credential whoseaccess token,refresh token, andexpiration timeneed to be stored
-
load
Deprecated.- Parameters:
credential- credential whoseaccess token,refresh token, andexpiration timeneed to be set if the credential already exists in storage
-
set
Deprecated.- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
Deprecated.- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
toStoredCredential
StoredCredential toStoredCredential()Deprecated.
-
FileDataStoreFactoryinstead.