|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.client.auth.jsontoken.JsonWebToken.Payload
com.google.api.client.googleapis.auth.oauth2.GoogleIdToken.Payload
public static class GoogleIdToken.Payload
Google ID token payload.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
GoogleIdToken.Payload()
Constructs a new Payload using default settings. |
|
GoogleIdToken.Payload(Clock clock)
Constructs a new Payload and uses the specified Clock. |
|
| Method Summary | |
|---|---|
String |
getAccessTokenHash()
Returns the hash of access token or null for none. |
String |
getHostedDomain()
Returns the hosted domain name if asserted user is a domain managed user or null for
none. |
String |
getIssuee()
Returns the client ID of issuee or null for none. |
String |
getUserId()
Returns the obfuscated Google user id or null for none. |
GoogleIdToken.Payload |
setAccessTokenHash(String accessTokenHash)
Sets the hash of access token or null for none. |
GoogleIdToken.Payload |
setHostedDomain(String hostedDomain)
Sets the hosted domain name if asserted user is a domain managed user or null for
none. |
GoogleIdToken.Payload |
setIssuee(String issuee)
Sets the client ID of issuee or null for none. |
GoogleIdToken.Payload |
setUserId(String userId)
Sets the obfuscated Google user id or null for none. |
| Methods inherited from class com.google.api.client.auth.jsontoken.JsonWebToken.Payload |
|---|
getAudience, getExpirationTimeSeconds, getIssuedAtTimeSeconds, getIssuer, getJwtId, getNotBeforeTimeSeconds, getPrincipal, getType, isValidTime, setAudience, setExpirationTimeSeconds, setIssuedAtTimeSeconds, setIssuer, setJwtId, setNotBeforeTimeSeconds, setPrincipal, setType |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
clone, getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getUnknownKeys, put, putAll, remove, set, 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 |
| Constructor Detail |
|---|
public GoogleIdToken.Payload()
public GoogleIdToken.Payload(Clock clock)
Clock.
clock - Clock to use for expiration checks.| Method Detail |
|---|
public String getUserId()
null for none.
public GoogleIdToken.Payload setUserId(String userId)
null for none.
public String getIssuee()
null for none.
public GoogleIdToken.Payload setIssuee(String issuee)
null for none.
public String getAccessTokenHash()
null for none.
public GoogleIdToken.Payload setAccessTokenHash(String accessTokenHash)
null for none.
public String getHostedDomain()
null for
none.
public GoogleIdToken.Payload setHostedDomain(String hostedDomain)
null for
none.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||