public class IdToken extends AccessToken implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static IdToken |
create(String tokenValue)
Creates an IdToken given the encoded Json Web Signature.
|
static IdToken |
create(String tokenValue,
com.google.api.client.json.JsonFactory jsonFactory)
Creates an IdToken given the encoded Json Web Signature and JSON Factory
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
getExpirationTime, getTokenValuepublic static IdToken create(String tokenValue) throws IOException
tokenValue - String representation of the ID token.IOException - if JWT token parsing failspublic static IdToken create(String tokenValue, com.google.api.client.json.JsonFactory jsonFactory) throws IOException
jsonFactory - JsonFactory to use for parsing the provided token.tokenValue - String representation of the ID token.IOException - if JWT token parsing failspublic int hashCode()
hashCode in class AccessTokenpublic String toString()
toString in class AccessTokenpublic boolean equals(Object obj)
equals in class AccessTokenCopyright © 2021 Google. All rights reserved.