public class GoogleTokenResponse extends TokenResponse
Inheritance
Object >
java.util.AbstractMap >
com.google.api.client.util.GenericData >
com.google.api.client.json.GenericJson >
com.google.api.client.auth.oauth2.TokenResponse >
GoogleTokenResponse
Inherited Members
com.google.api.client.auth.oauth2.TokenResponse.clone()
com.google.api.client.auth.oauth2.TokenResponse.getAccessToken()
com.google.api.client.auth.oauth2.TokenResponse.getExpiresInSeconds()
com.google.api.client.auth.oauth2.TokenResponse.getRefreshToken()
com.google.api.client.auth.oauth2.TokenResponse.getScope()
com.google.api.client.auth.oauth2.TokenResponse.getTokenType()
com.google.api.client.auth.oauth2.TokenResponse.set(java.lang.String,java.lang.Object)
com.google.api.client.auth.oauth2.TokenResponse.setAccessToken(java.lang.String)
com.google.api.client.auth.oauth2.TokenResponse.setExpiresInSeconds(java.lang.Long)
com.google.api.client.auth.oauth2.TokenResponse.setRefreshToken(java.lang.String)
com.google.api.client.auth.oauth2.TokenResponse.setScope(java.lang.String)
com.google.api.client.auth.oauth2.TokenResponse.setTokenType(java.lang.String)
com.google.api.client.json.GenericJson.getFactory()
com.google.api.client.json.GenericJson.setFactory(com.google.api.client.json.JsonFactory)
com.google.api.client.json.GenericJson.toPrettyString()
com.google.api.client.json.GenericJson.toString()
com.google.api.client.util.GenericData.entrySet()
com.google.api.client.util.GenericData.equals(java.lang.Object)
com.google.api.client.util.GenericData.get(java.lang.Object)
com.google.api.client.util.GenericData.getClassInfo()
com.google.api.client.util.GenericData.getUnknownKeys()
com.google.api.client.util.GenericData.hashCode()
com.google.api.client.util.GenericData.put(java.lang.String,java.lang.Object)
com.google.api.client.util.GenericData.putAll(java.util.Map<? extends java.lang.String,?>)
com.google.api.client.util.GenericData.remove(java.lang.Object)
com.google.api.client.util.GenericData.setUnknownKeys(java.util.Map<java.lang.String,java.lang.Object>)
Constructors
GoogleTokenResponse()
public GoogleTokenResponse()
Methods
clone()
public GoogleTokenResponse clone()
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.clone()
getIdToken()
public final String getIdToken()
Beta
Returns the ID token.
Returns
parseIdToken()
public GoogleIdToken parseIdToken()
Returns
Exceptions
set(String fieldName, Object value)
public GoogleTokenResponse set(String fieldName, Object value)
Parameters
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.set(java.lang.String,java.lang.Object)
setAccessToken(String accessToken)
public GoogleTokenResponse setAccessToken(String accessToken)
Parameter
Name | Description |
accessToken | String
|
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.setAccessToken(java.lang.String)
setExpiresInSeconds(Long expiresIn)
public GoogleTokenResponse setExpiresInSeconds(Long expiresIn)
Parameter
Name | Description |
expiresIn | Long
|
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.setExpiresInSeconds(java.lang.Long)
setIdToken(String idToken)
public GoogleTokenResponse setIdToken(String idToken)
Beta
Sets the ID token.
Overriding is only supported for the purpose of calling the super implementation and
changing the return type, but nothing else.
Parameter
Returns
setRefreshToken(String refreshToken)
public GoogleTokenResponse setRefreshToken(String refreshToken)
Parameter
Name | Description |
refreshToken | String
|
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.setRefreshToken(java.lang.String)
setScope(String scope)
public GoogleTokenResponse setScope(String scope)
Parameter
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.setScope(java.lang.String)
setTokenType(String tokenType)
public GoogleTokenResponse setTokenType(String tokenType)
Parameter
Name | Description |
tokenType | String
|
Returns
Overrides
com.google.api.client.auth.oauth2.TokenResponse.setTokenType(java.lang.String)