public final class VerifyAssertionResponse
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 |
---|
VerifyAssertionResponse() |
Modifier and Type | Method and Description |
---|---|
VerifyAssertionResponse |
clone() |
java.lang.String |
getAction()
The action code.
|
java.lang.String |
getAppInstallationUrl()
URL for OTA app installation.
|
java.lang.String |
getAppScheme()
The custom scheme used by mobile app.
|
java.lang.String |
getContext()
The opaque value used by the client to maintain context info between the authentication request
and the IDP callback.
|
java.lang.String |
getDateOfBirth()
The birth date of the IdP account.
|
java.lang.String |
getDisplayName()
The display name of the user.
|
java.lang.String |
getEmail()
The email returned by the IdP.
|
java.lang.Boolean |
getEmailRecycled()
It's true if the email is recycled.
|
java.lang.Boolean |
getEmailVerified()
The value is true if the IDP is also the email provider.
|
java.lang.String |
getErrorMessage()
Client error code.
|
java.lang.Long |
getExpiresIn()
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
|
java.lang.String |
getFederatedId()
The unique ID identifies the IdP account.
|
java.lang.String |
getFirstName()
The first name of the user.
|
java.lang.String |
getFullName()
The full name of the user.
|
java.lang.String |
getIdToken()
The ID token.
|
java.lang.String |
getInputEmail()
It's the identifier param in the createAuthUri request if the identifier is an email.
|
java.lang.Boolean |
getIsNewUser()
True if it's a new user sign-in, false if it's a returning user.
|
java.lang.String |
getKind()
The fixed string "identitytoolkit#VerifyAssertionResponse".
|
java.lang.String |
getLanguage()
The language preference of the user.
|
java.lang.String |
getLastName()
The last name of the user.
|
java.lang.String |
getLocalId()
The RP local ID if it's already been mapped to the IdP account identified by the federated ID.
|
java.lang.Boolean |
getNeedConfirmation()
Whether the assertion is from a non-trusted IDP and need account linking confirmation.
|
java.lang.Boolean |
getNeedEmail()
Whether need client to supply email to complete the federated login flow.
|
java.lang.String |
getNickName()
The nick name of the user.
|
java.lang.String |
getOauthAccessToken()
The OAuth2 access token.
|
java.lang.String |
getOauthAuthorizationCode()
The OAuth2 authorization code.
|
java.lang.Integer |
getOauthExpireIn()
The lifetime in seconds of the OAuth2 access token.
|
java.lang.String |
getOauthIdToken()
The OIDC id token.
|
java.lang.String |
getOauthRequestToken()
The user approved request token for the OpenID OAuth extension.
|
java.lang.String |
getOauthScope()
The scope for the OpenID OAuth extension.
|
java.lang.String |
getOauthTokenSecret()
The OAuth1 access token secret.
|
java.lang.String |
getOriginalEmail()
The original email stored in the mapping storage.
|
java.lang.String |
getPhotoUrl()
The URI of the public accessible profiel picture.
|
java.lang.String |
getProviderId()
The IdP ID.
|
java.lang.String |
getRawUserInfo()
Raw IDP-returned user info.
|
java.lang.String |
getRefreshToken()
If idToken is STS id token, then this field will be refresh token.
|
java.lang.String |
getScreenName()
The screen_name of a Twitter user or the login name at Github.
|
java.lang.String |
getTimeZone()
The timezone of the user.
|
java.util.List<java.lang.String> |
getVerifiedProvider()
When action is 'map', contains the idps which can be used for confirmation.
|
VerifyAssertionResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
VerifyAssertionResponse |
setAction(java.lang.String action)
The action code.
|
VerifyAssertionResponse |
setAppInstallationUrl(java.lang.String appInstallationUrl)
URL for OTA app installation.
|
VerifyAssertionResponse |
setAppScheme(java.lang.String appScheme)
The custom scheme used by mobile app.
|
VerifyAssertionResponse |
setContext(java.lang.String context)
The opaque value used by the client to maintain context info between the authentication request
and the IDP callback.
|
VerifyAssertionResponse |
setDateOfBirth(java.lang.String dateOfBirth)
The birth date of the IdP account.
|
VerifyAssertionResponse |
setDisplayName(java.lang.String displayName)
The display name of the user.
|
VerifyAssertionResponse |
setEmail(java.lang.String email)
The email returned by the IdP.
|
VerifyAssertionResponse |
setEmailRecycled(java.lang.Boolean emailRecycled)
It's true if the email is recycled.
|
VerifyAssertionResponse |
setEmailVerified(java.lang.Boolean emailVerified)
The value is true if the IDP is also the email provider.
|
VerifyAssertionResponse |
setErrorMessage(java.lang.String errorMessage)
Client error code.
|
VerifyAssertionResponse |
setExpiresIn(java.lang.Long expiresIn)
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
|
VerifyAssertionResponse |
setFederatedId(java.lang.String federatedId)
The unique ID identifies the IdP account.
|
VerifyAssertionResponse |
setFirstName(java.lang.String firstName)
The first name of the user.
|
VerifyAssertionResponse |
setFullName(java.lang.String fullName)
The full name of the user.
|
VerifyAssertionResponse |
setIdToken(java.lang.String idToken)
The ID token.
|
VerifyAssertionResponse |
setInputEmail(java.lang.String inputEmail)
It's the identifier param in the createAuthUri request if the identifier is an email.
|
VerifyAssertionResponse |
setIsNewUser(java.lang.Boolean isNewUser)
True if it's a new user sign-in, false if it's a returning user.
|
VerifyAssertionResponse |
setKind(java.lang.String kind)
The fixed string "identitytoolkit#VerifyAssertionResponse".
|
VerifyAssertionResponse |
setLanguage(java.lang.String language)
The language preference of the user.
|
VerifyAssertionResponse |
setLastName(java.lang.String lastName)
The last name of the user.
|
VerifyAssertionResponse |
setLocalId(java.lang.String localId)
The RP local ID if it's already been mapped to the IdP account identified by the federated ID.
|
VerifyAssertionResponse |
setNeedConfirmation(java.lang.Boolean needConfirmation)
Whether the assertion is from a non-trusted IDP and need account linking confirmation.
|
VerifyAssertionResponse |
setNeedEmail(java.lang.Boolean needEmail)
Whether need client to supply email to complete the federated login flow.
|
VerifyAssertionResponse |
setNickName(java.lang.String nickName)
The nick name of the user.
|
VerifyAssertionResponse |
setOauthAccessToken(java.lang.String oauthAccessToken)
The OAuth2 access token.
|
VerifyAssertionResponse |
setOauthAuthorizationCode(java.lang.String oauthAuthorizationCode)
The OAuth2 authorization code.
|
VerifyAssertionResponse |
setOauthExpireIn(java.lang.Integer oauthExpireIn)
The lifetime in seconds of the OAuth2 access token.
|
VerifyAssertionResponse |
setOauthIdToken(java.lang.String oauthIdToken)
The OIDC id token.
|
VerifyAssertionResponse |
setOauthRequestToken(java.lang.String oauthRequestToken)
The user approved request token for the OpenID OAuth extension.
|
VerifyAssertionResponse |
setOauthScope(java.lang.String oauthScope)
The scope for the OpenID OAuth extension.
|
VerifyAssertionResponse |
setOauthTokenSecret(java.lang.String oauthTokenSecret)
The OAuth1 access token secret.
|
VerifyAssertionResponse |
setOriginalEmail(java.lang.String originalEmail)
The original email stored in the mapping storage.
|
VerifyAssertionResponse |
setPhotoUrl(java.lang.String photoUrl)
The URI of the public accessible profiel picture.
|
VerifyAssertionResponse |
setProviderId(java.lang.String providerId)
The IdP ID.
|
VerifyAssertionResponse |
setRawUserInfo(java.lang.String rawUserInfo)
Raw IDP-returned user info.
|
VerifyAssertionResponse |
setRefreshToken(java.lang.String refreshToken)
If idToken is STS id token, then this field will be refresh token.
|
VerifyAssertionResponse |
setScreenName(java.lang.String screenName)
The screen_name of a Twitter user or the login name at Github.
|
VerifyAssertionResponse |
setTimeZone(java.lang.String timeZone)
The timezone of the user.
|
VerifyAssertionResponse |
setVerifiedProvider(java.util.List<java.lang.String> verifiedProvider)
When action is 'map', contains the idps which can be used for confirmation.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAction()
null
for nonepublic VerifyAssertionResponse setAction(java.lang.String action)
action
- action or null
for nonepublic java.lang.String getAppInstallationUrl()
null
for nonepublic VerifyAssertionResponse setAppInstallationUrl(java.lang.String appInstallationUrl)
appInstallationUrl
- appInstallationUrl or null
for nonepublic java.lang.String getAppScheme()
null
for nonepublic VerifyAssertionResponse setAppScheme(java.lang.String appScheme)
appScheme
- appScheme or null
for nonepublic java.lang.String getContext()
null
for nonepublic VerifyAssertionResponse setContext(java.lang.String context)
context
- context or null
for nonepublic java.lang.String getDateOfBirth()
null
for nonepublic VerifyAssertionResponse setDateOfBirth(java.lang.String dateOfBirth)
dateOfBirth
- dateOfBirth or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic VerifyAssertionResponse setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getEmail()
null
for nonepublic VerifyAssertionResponse setEmail(java.lang.String email)
email
- email or null
for nonepublic java.lang.Boolean getEmailRecycled()
null
for nonepublic VerifyAssertionResponse setEmailRecycled(java.lang.Boolean emailRecycled)
emailRecycled
- emailRecycled or null
for nonepublic java.lang.Boolean getEmailVerified()
null
for nonepublic VerifyAssertionResponse setEmailVerified(java.lang.Boolean emailVerified)
emailVerified
- emailVerified or null
for nonepublic java.lang.String getErrorMessage()
null
for nonepublic VerifyAssertionResponse setErrorMessage(java.lang.String errorMessage)
errorMessage
- errorMessage or null
for nonepublic java.lang.Long getExpiresIn()
null
for nonepublic VerifyAssertionResponse setExpiresIn(java.lang.Long expiresIn)
expiresIn
- expiresIn or null
for nonepublic java.lang.String getFederatedId()
null
for nonepublic VerifyAssertionResponse setFederatedId(java.lang.String federatedId)
federatedId
- federatedId or null
for nonepublic java.lang.String getFirstName()
null
for nonepublic VerifyAssertionResponse setFirstName(java.lang.String firstName)
firstName
- firstName or null
for nonepublic java.lang.String getFullName()
null
for nonepublic VerifyAssertionResponse setFullName(java.lang.String fullName)
fullName
- fullName or null
for nonepublic java.lang.String getIdToken()
null
for nonepublic VerifyAssertionResponse setIdToken(java.lang.String idToken)
idToken
- idToken or null
for nonepublic java.lang.String getInputEmail()
null
for nonepublic VerifyAssertionResponse setInputEmail(java.lang.String inputEmail)
inputEmail
- inputEmail or null
for nonepublic java.lang.Boolean getIsNewUser()
null
for nonepublic VerifyAssertionResponse setIsNewUser(java.lang.Boolean isNewUser)
isNewUser
- isNewUser or null
for nonepublic java.lang.String getKind()
null
for nonepublic VerifyAssertionResponse setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getLanguage()
null
for nonepublic VerifyAssertionResponse setLanguage(java.lang.String language)
language
- language or null
for nonepublic java.lang.String getLastName()
null
for nonepublic VerifyAssertionResponse setLastName(java.lang.String lastName)
lastName
- lastName or null
for nonepublic java.lang.String getLocalId()
null
for nonepublic VerifyAssertionResponse setLocalId(java.lang.String localId)
localId
- localId or null
for nonepublic java.lang.Boolean getNeedConfirmation()
null
for nonepublic VerifyAssertionResponse setNeedConfirmation(java.lang.Boolean needConfirmation)
needConfirmation
- needConfirmation or null
for nonepublic java.lang.Boolean getNeedEmail()
null
for nonepublic VerifyAssertionResponse setNeedEmail(java.lang.Boolean needEmail)
needEmail
- needEmail or null
for nonepublic java.lang.String getNickName()
null
for nonepublic VerifyAssertionResponse setNickName(java.lang.String nickName)
nickName
- nickName or null
for nonepublic java.lang.String getOauthAccessToken()
null
for nonepublic VerifyAssertionResponse setOauthAccessToken(java.lang.String oauthAccessToken)
oauthAccessToken
- oauthAccessToken or null
for nonepublic java.lang.String getOauthAuthorizationCode()
null
for nonepublic VerifyAssertionResponse setOauthAuthorizationCode(java.lang.String oauthAuthorizationCode)
oauthAuthorizationCode
- oauthAuthorizationCode or null
for nonepublic java.lang.Integer getOauthExpireIn()
null
for nonepublic VerifyAssertionResponse setOauthExpireIn(java.lang.Integer oauthExpireIn)
oauthExpireIn
- oauthExpireIn or null
for nonepublic java.lang.String getOauthIdToken()
null
for nonepublic VerifyAssertionResponse setOauthIdToken(java.lang.String oauthIdToken)
oauthIdToken
- oauthIdToken or null
for nonepublic java.lang.String getOauthRequestToken()
null
for nonepublic VerifyAssertionResponse setOauthRequestToken(java.lang.String oauthRequestToken)
oauthRequestToken
- oauthRequestToken or null
for nonepublic java.lang.String getOauthScope()
null
for nonepublic VerifyAssertionResponse setOauthScope(java.lang.String oauthScope)
oauthScope
- oauthScope or null
for nonepublic java.lang.String getOauthTokenSecret()
null
for nonepublic VerifyAssertionResponse setOauthTokenSecret(java.lang.String oauthTokenSecret)
oauthTokenSecret
- oauthTokenSecret or null
for nonepublic java.lang.String getOriginalEmail()
null
for nonepublic VerifyAssertionResponse setOriginalEmail(java.lang.String originalEmail)
originalEmail
- originalEmail or null
for nonepublic java.lang.String getPhotoUrl()
null
for nonepublic VerifyAssertionResponse setPhotoUrl(java.lang.String photoUrl)
photoUrl
- photoUrl or null
for nonepublic java.lang.String getProviderId()
null
for nonepublic VerifyAssertionResponse setProviderId(java.lang.String providerId)
providerId
- providerId or null
for nonepublic java.lang.String getRawUserInfo()
null
for nonepublic VerifyAssertionResponse setRawUserInfo(java.lang.String rawUserInfo)
rawUserInfo
- rawUserInfo or null
for nonepublic java.lang.String getRefreshToken()
null
for nonepublic VerifyAssertionResponse setRefreshToken(java.lang.String refreshToken)
refreshToken
- refreshToken or null
for nonepublic java.lang.String getScreenName()
null
for nonepublic VerifyAssertionResponse setScreenName(java.lang.String screenName)
screenName
- screenName or null
for nonepublic java.lang.String getTimeZone()
null
for nonepublic VerifyAssertionResponse setTimeZone(java.lang.String timeZone)
timeZone
- timeZone or null
for nonepublic java.util.List<java.lang.String> getVerifiedProvider()
null
for nonepublic VerifyAssertionResponse setVerifiedProvider(java.util.List<java.lang.String> verifiedProvider)
verifiedProvider
- verifiedProvider or null
for nonepublic VerifyAssertionResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VerifyAssertionResponse clone()
clone
in class com.google.api.client.json.GenericJson