Class IdToken.Payload
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.client.json.webtoken.JsonWebToken.Payload
-
- com.google.api.client.auth.openidconnect.IdToken.Payload
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description Payload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdToken.Payload
clone()
String
getAccessTokenHash()
Returns the access token hash value ornull
for none.Long
getAuthorizationTimeSeconds()
Returns the time (in seconds) of end-user authorization ornull
for none.String
getAuthorizedParty()
Returns the authorized party ornull
for none.String
getClassReference()
Returns the authentication context class reference ornull
for none.List<String>
getMethodsReferences()
Returns the authentication methods references ornull
for none.String
getNonce()
Returns the value used to associate a client session with an ID token ornull
for none.IdToken.Payload
set(String fieldName, Object value)
IdToken.Payload
setAccessTokenHash(String accessTokenHash)
Sets the access token hash value ornull
for none.IdToken.Payload
setAudience(Object audience)
IdToken.Payload
setAuthorizationTimeSeconds(Long authorizationTimeSeconds)
Sets the time (in seconds) of end-user authorization ornull
for none.IdToken.Payload
setAuthorizedParty(String authorizedParty)
Sets the authorized party ornull
for none.IdToken.Payload
setClassReference(String classReference)
Sets the authentication context class reference ornull
for none.IdToken.Payload
setExpirationTimeSeconds(Long expirationTimeSeconds)
IdToken.Payload
setIssuedAtTimeSeconds(Long issuedAtTimeSeconds)
IdToken.Payload
setIssuer(String issuer)
IdToken.Payload
setJwtId(String jwtId)
IdToken.Payload
setMethodsReferences(List<String> methodsReferences)
Sets the authentication methods references ornull
for none.IdToken.Payload
setNonce(String nonce)
Sets the value used to associate a client session with an ID token ornull
for none.IdToken.Payload
setNotBeforeTimeSeconds(Long notBeforeTimeSeconds)
IdToken.Payload
setSubject(String subject)
IdToken.Payload
setType(String type)
-
Methods inherited from class com.google.api.client.json.webtoken.JsonWebToken.Payload
getAudience, getAudienceAsList, getExpirationTimeSeconds, getIssuedAtTimeSeconds, getIssuer, getJwtId, getNotBeforeTimeSeconds, getSubject, getType
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
-
-
-
Method Detail
-
getAuthorizationTimeSeconds
public final Long getAuthorizationTimeSeconds()
Returns the time (in seconds) of end-user authorization ornull
for none.
-
setAuthorizationTimeSeconds
public IdToken.Payload setAuthorizationTimeSeconds(Long authorizationTimeSeconds)
Sets the time (in seconds) of end-user authorization ornull
for none.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
-
getAuthorizedParty
public final String getAuthorizedParty()
-
setAuthorizedParty
public IdToken.Payload setAuthorizedParty(String authorizedParty)
-
getNonce
public final String getNonce()
Returns the value used to associate a client session with an ID token ornull
for none.- Since:
- 1.16
-
setNonce
public IdToken.Payload setNonce(String nonce)
Sets the value used to associate a client session with an ID token ornull
for none.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
- Since:
- 1.16
-
getAccessTokenHash
public final String getAccessTokenHash()
Returns the access token hash value ornull
for none.- Since:
- 1.16
-
setAccessTokenHash
public IdToken.Payload setAccessTokenHash(String accessTokenHash)
Sets the access token hash value ornull
for none.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
- Since:
- 1.16
-
getClassReference
public final String getClassReference()
Returns the authentication context class reference ornull
for none.- Since:
- 1.16
-
setClassReference
public IdToken.Payload setClassReference(String classReference)
Sets the authentication context class reference ornull
for none.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
- Since:
- 1.16
-
getMethodsReferences
public final List<String> getMethodsReferences()
Returns the authentication methods references ornull
for none.- Since:
- 1.16
-
setMethodsReferences
public IdToken.Payload setMethodsReferences(List<String> methodsReferences)
Sets the authentication methods references ornull
for none.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
- Since:
- 1.16
-
setExpirationTimeSeconds
public IdToken.Payload setExpirationTimeSeconds(Long expirationTimeSeconds)
- Overrides:
setExpirationTimeSeconds
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setNotBeforeTimeSeconds
public IdToken.Payload setNotBeforeTimeSeconds(Long notBeforeTimeSeconds)
- Overrides:
setNotBeforeTimeSeconds
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuedAtTimeSeconds
public IdToken.Payload setIssuedAtTimeSeconds(Long issuedAtTimeSeconds)
- Overrides:
setIssuedAtTimeSeconds
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuer
public IdToken.Payload setIssuer(String issuer)
- Overrides:
setIssuer
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setAudience
public IdToken.Payload setAudience(Object audience)
- Overrides:
setAudience
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setJwtId
public IdToken.Payload setJwtId(String jwtId)
- Overrides:
setJwtId
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setType
public IdToken.Payload setType(String type)
- Overrides:
setType
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setSubject
public IdToken.Payload setSubject(String subject)
- Overrides:
setSubject
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
set
public IdToken.Payload set(String fieldName, Object value)
- Overrides:
set
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
clone
public IdToken.Payload clone()
- Overrides:
clone
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
-