public class Oauth extends Weibo
| Modifier and Type | Field and Description |
|---|---|
String |
access_token |
String |
user_id |
| Constructor and Description |
|---|
Oauth() |
| Modifier and Type | Method and Description |
|---|---|
String |
authorize(String response_type,
String state) |
String |
authorize(String response_type,
String state,
String scope) |
AccessToken |
getAccessTokenByCode(String code) |
String |
getToken() |
String |
parseSignedRequest(String signed_request) |
String |
ts(String json) |
public String getToken()
public String parseSignedRequest(String signed_request) throws IOException, InvalidKeyException, NoSuchAlgorithmException
public AccessToken getAccessTokenByCode(String code) throws WeiboException
WeiboExceptionpublic String authorize(String response_type, String state) throws WeiboException
WeiboExceptionpublic String authorize(String response_type, String state, String scope) throws WeiboException
WeiboExceptionCopyright © 2013. All Rights Reserved.