public final class IdpConfig
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
IdpConfig() |
| Modifier and Type | Method and Description |
|---|---|
IdpConfig |
clone() |
java.lang.String |
getClientId()
OAuth2 client ID.
|
java.lang.Boolean |
getEnabled()
Whether this IDP is enabled.
|
java.lang.Integer |
getExperimentPercent()
Percent of users who will be prompted/redirected federated login for this IDP.
|
java.lang.String |
getProvider()
OAuth2 provider.
|
java.lang.String |
getSecret()
OAuth2 client secret.
|
java.util.List<java.lang.String> |
getWhitelistedAudiences()
Whitelisted client IDs for audience check.
|
IdpConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
IdpConfig |
setClientId(java.lang.String clientId)
OAuth2 client ID.
|
IdpConfig |
setEnabled(java.lang.Boolean enabled)
Whether this IDP is enabled.
|
IdpConfig |
setExperimentPercent(java.lang.Integer experimentPercent)
Percent of users who will be prompted/redirected federated login for this IDP.
|
IdpConfig |
setProvider(java.lang.String provider)
OAuth2 provider.
|
IdpConfig |
setSecret(java.lang.String secret)
OAuth2 client secret.
|
IdpConfig |
setWhitelistedAudiences(java.util.List<java.lang.String> whitelistedAudiences)
Whitelisted client IDs for audience check.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getClientId()
null for nonepublic IdpConfig setClientId(java.lang.String clientId)
clientId - clientId or null for nonepublic java.lang.Boolean getEnabled()
null for nonepublic IdpConfig setEnabled(java.lang.Boolean enabled)
enabled - enabled or null for nonepublic java.lang.Integer getExperimentPercent()
null for nonepublic IdpConfig setExperimentPercent(java.lang.Integer experimentPercent)
experimentPercent - experimentPercent or null for nonepublic java.lang.String getProvider()
null for nonepublic IdpConfig setProvider(java.lang.String provider)
provider - provider or null for nonepublic java.lang.String getSecret()
null for nonepublic IdpConfig setSecret(java.lang.String secret)
secret - secret or null for nonepublic java.util.List<java.lang.String> getWhitelistedAudiences()
null for nonepublic IdpConfig setWhitelistedAudiences(java.util.List<java.lang.String> whitelistedAudiences)
whitelistedAudiences - whitelistedAudiences or null for nonepublic IdpConfig set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic IdpConfig clone()
clone in class com.google.api.client.json.GenericJson