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.FlagsNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAccess token hash value ornullfor none.private LongTime (in seconds) of end-user authorization ornullfor none.private StringAuthorized party ornullfor none.private StringAuthentication context class reference ornullfor none.Authentication methods references ornullfor none.private StringValue used to associate a client session with an ID token ornullfor none. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()final StringReturns the access token hash value ornullfor none.final LongReturns the time (in seconds) of end-user authorization ornullfor none.final StringReturns the authorized party ornullfor none.final StringReturns the authentication context class reference ornullfor none.Returns the authentication methods references ornullfor none.final StringgetNonce()Returns the value used to associate a client session with an ID token ornullfor none.setAccessTokenHash(String accessTokenHash) Sets the access token hash value ornullfor none.setAudience(Object audience) setAuthorizationTimeSeconds(Long authorizationTimeSeconds) Sets the time (in seconds) of end-user authorization ornullfor none.setAuthorizedParty(String authorizedParty) Sets the authorized party ornullfor none.setClassReference(String classReference) Sets the authentication context class reference ornullfor none.setExpirationTimeSeconds(Long expirationTimeSeconds) setIssuedAtTimeSeconds(Long issuedAtTimeSeconds) setMethodsReferences(List<String> methodsReferences) Sets the authentication methods references ornullfor none.Sets the value used to associate a client session with an ID token ornullfor 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, getTypeMethods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toStringMethods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysMethods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 ornullfor none. -
authorizedParty
Authorized party ornullfor none. -
nonce
Value used to associate a client session with an ID token ornullfor none. -
accessTokenHash
Access token hash value ornullfor none. -
classReference
Authentication context class reference ornullfor none. -
methodsReferences
Authentication methods references ornullfor none.
-
-
Constructor Details
-
Payload
public Payload()
-
-
Method Details
-
getAuthorizationTimeSeconds
Returns the time (in seconds) of end-user authorization ornullfor none. -
setAuthorizationTimeSeconds
Sets the time (in seconds) of end-user authorization ornullfor 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 ornullfor none.- Since:
- 1.16
-
setNonce
Sets the value used to associate a client session with an ID token ornullfor 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 ornullfor none.- Since:
- 1.16
-
setAccessTokenHash
Sets the access token hash value ornullfor 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 ornullfor none.- Since:
- 1.16
-
setClassReference
Sets the authentication context class reference ornullfor 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 ornullfor none.- Since:
- 1.16
-
setMethodsReferences
Sets the authentication methods references ornullfor 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:
setExpirationTimeSecondsin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setNotBeforeTimeSeconds
- Overrides:
setNotBeforeTimeSecondsin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuedAtTimeSeconds
- Overrides:
setIssuedAtTimeSecondsin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuer
- Overrides:
setIssuerin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setAudience
- Overrides:
setAudiencein classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setJwtId
- Overrides:
setJwtIdin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setType
- Overrides:
setTypein classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setSubject
- Overrides:
setSubjectin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
set
- Overrides:
setin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
clone
- Overrides:
clonein classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-