public class AuthWeChatEnterpriseWebRequest extends AbstractAuthWeChatEnterpriseRequest
企业微信网页登录
authStateCache, config, source
Constructor and Description |
---|
AuthWeChatEnterpriseWebRequest(AuthConfig config) |
AuthWeChatEnterpriseWebRequest(AuthConfig config,
AuthStateCache authStateCache) |
Modifier and Type | Method and Description |
---|---|
String |
authorize(String state)
返回带
state 参数的授权url,授权回调时会带上这个state |
accessTokenUrl, getAccessToken, getUserInfo, userInfoUrl
authorize, doGetAuthorizationCode, doGetRevoke, doGetUserInfo, doPostAuthorizationCode, doPostRevoke, doPostUserInfo, getRealState, getScopes, login, refreshTokenUrl, revokeUrl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
refresh, revoke
public AuthWeChatEnterpriseWebRequest(AuthConfig config)
public AuthWeChatEnterpriseWebRequest(AuthConfig config, AuthStateCache authStateCache)
public String authorize(String state)
AuthDefaultRequest
state
参数的授权url,授权回调时会带上这个state
authorize
in interface AuthRequest
authorize
in class AuthDefaultRequest
state
- state 验证授权流程的参数,可以防止csrfCopyright © 2021. All rights reserved.