public final class SetAccountInfoResponse 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
| Modifier and Type | Class and Description |
|---|---|
static class |
SetAccountInfoResponse.ProviderUserInfo
Model definition for SetAccountInfoResponseProviderUserInfo.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SetAccountInfoResponse() |
| Modifier and Type | Method and Description |
|---|---|
SetAccountInfoResponse |
clone() |
byte[] |
decodePasswordHash()
The user's hashed password.
|
SetAccountInfoResponse |
encodePasswordHash(byte[] passwordHash)
The user's hashed password.
|
String |
getDisplayName()
The name of the user.
|
String |
getEmail()
The email of the user.
|
Boolean |
getEmailVerified()
If email has been verified.
|
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 id token to login the newly sign up user.
|
String |
getKind()
The fixed string "identitytoolkit#SetAccountInfoResponse".
|
String |
getLocalId()
The local ID of the user.
|
String |
getNewEmail()
The new email the user attempts to change to.
|
String |
getPasswordHash()
The user's hashed password.
|
String |
getPhotoUrl()
The photo url of the user.
|
List<SetAccountInfoResponse.ProviderUserInfo> |
getProviderUserInfo()
The user's profiles at the associated IdPs.
|
String |
getRefreshToken()
If idToken is STS id token, then this field will be refresh token.
|
SetAccountInfoResponse |
set(String fieldName,
Object value) |
SetAccountInfoResponse |
setDisplayName(String displayName)
The name of the user.
|
SetAccountInfoResponse |
setEmail(String email)
The email of the user.
|
SetAccountInfoResponse |
setEmailVerified(Boolean emailVerified)
If email has been verified.
|
SetAccountInfoResponse |
setExpiresIn(Long expiresIn)
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
|
SetAccountInfoResponse |
setIdToken(String idToken)
The Gitkit id token to login the newly sign up user.
|
SetAccountInfoResponse |
setKind(String kind)
The fixed string "identitytoolkit#SetAccountInfoResponse".
|
SetAccountInfoResponse |
setLocalId(String localId)
The local ID of the user.
|
SetAccountInfoResponse |
setNewEmail(String newEmail)
The new email the user attempts to change to.
|
SetAccountInfoResponse |
setPasswordHash(String passwordHash)
The user's hashed password.
|
SetAccountInfoResponse |
setPhotoUrl(String photoUrl)
The photo url of the user.
|
SetAccountInfoResponse |
setProviderUserInfo(List<SetAccountInfoResponse.ProviderUserInfo> providerUserInfo)
The user's profiles at the associated IdPs.
|
SetAccountInfoResponse |
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 String getDisplayName()
null for nonepublic SetAccountInfoResponse setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getEmail()
null for nonepublic SetAccountInfoResponse setEmail(String email)
email - email or null for nonepublic Boolean getEmailVerified()
null for nonepublic SetAccountInfoResponse setEmailVerified(Boolean emailVerified)
emailVerified - emailVerified or null for nonepublic Long getExpiresIn()
null for nonepublic SetAccountInfoResponse setExpiresIn(Long expiresIn)
expiresIn - expiresIn or null for nonepublic String getIdToken()
null for nonepublic SetAccountInfoResponse setIdToken(String idToken)
idToken - idToken or null for nonepublic String getKind()
null for nonepublic SetAccountInfoResponse setKind(String kind)
kind - kind or null for nonepublic String getLocalId()
null for nonepublic SetAccountInfoResponse setLocalId(String localId)
localId - localId or null for nonepublic String getNewEmail()
null for nonepublic SetAccountInfoResponse setNewEmail(String newEmail)
newEmail - newEmail or null for nonepublic String getPasswordHash()
null for nonedecodePasswordHash()public byte[] decodePasswordHash()
null for nonegetPasswordHash()public SetAccountInfoResponse setPasswordHash(String passwordHash)
passwordHash - passwordHash or null for none#encodePasswordHash()public SetAccountInfoResponse encodePasswordHash(byte[] passwordHash)
The value is encoded Base64 or {@code null} for none.
public String getPhotoUrl()
null for nonepublic SetAccountInfoResponse setPhotoUrl(String photoUrl)
photoUrl - photoUrl or null for nonepublic List<SetAccountInfoResponse.ProviderUserInfo> getProviderUserInfo()
null for nonepublic SetAccountInfoResponse setProviderUserInfo(List<SetAccountInfoResponse.ProviderUserInfo> providerUserInfo)
providerUserInfo - providerUserInfo or null for nonepublic String getRefreshToken()
null for nonepublic SetAccountInfoResponse setRefreshToken(String refreshToken)
refreshToken - refreshToken or null for nonepublic SetAccountInfoResponse set(String fieldName, Object value)
set in class GenericJsonpublic SetAccountInfoResponse clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.