public class QQClient extends OAuth20Client
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 List<QQClient.QQScope> |
scopes |
configurationATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
QQClient() |
QQClient(String key,
String secret) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(QQClient.QQScope scopes) |
protected void |
clientInit() |
List<QQClient.QQScope> |
getScopes() |
void |
setScopes(List<QQClient.QQScope> scopes) |
getConfiguration, getKey, getSecret, setConfiguration, setKey, setSecret, toStringcomputeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectionActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectionActionBuilder, getUrlResolver, internalInit, newDefaultCallbackUrlResolver, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectionActionBuilder, setUrlResolveraddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreatorinitprotected List<QQClient.QQScope> scopes
protected void clientInit()
clientInit in class OAuth20Clientpublic List<QQClient.QQScope> getScopes()
public void setScopes(List<QQClient.QQScope> scopes)
public void addScope(QQClient.QQScope scopes)
Copyright © 2019. All rights reserved.