public class IdToken extends AccessToken implements Serializable
Represents 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 | String String 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 | String String representation of the ID token. |
jsonFactory | com.google.api.client.json.JsonFactory JsonFactory 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 |