public class AuthWeChatEnterpriseQrcodeRequest extends AbstractAuthWeChatEnterpriseRequest
企业微信二维码登录
authStateCache, config, source
Constructor and Description |
---|
AuthWeChatEnterpriseQrcodeRequest(AuthConfig config) |
AuthWeChatEnterpriseQrcodeRequest(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 AuthWeChatEnterpriseQrcodeRequest(AuthConfig config)
public AuthWeChatEnterpriseQrcodeRequest(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.