public class GuestAuthToken extends OAuth2Token
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_GUEST_TOKEN |
CREATOR, TOKEN_TYPE_BEARER| Constructor and Description |
|---|
GuestAuthToken(String tokenType,
String accessToken,
String guestToken) |
GuestAuthToken(String tokenType,
String accessToken,
String guestToken,
long createdAt) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getGuestToken() |
int |
hashCode() |
boolean |
isExpired()
Determines whether a token is known to have expired.
|
describeContents, getAccessToken, getTokenType, writeToParcelpublic static final String HEADER_GUEST_TOKEN
public GuestAuthToken(String tokenType,
String accessToken,
String guestToken)
public GuestAuthToken(String tokenType,
String accessToken,
String guestToken,
long createdAt)
public String getGuestToken()
public boolean isExpired()
AuthTokenisExpired in class OAuth2Tokenpublic boolean equals(Object o)
equals in class OAuth2Tokenpublic int hashCode()
hashCode in class OAuth2Token