@Beta
public static class IdToken.Payload
extends com.google.api.client.json.webtoken.JsonWebToken.Payload
Beta com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Payload() |
| Modifier and Type | Method and Description |
|---|---|
IdToken.Payload |
clone() |
java.lang.String |
getAccessTokenHash()
Returns the access token hash value or
null for none. |
java.lang.Long |
getAuthorizationTimeSeconds()
Returns the time (in seconds) of end-user authorization or
null for none. |
java.lang.String |
getAuthorizedParty()
Returns the authorized party or
null for none. |
java.lang.String |
getClassReference()
Returns the authentication context class reference or
null for none. |
java.util.List<java.lang.String> |
getMethodsReferences()
Returns the authentication methods references or
null for none. |
java.lang.String |
getNonce()
Returns the value used to associate a client session with an ID token or
null for
none. |
IdToken.Payload |
set(java.lang.String fieldName,
java.lang.Object value) |
IdToken.Payload |
setAccessTokenHash(java.lang.String accessTokenHash)
Sets the access token hash value or
null for none. |
IdToken.Payload |
setAudience(java.lang.Object audience) |
IdToken.Payload |
setAuthorizationTimeSeconds(java.lang.Long authorizationTimeSeconds)
Sets the time (in seconds) of end-user authorization or
null for none. |
IdToken.Payload |
setAuthorizedParty(java.lang.String authorizedParty)
Sets the authorized party or
null for none. |
IdToken.Payload |
setClassReference(java.lang.String classReference)
Sets the authentication context class reference or
null for none. |
IdToken.Payload |
setExpirationTimeSeconds(java.lang.Long expirationTimeSeconds) |
IdToken.Payload |
setIssuedAtTimeSeconds(java.lang.Long issuedAtTimeSeconds) |
IdToken.Payload |
setIssuer(java.lang.String issuer) |
IdToken.Payload |
setJwtId(java.lang.String jwtId) |
IdToken.Payload |
setMethodsReferences(java.util.List<java.lang.String> methodsReferences)
Sets the authentication methods references or
null for none. |
IdToken.Payload |
setNonce(java.lang.String nonce)
Sets the value used to associate a client session with an ID token or
null for none. |
IdToken.Payload |
setNotBeforeTimeSeconds(java.lang.Long notBeforeTimeSeconds) |
IdToken.Payload |
setSubject(java.lang.String subject) |
IdToken.Payload |
setType(java.lang.String type) |
getAudience, getAudienceAsList, getExpirationTimeSeconds, getIssuedAtTimeSeconds, getIssuer, getJwtId, getNotBeforeTimeSeconds, getSubject, getTypegetFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic final java.lang.Long getAuthorizationTimeSeconds()
null for none.public IdToken.Payload setAuthorizationTimeSeconds(java.lang.Long authorizationTimeSeconds)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final java.lang.String getAuthorizedParty()
null for none.
Upgrade warning: in prior version 1.15 this method returned an Object, but starting
with version 1.16 it returns a String.
public IdToken.Payload setAuthorizedParty(java.lang.String authorizedParty)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
Upgrade warning: in prior version 1.15 the parameter was an Object, but starting with
version 1.16 the parameter is a String.
public final java.lang.String getNonce()
null for
none.public IdToken.Payload setNonce(java.lang.String nonce)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final java.lang.String getAccessTokenHash()
null for none.public IdToken.Payload setAccessTokenHash(java.lang.String accessTokenHash)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final java.lang.String getClassReference()
null for none.public IdToken.Payload setClassReference(java.lang.String classReference)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final java.util.List<java.lang.String> getMethodsReferences()
null for none.public IdToken.Payload setMethodsReferences(java.util.List<java.lang.String> methodsReferences)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public IdToken.Payload setExpirationTimeSeconds(java.lang.Long expirationTimeSeconds)
setExpirationTimeSeconds in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setNotBeforeTimeSeconds(java.lang.Long notBeforeTimeSeconds)
setNotBeforeTimeSeconds in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setIssuedAtTimeSeconds(java.lang.Long issuedAtTimeSeconds)
setIssuedAtTimeSeconds in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setIssuer(java.lang.String issuer)
setIssuer in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setAudience(java.lang.Object audience)
setAudience in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setJwtId(java.lang.String jwtId)
setJwtId in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setType(java.lang.String type)
setType in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload setSubject(java.lang.String subject)
setSubject in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.webtoken.JsonWebToken.Payloadpublic IdToken.Payload clone()
clone in class com.google.api.client.json.webtoken.JsonWebToken.PayloadCopyright © 2011-2018 Google. All Rights Reserved.