public class IdToken extends AccessToken implements SerializableRepresents a temporary IdToken and its JsonWebSignature object
Implements
SerializableStatic Methods
create(String tokenValue)
public static IdToken create(String tokenValue)Creates an IdToken given the encoded Json Web Signature.
| Name | Description |
| tokenValue | StringString representation of the ID token. |
| Type | Description |
| IdToken | returns com.google.auth.oauth2.IdToken |
| Type | Description |
| IOException | if JWT token parsing fails |
create(String tokenValue, JsonFactory jsonFactory)
public static IdToken create(String tokenValue, JsonFactory jsonFactory)Creates an IdToken given the encoded Json Web Signature and JSON Factory
| Name | Description |
| tokenValue | StringString representation of the ID token. |
| jsonFactory | com.google.api.client.json.JsonFactoryJsonFactory to use for parsing the provided token. |
| Type | Description |
| IdToken | returns com.google.auth.oauth2.IdToken |
| Type | Description |
| IOException | if JWT token parsing fails |
Methods
equals(Object obj)
public boolean equals(Object obj)| Name | Description |
| obj | Object |
| Type | Description |
| boolean |
hashCode()
public int hashCode()| Type | Description |
| int |
toString()
public String toString()| Type | Description |
| String |