public final class IdpConfig extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Identity Toolkit API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
IdpConfig() |
| Modifier and Type | Method and Description |
|---|---|
IdpConfig |
clone() |
String |
getClientId()
OAuth2 client ID.
|
Boolean |
getEnabled()
Whether this IDP is enabled.
|
Integer |
getExperimentPercent()
Percent of users who will be prompted/redirected federated login for this IDP.
|
String |
getProvider()
OAuth2 provider.
|
String |
getSecret()
OAuth2 client secret.
|
List<String> |
getWhitelistedAudiences()
Whitelisted client IDs for audience check.
|
IdpConfig |
set(String fieldName,
Object value) |
IdpConfig |
setClientId(String clientId)
OAuth2 client ID.
|
IdpConfig |
setEnabled(Boolean enabled)
Whether this IDP is enabled.
|
IdpConfig |
setExperimentPercent(Integer experimentPercent)
Percent of users who will be prompted/redirected federated login for this IDP.
|
IdpConfig |
setProvider(String provider)
OAuth2 provider.
|
IdpConfig |
setSecret(String secret)
OAuth2 client secret.
|
IdpConfig |
setWhitelistedAudiences(List<String> whitelistedAudiences)
Whitelisted client IDs for audience check.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getClientId()
null for nonepublic IdpConfig setClientId(String clientId)
clientId - clientId or null for nonepublic Boolean getEnabled()
null for nonepublic IdpConfig setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic Integer getExperimentPercent()
null for nonepublic IdpConfig setExperimentPercent(Integer experimentPercent)
experimentPercent - experimentPercent or null for nonepublic String getProvider()
null for nonepublic IdpConfig setProvider(String provider)
provider - provider or null for nonepublic String getSecret()
null for nonepublic IdpConfig setSecret(String secret)
secret - secret or null for nonepublic List<String> getWhitelistedAudiences()
null for nonepublic IdpConfig setWhitelistedAudiences(List<String> whitelistedAudiences)
whitelistedAudiences - whitelistedAudiences or null for nonepublic IdpConfig set(String fieldName, Object value)
set in class GenericJsonpublic IdpConfig clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.