public class WechatClient extends OAuth20Client<WechatProfile>
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 java.util.List<WechatClient.WechatScope> |
scopes |
configurationATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
WechatClient() |
WechatClient(java.lang.String key,
java.lang.String secret) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(WechatClient.WechatScope scopes) |
protected void |
clientInit() |
protected java.lang.String |
getOAuthScope() |
java.util.List<WechatClient.WechatScope> |
getScopes() |
void |
setScopes(java.util.List<WechatClient.WechatScope> 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<WechatClient.WechatScope> scopes
public WechatClient()
public WechatClient(java.lang.String key,
java.lang.String secret)
protected void clientInit()
clientInit in class OAuth20Client<WechatProfile>protected java.lang.String getOAuthScope()
public java.util.List<WechatClient.WechatScope> getScopes()
public void setScopes(java.util.List<WechatClient.WechatScope> scopes)
public void addScope(WechatClient.WechatScope scopes)
Copyright © 2019. All Rights Reserved.