mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2025-12-06 08:48:27 +08:00
👽 重命名企业微信扫码登录 request 类名,补充文档说明
This commit is contained in:
parent
824c68356d
commit
1bec384525
@ -11,7 +11,20 @@
|
||||
- 修改喜马拉雅配置参数,将`ClientOsType`参数提到 AuthConfig 中
|
||||
- AuthChecker 中增加对喜马拉雅平台的校验
|
||||
- 升级 facebook api 版本到 v9.0,解决 Gitee Issue [#I2AR5S](https://gitee.com/yadong.zhang/JustAuth/issues/I2AR5S)
|
||||
- 修改原来的企业微信 Request 类名为 `AuthWeChatEnterpriseQrcodeRequest`,升级后注意该点
|
||||
|
||||
注意:可能有些开发者对于 JA 集成的四个微信平台不太理解,这儿统一说明:
|
||||
- 按照类名
|
||||
- AuthWeChatEnterpriseQrcodeRequest:企业微信二维码登录
|
||||
- AuthWeChatEnterpriseWebRequest:企业微信网页登录
|
||||
- AuthWeChatOpenRequest:微信开放平台
|
||||
- AuthWeChatMpRequest:微信公众平台
|
||||
- 按照枚举
|
||||
- WECHAT_ENTERPRISE:企业微信二维码登录
|
||||
- WECHAT_ENTERPRISE_WEB:企业微信网页登录
|
||||
- WECHAT_OPEN:微信开放平台
|
||||
- WECHAT_MP:微信公众平台
|
||||
|
||||
## 1.15.8
|
||||
|
||||
### 2020/10/25
|
||||
|
||||
@ -561,7 +561,7 @@ public enum AuthDefaultSource implements AuthSource {
|
||||
},
|
||||
|
||||
/**
|
||||
* 企业微信扫描登录
|
||||
* 企业微信二维码登录
|
||||
*
|
||||
* @since 1.10.0
|
||||
*/
|
||||
|
||||
@ -11,14 +11,15 @@ import me.zhyd.oauth.utils.UrlBuilder;
|
||||
* </p>
|
||||
*
|
||||
* @author yangkai.shen (https://xkcoding.com)
|
||||
* @author liguanhua(347826496(a)qq.com) 重构该类,将通用方法提取
|
||||
* @since 1.10.0
|
||||
*/
|
||||
public class AuthWeChatEnterpriseRequest extends AbstractAuthWeChatEnterpriseRequest {
|
||||
public AuthWeChatEnterpriseRequest(AuthConfig config) {
|
||||
public class AuthWeChatEnterpriseQrcodeRequest extends AbstractAuthWeChatEnterpriseRequest {
|
||||
public AuthWeChatEnterpriseQrcodeRequest(AuthConfig config) {
|
||||
super(config, AuthDefaultSource.WECHAT_ENTERPRISE);
|
||||
}
|
||||
|
||||
public AuthWeChatEnterpriseRequest(AuthConfig config, AuthStateCache authStateCache) {
|
||||
public AuthWeChatEnterpriseQrcodeRequest(AuthConfig config, AuthStateCache authStateCache) {
|
||||
super(config, AuthDefaultSource.WECHAT_ENTERPRISE, authStateCache);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user