public class QQClient extends OAuth20Client<QQProfile>
This class is the OAuth client to authenticate users in Tencent QQ Connect.
It returns a QQProfile.
More information at http://wiki.connect.qq.com/%E4%BD%BF%E7%94%A8authorization_code%E8%8E%B7%E5%8F%96access_token
| Modifier and Type | Class and Description |
|---|---|
static class |
QQClient.QQScope |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<QQClient.QQScope> |
scopes |
configurationATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
QQClient() |
QQClient(java.lang.String key,
java.lang.String secret) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(QQClient.QQScope scopes) |
protected void |
clientInit() |
java.util.List<QQClient.QQScope> |
getScopes() |
void |
setScopes(java.util.List<QQClient.QQScope> scopes) |
getConfiguration, getKey, getSecret, setConfiguration, setKey, setSecret, toStringcomputeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectAction, getRedirectActionBuilder, getUrlResolver, internalInit, newDefaultCallbackUrlResolver, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectActionBuilder, setUrlResolveraddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreatorinitprotected java.util.List<QQClient.QQScope> scopes
public QQClient()
public QQClient(java.lang.String key,
java.lang.String secret)
protected void clientInit()
clientInit in class OAuth20Client<QQProfile>public java.util.List<QQClient.QQScope> getScopes()
public void setScopes(java.util.List<QQClient.QQScope> scopes)
public void addScope(QQClient.QQScope scopes)
Copyright © 2019. All Rights Reserved.