public class NeteaseWeibooApi extends DefaultApi10a
Modifier | Constructor and Description |
---|---|
protected |
NeteaseWeibooApi() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessTokenEndpoint() |
String |
getAuthenticateUrl(OAuth1Token requestToken)
this method is for web client with callback url if you're creating a desktop client please call
getAuthorizationUrl
via
http://open.t.163.com/wiki/index.php?title=%E8%AF%B7%E6%B1%82%E7%94%A8%E6%88%B7%E6%8E%88%E6%9D%83Token(oauth/authenticate)
|
String |
getAuthorizationBaseUrl()
this method will ignore your callback if you're creating a desktop client please choose this url else your can
call getAuthenticateUrl
via
http://open.t.163.com/wiki/index.php?title=%E8%AF%B7%E6%B1%82%E7%94%A8%E6%88%B7%E6%8E%88%E6%9D%83Token(oauth/authorize)
|
String |
getRequestTokenEndpoint() |
static NeteaseWeibooApi |
instance() |
createService, createService, getAccessTokenExtractor, getAccessTokenVerb, getAuthorizationUrl, getBaseStringExtractor, getHeaderExtractor, getRequestTokenExtractor, getRequestTokenVerb, getSignatureService, getSignatureType, getTimestampService, isEmptyOAuthTokenParamIsRequired
public static NeteaseWeibooApi instance()
public String getRequestTokenEndpoint()
getRequestTokenEndpoint
in class DefaultApi10a
public String getAccessTokenEndpoint()
getAccessTokenEndpoint
in class DefaultApi10a
public String getAuthorizationBaseUrl()
getAuthorizationBaseUrl
in class DefaultApi10a
public String getAuthenticateUrl(OAuth1Token requestToken)
requestToken
- TokenCopyright © 2018. All rights reserved.