com.belerweb.social.qq.connect.bean
Class AccessToken

java.lang.Object
  extended by com.belerweb.social.bean.JsonBean
      extended by com.belerweb.social.qq.connect.bean.AccessToken

public class AccessToken
extends JsonBean


Constructor Summary
AccessToken()
           
 
Method Summary
 Long getExpiresIn()
          该access token的有效期,单位为秒。
 String getRefreshToken()
          在授权自动续期步骤中,获取新的Access_Token时需要提供的参数。
 String getToken()
          授权令牌,Access_Token。
static AccessToken parse(org.json.JSONObject jsonObject)
           
 void setExpiresIn(Long expiresIn)
           
 void setRefreshToken(String refreshToken)
           
 void setToken(String token)
           
 
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

AccessToken

public AccessToken()
Method Detail

getToken

public String getToken()
授权令牌,Access_Token。


setToken

public void setToken(String token)

getExpiresIn

public Long getExpiresIn()
该access token的有效期,单位为秒。


setExpiresIn

public void setExpiresIn(Long expiresIn)

getRefreshToken

public String getRefreshToken()
在授权自动续期步骤中,获取新的Access_Token时需要提供的参数。


setRefreshToken

public void setRefreshToken(String refreshToken)

parse

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


Copyright © 2014. All Rights Reserved.