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 List<QQClient.QQScope> |
scopes |
configuration
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolver
logger
Constructor and Description |
---|
QQClient() |
QQClient(String key,
String secret) |
Modifier and Type | Method and Description |
---|---|
void |
addScope(QQClient.QQScope scopes) |
protected void |
clientInit()
Initialize the client.
|
List<QQClient.QQScope> |
getScopes() |
void |
setScopes(List<QQClient.QQScope> scopes) |
getConfiguration, getKey, getSecret, setConfiguration, setKey, setSecret, toString
computeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectAction, getRedirectActionBuilder, getUrlResolver, internalInit, newDefaultCallbackUrlResolver, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectActionBuilder, setUrlResolver
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator
init
protected List<QQClient.QQScope> scopes
protected void clientInit()
IndirectClient
clientInit
in class OAuth20Client<QQProfile>
public List<QQClient.QQScope> getScopes()
public void setScopes(List<QQClient.QQScope> scopes)
public void addScope(QQClient.QQScope scopes)
Copyright © 2019. All rights reserved.