|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.belerweb.social.bean.JsonBean
com.belerweb.social.weibo.bean.TokenInfo
public class TokenInfo
| Constructor Summary | |
|---|---|
TokenInfo()
|
|
| Method Summary | |
|---|---|
String |
getAppkey()
access_token所属的应用appkey。 |
Long |
getCreateAt()
access_token的创建时间,从1970年到创建时间的秒数。 |
Long |
getExpireIn()
access_token的剩余时间,单位是秒数。 |
String |
getScope()
用户授权的scope权限。 |
String |
getUid()
授权用户的uid。 |
static TokenInfo |
parse(org.json.JSONObject jsonObject)
|
void |
setAppkey(String appkey)
|
void |
setCreateAt(Long createAt)
|
void |
setExpireIn(Long expireIn)
|
void |
setScope(String scope)
|
void |
setUid(String uid)
|
| Methods inherited from class com.belerweb.social.bean.JsonBean |
|---|
getJsonObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TokenInfo()
| Method Detail |
|---|
public String getUid()
public void setUid(String uid)
public String getAppkey()
public void setAppkey(String appkey)
public String getScope()
public void setScope(String scope)
public Long getCreateAt()
public void setCreateAt(Long createAt)
public Long getExpireIn()
public void setExpireIn(Long expireIn)
public static TokenInfo parse(org.json.JSONObject jsonObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||