com.belerweb.social.weibo.bean
Class TokenInfo

java.lang.Object
  extended by com.belerweb.social.bean.JsonBean
      extended by com.belerweb.social.weibo.bean.TokenInfo

public class TokenInfo
extends JsonBean


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

TokenInfo

public TokenInfo()
Method Detail

getUid

public String getUid()
授权用户的uid。


setUid

public void setUid(String uid)

getAppkey

public String getAppkey()
access_token所属的应用appkey。


setAppkey

public void setAppkey(String appkey)

getScope

public String getScope()
用户授权的scope权限。


setScope

public void setScope(String scope)

getCreateAt

public Long getCreateAt()
access_token的创建时间,从1970年到创建时间的秒数。


setCreateAt

public void setCreateAt(Long createAt)

getExpireIn

public Long getExpireIn()
access_token的剩余时间,单位是秒数。


setExpireIn

public void setExpireIn(Long expireIn)

parse

public static TokenInfo parse(org.json.JSONObject jsonObject)


Copyright © 2014. All Rights Reserved.