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.Payloadclone()StringgetAccessTokenHash()Returns the access token hash value ornullfor none.LonggetAuthorizationTimeSeconds()Returns the time (in seconds) of end-user authorization ornullfor none.StringgetAuthorizedParty()Returns the authorized party ornullfor none.StringgetClassReference()Returns the authentication context class reference ornullfor none.List<String>getMethodsReferences()Returns the authentication methods references ornullfor none.StringgetNonce()Returns the value used to associate a client session with an ID token ornullfor none.IdToken.Payloadset(String fieldName, Object value)IdToken.PayloadsetAccessTokenHash(String accessTokenHash)Sets the access token hash value ornullfor none.IdToken.PayloadsetAudience(Object audience)IdToken.PayloadsetAuthorizationTimeSeconds(Long authorizationTimeSeconds)Sets the time (in seconds) of end-user authorization ornullfor none.IdToken.PayloadsetAuthorizedParty(String authorizedParty)Sets the authorized party ornullfor none.IdToken.PayloadsetClassReference(String classReference)Sets the authentication context class reference ornullfor none.IdToken.PayloadsetExpirationTimeSeconds(Long expirationTimeSeconds)IdToken.PayloadsetIssuedAtTimeSeconds(Long issuedAtTimeSeconds)IdToken.PayloadsetIssuer(String issuer)IdToken.PayloadsetJwtId(String jwtId)IdToken.PayloadsetMethodsReferences(List<String> methodsReferences)Sets the authentication methods references ornullfor none.IdToken.PayloadsetNonce(String nonce)Sets the value used to associate a client session with an ID token ornullfor none.IdToken.PayloadsetNotBeforeTimeSeconds(Long notBeforeTimeSeconds)IdToken.PayloadsetSubject(String subject)IdToken.PayloadsetType(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 ornullfor none.
-
setAuthorizationTimeSeconds
public IdToken.Payload setAuthorizationTimeSeconds(Long authorizationTimeSeconds)
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
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 ornullfor none.- Since:
- 1.16
-
setNonce
public IdToken.Payload setNonce(String nonce)
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
public final String getAccessTokenHash()
Returns the access token hash value ornullfor none.- Since:
- 1.16
-
setAccessTokenHash
public IdToken.Payload setAccessTokenHash(String accessTokenHash)
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
public final String getClassReference()
Returns the authentication context class reference ornullfor none.- Since:
- 1.16
-
setClassReference
public IdToken.Payload setClassReference(String classReference)
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
public final List<String> getMethodsReferences()
Returns the authentication methods references ornullfor none.- Since:
- 1.16
-
setMethodsReferences
public IdToken.Payload setMethodsReferences(List<String> methodsReferences)
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
public IdToken.Payload setExpirationTimeSeconds(Long expirationTimeSeconds)
- Overrides:
setExpirationTimeSecondsin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setNotBeforeTimeSeconds
public IdToken.Payload setNotBeforeTimeSeconds(Long notBeforeTimeSeconds)
- Overrides:
setNotBeforeTimeSecondsin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuedAtTimeSeconds
public IdToken.Payload setIssuedAtTimeSeconds(Long issuedAtTimeSeconds)
- Overrides:
setIssuedAtTimeSecondsin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setIssuer
public IdToken.Payload setIssuer(String issuer)
- Overrides:
setIssuerin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setAudience
public IdToken.Payload setAudience(Object audience)
- Overrides:
setAudiencein classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setJwtId
public IdToken.Payload setJwtId(String jwtId)
- Overrides:
setJwtIdin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setType
public IdToken.Payload setType(String type)
- Overrides:
setTypein classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
setSubject
public IdToken.Payload setSubject(String subject)
- Overrides:
setSubjectin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
set
public IdToken.Payload set(String fieldName, Object value)
- Overrides:
setin classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
clone
public IdToken.Payload clone()
- Overrides:
clonein classcom.google.api.client.json.webtoken.JsonWebToken.Payload
-
-