public final class VerifyCustomTokenResponse 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 |
|---|
VerifyCustomTokenResponse() |
| Modifier and Type | Method and Description |
|---|---|
VerifyCustomTokenResponse |
clone() |
Long |
getExpiresIn()
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
|
String |
getIdToken()
The GITKit token for authenticated user.
|
Boolean |
getIsNewUser()
True if it's a new user sign-in, false if it's a returning user.
|
String |
getKind()
The fixed string "identitytoolkit#VerifyCustomTokenResponse".
|
String |
getRefreshToken()
If idToken is STS id token, then this field will be refresh token.
|
VerifyCustomTokenResponse |
set(String fieldName,
Object value) |
VerifyCustomTokenResponse |
setExpiresIn(Long expiresIn)
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
|
VerifyCustomTokenResponse |
setIdToken(String idToken)
The GITKit token for authenticated user.
|
VerifyCustomTokenResponse |
setIsNewUser(Boolean isNewUser)
True if it's a new user sign-in, false if it's a returning user.
|
VerifyCustomTokenResponse |
setKind(String kind)
The fixed string "identitytoolkit#VerifyCustomTokenResponse".
|
VerifyCustomTokenResponse |
setRefreshToken(String refreshToken)
If idToken is STS id token, then this field will be refresh token.
|
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 Long getExpiresIn()
null for nonepublic VerifyCustomTokenResponse setExpiresIn(Long expiresIn)
expiresIn - expiresIn or null for nonepublic String getIdToken()
null for nonepublic VerifyCustomTokenResponse setIdToken(String idToken)
idToken - idToken or null for nonepublic Boolean getIsNewUser()
null for nonepublic VerifyCustomTokenResponse setIsNewUser(Boolean isNewUser)
isNewUser - isNewUser or null for nonepublic String getKind()
null for nonepublic VerifyCustomTokenResponse setKind(String kind)
kind - kind or null for nonepublic String getRefreshToken()
null for nonepublic VerifyCustomTokenResponse setRefreshToken(String refreshToken)
refreshToken - refreshToken or null for nonepublic VerifyCustomTokenResponse set(String fieldName, Object value)
set in class GenericJsonpublic VerifyCustomTokenResponse clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.