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
- Enclosing class:
IdToken
@Beta
public static class IdToken.Payload
extends com.google.api.client.json.webtoken.JsonWebToken.Payload
Beta
ID token 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,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Access token hash value ornull
for none.private Long
Time (in seconds) of end-user authorization ornull
for none.private String
Authorized party ornull
for none.private String
Authentication context class reference ornull
for none.Authentication methods references ornull
for none.private String
Value used to associate a client session with an ID token ornull
for none. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
final String
Returns the access token hash value ornull
for none.final Long
Returns the time (in seconds) of end-user authorization ornull
for none.final String
Returns the authorized party ornull
for none.final String
Returns the authentication context class reference ornull
for none.Returns the authentication methods references ornull
for none.final String
getNonce()
Returns the value used to associate a client session with an ID token ornull
for none.setAccessTokenHash
(String accessTokenHash) Sets the access token hash value ornull
for none.setAudience
(Object audience) setAuthorizationTimeSeconds
(Long authorizationTimeSeconds) Sets the time (in seconds) of end-user authorization ornull
for none.setAuthorizedParty
(String authorizedParty) Sets the authorized party ornull
for none.setClassReference
(String classReference) Sets the authentication context class reference ornull
for none.setExpirationTimeSeconds
(Long expirationTimeSeconds) setIssuedAtTimeSeconds
(Long issuedAtTimeSeconds) setMethodsReferences
(List<String> methodsReferences) Sets the authentication methods references ornull
for none.Sets the value used to associate a client session with an ID token ornull
for none.setNotBeforeTimeSeconds
(Long notBeforeTimeSeconds) setSubject
(String subject) 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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
authorizationTimeSeconds
Time (in seconds) of end-user authorization ornull
for none. -
authorizedParty
Authorized party ornull
for none. -
nonce
Value used to associate a client session with an ID token ornull
for none. -
accessTokenHash
Access token hash value ornull
for none. -
classReference
Authentication context class reference ornull
for none. -
methodsReferences
Authentication methods references ornull
for none.
-
-
Constructor Details
-
Payload
public Payload()
-
-
Method Details
-
getAuthorizationTimeSeconds
Returns the time (in seconds) of end-user authorization ornull
for none. -
setAuthorizationTimeSeconds
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
-
setAuthorizedParty
-
getNonce
Returns the value used to associate a client session with an ID token ornull
for none.- Since:
- 1.16
-
setNonce
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
Returns the access token hash value ornull
for none.- Since:
- 1.16
-
setAccessTokenHash
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
Returns the authentication context class reference ornull
for none.- Since:
- 1.16
-
setClassReference
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
Returns the authentication methods references ornull
for none.- Since:
- 1.16
-
setMethodsReferences
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
- Overrides:
setExpirationTimeSeconds
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setNotBeforeTimeSeconds
- Overrides:
setNotBeforeTimeSeconds
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuedAtTimeSeconds
- Overrides:
setIssuedAtTimeSeconds
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuer
- Overrides:
setIssuer
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setAudience
- Overrides:
setAudience
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setJwtId
- Overrides:
setJwtId
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setType
- Overrides:
setType
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setSubject
- Overrides:
setSubject
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
set
- Overrides:
set
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
clone
- Overrides:
clone
in classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-