Class FilePersistedCredential

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>

    @Deprecated
    @Beta
    public class FilePersistedCredential
    extends com.google.api.client.json.GenericJson
    Deprecated.
    (to be removed in the future) Use FileDataStoreFactory instead.
    Beta
    Persisted credential implementation to be used exclusively with FileCredentialStore.
    Since:
    1.11
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.api.client.util.GenericData

        com.google.api.client.util.GenericData.Flags
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String accessToken
      Deprecated.
      Access token or null for none.
      private java.lang.Long expirationTimeMillis
      Deprecated.
      Expiration time in milliseconds null for none.
      private java.lang.String refreshToken
      Deprecated.
      Refresh token null for none.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      FilePersistedCredential clone()
      Deprecated.
       
      (package private) void load​(Credential credential)
      Deprecated.
       
      FilePersistedCredential set​(java.lang.String fieldName, java.lang.Object value)
      Deprecated.
       
      (package private) void store​(Credential credential)
      Deprecated.
      Store information from the credential.
      (package private) StoredCredential toStoredCredential()
      Deprecated.
       
      • Methods inherited from class com.google.api.client.json.GenericJson

        getFactory, setFactory, toPrettyString, toString
      • Methods inherited from class com.google.api.client.util.GenericData

        entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
      • Methods inherited from class java.util.AbstractMap

        clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Field Detail

      • accessToken

        private java.lang.String accessToken
        Deprecated.
        Access token or null for none.
      • refreshToken

        private java.lang.String refreshToken
        Deprecated.
        Refresh token null for none.
      • expirationTimeMillis

        private java.lang.Long expirationTimeMillis
        Deprecated.
        Expiration time in milliseconds null for none.
    • Constructor Detail

      • FilePersistedCredential

        public FilePersistedCredential()
        Deprecated.