Class LegacyJsonKey
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey
Deprecated.
For "Robot" service account client secrets a key piece of information is the email address
contained within "client_secrets.json", which the existing
GoogleClientSecrets class does
not parse. This makeshift partial copy of GoogleClientSecrets implements *just* the
"client_email" parsing.- Author:
- Matt Moore
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Container for our new field, modeled after:GoogleClientSecrets.DetailsNested 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 extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWeb()Deprecated.Returns the details for web applications.static LegacyJsonKeyload(com.google.api.client.json.JsonFactory jsonFactory, InputStream inputStream) Deprecated.Loads theclient_secrets.jsonfile from the given input stream.voidDeprecated.Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, set, setFactory, toPrettyString, toStringMethods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysMethods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, 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
-
Constructor Details
-
LegacyJsonKey
public LegacyJsonKey()Deprecated.
-
-
Method Details
-
getWeb
Deprecated.Returns the details for web applications. -
setWeb
Deprecated. -
load
public static LegacyJsonKey load(com.google.api.client.json.JsonFactory jsonFactory, InputStream inputStream) throws IOException Deprecated.Loads theclient_secrets.jsonfile from the given input stream.- Throws:
IOException
-