public class CacheBean extends Object
| Constructor and Description |
|---|
CacheBean(String token,
String scope,
String redirectUri,
String clientId,
Long insertTime) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
Long |
getInsertTime() |
String |
getRedirectUri() |
String |
getScope() |
String |
getToken() |
static boolean |
isExpired(CacheBean bean)
True if the code expired, false otherwise
|
void |
setClientId(String clientId) |
void |
setInsertTime(Long insertTime) |
void |
setRedirectUri(String redirectUri) |
void |
setScope(String scope) |
void |
setToken(String token) |
String |
toString() |
public String getScope()
public void setScope(String scope)
public String getToken()
public void setToken(String token)
public Long getInsertTime()
public void setInsertTime(Long insertTime)
public String getRedirectUri()
public void setRedirectUri(String redirectUri)
public String getClientId()
public void setClientId(String clientId)
public static boolean isExpired(CacheBean bean)
Copyright © 2019. All Rights Reserved.