@Component public class QQOauthComponent extends AbstractOauth
channel, CONFIG_APP_KEY, CONFIG_APP_SECRET, CONFIG_CODE, CONFIG_CODE_DESCRIPTION, CONFIG_RETURN_URL, configDataConponent, httpclient, log, prefix
CONFIG_CODE_DESCRIPTION_SUFFIX, CONFIGPREFIX, INPUT_TYPE_EDITORS, INPUT_TYPE_FILES, INPUT_TYPE_PRIVATE_FILES, INPUTTYPE_BOOLEAN, INPUTTYPE_CAPTCHA, INPUTTYPE_CATEGORY, INPUTTYPE_CATEGORY_PATH, INPUTTYPE_CATEGORYTYPE, INPUTTYPE_COLOR, INPUTTYPE_CONTENT, INPUTTYPE_CONTENT_STATUS, INPUTTYPE_DATE, INPUTTYPE_DATETIME, INPUTTYPE_DEPT, INPUTTYPE_DICTIONARY, INPUTTYPE_EMAIL, INPUTTYPE_FILE, INPUTTYPE_IMAGE, INPUTTYPE_KEYVALUE, INPUTTYPE_KEYWORDS, INPUTTYPE_LANG, INPUTTYPE_MODULE, INPUTTYPE_NUMBER, INPUTTYPE_PASSWORD, INPUTTYPE_PRIVATEFILE, INPUTTYPE_PRIVATEIMAGE, INPUTTYPE_PRIVATEVIDEO, INPUTTYPE_SURVEY, INPUTTYPE_TAG, INPUTTYPE_TAGTYPE, INPUTTYPE_TEMPLATE, INPUTTYPE_TEXT, INPUTTYPE_TEXTAREA, INPUTTYPE_TIME, INPUTTYPE_USER, INPUTTYPE_VIDEO, INPUTTYPE_VOTE
构造器和说明 |
---|
QQOauthComponent() |
限定符和类型 | 方法和说明 |
---|---|
OauthAccess |
getAccessToken(short siteId,
java.lang.String code) |
java.lang.String |
getAuthorizeUrl(short siteId,
java.lang.String state,
boolean mobile) |
OauthAccess |
getOpenId(short siteId,
OauthAccess oauthInfo) |
OauthUser |
getUserInfo(short siteId,
OauthAccess oauthAccess) |
enabled, get, getAuthorizeUrl, getChannel, getCode, getCodeDescription, getConfig, getExtendFieldList, getOpenId, post
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportable, getCode, getMessage
keyFunction
public java.lang.String getAuthorizeUrl(short siteId, java.lang.String state, boolean mobile)
public OauthAccess getAccessToken(short siteId, java.lang.String code) throws java.io.IOException
getAccessToken
在类中 AbstractOauth
java.io.IOException
public OauthAccess getOpenId(short siteId, OauthAccess oauthInfo) throws java.io.IOException
java.io.IOException
public OauthUser getUserInfo(short siteId, OauthAccess oauthAccess) throws java.io.IOException
org.apache.http.client.ClientProtocolException
java.io.IOException