public class AccessToken implements SerializableRepresents a temporary OAuth2 access token and its expiration information.
Implements
SerializableConstructors
AccessToken(String tokenValue, Date expirationTime)
public AccessToken(String tokenValue, Date expirationTime)| Name | Description |
| tokenValue | StringString representation of the access token. |
| expirationTime | DateTime when access token will expire. |
Methods
equals(Object obj)
public boolean equals(Object obj)| Name | Description |
| obj | Object |
| Type | Description |
| boolean |
getExpirationTime()
public Date getExpirationTime()Time when access token will expire.
| Type | Description |
| Date | The expiration time as a Date. |
getTokenValue()
public String getTokenValue()String representation of the access token.
| Type | Description |
| String | The raw access token string value. |
hashCode()
public int hashCode()| Type | Description |
| int |
toString()
public String toString()| Type | Description |
| String |