public static class OAuthAuthenticationProvider.Token extends Object
Constructor and Description |
---|
OAuthAuthenticationProvider.Token(String accessToken,
String refreshToken,
long expirationTimestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken()
Returns the access token.
|
long |
getExpirationTimestamp()
Returns the timestamp when the access expires.
|
String |
getRefreshToken()
Returns the refresh token.
|
boolean |
isExpired()
Returns whether the access token is expired or not.
|
String |
toString() |
public String getAccessToken()
public String getRefreshToken()
public long getExpirationTimestamp()
public boolean isExpired()
true
if the access token is expired, false
otherwiseCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.