public class WechatClient extends OAuth20Client
This class is the OAuth client to authenticate users in Tencent Wechat.
It returns a WechatProfile.
More info at: WeChat login development guide
| Modifier and Type | Class and Description |
|---|---|
static class |
WechatClient.WechatScope |
| Modifier and Type | Field and Description |
|---|---|
protected List<WechatClient.WechatScope> |
scopes |
configurationATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
WechatClient() |
WechatClient(String key,
String secret) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(WechatClient.WechatScope scopes) |
protected void |
clientInit() |
protected String |
getOAuthScope() |
List<WechatClient.WechatScope> |
getScopes() |
void |
setScopes(List<WechatClient.WechatScope> 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<WechatClient.WechatScope> scopes
protected void clientInit()
clientInit in class OAuth20Clientprotected String getOAuthScope()
public List<WechatClient.WechatScope> getScopes()
public void setScopes(List<WechatClient.WechatScope> scopes)
public void addScope(WechatClient.WechatScope scopes)
Copyright © 2019. All rights reserved.