@Deprecated public final class LegacyJsonKey extends com.google.api.client.json.GenericJson
GoogleClientSecrets
class does
not parse. This makeshift partial copy of GoogleClientSecrets
implements *just* the
"client_email" parsing.Modifier and Type | Class and Description |
---|---|
static class |
LegacyJsonKey.Details
Deprecated.
Container for our new field, modeled after:
GoogleClientSecrets.Details |
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LegacyJsonKey()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LegacyJsonKey.Details |
getWeb()
Deprecated.
Returns the details for web applications.
|
static LegacyJsonKey |
load(com.google.api.client.json.JsonFactory jsonFactory,
InputStream inputStream)
Deprecated.
Loads the
client_secrets.json file from the given input stream. |
void |
setWeb(LegacyJsonKey.Details web)
Deprecated.
|
clone, getFactory, set, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public LegacyJsonKey.Details getWeb()
public void setWeb(LegacyJsonKey.Details web)
public static LegacyJsonKey load(com.google.api.client.json.JsonFactory jsonFactory, InputStream inputStream) throws IOException
client_secrets.json
file from the given input stream.IOException
Copyright © 2016–2021. All rights reserved.