1
0
mirror of synced 2026-04-21 00:48:37 +08:00

🔖 增加stackoverflow参数校验、解决Pinterest获取用户失败的问题,发布v1.9.1

This commit is contained in:
yadong.zhang
2019-07-20 17:21:21 +08:00
parent 1244524da0
commit 798e7556ba
16 changed files with 44 additions and 21 deletions

View File

@@ -26,6 +26,9 @@ public class AuthChecker {
if (isSupported && AuthSource.ALIPAY == source) {
isSupported = StringUtils.isNotEmpty(config.getAlipayPublicKey());
}
if (isSupported && AuthSource.STACK_OVERFLOW == source) {
isSupported = StringUtils.isNotEmpty(config.getStackOverflowKey());
}
return isSupported;
}

View File

@@ -45,7 +45,7 @@ public class GlobalAuthUtil {
}
}
private static String urlEncode(String value) {
public static String urlEncode(String value) {
if (value == null) {
return "";
}

View File

@@ -14,7 +14,6 @@ import java.util.Map;
* </p>
*
* @author yangkai.shen (https://xkcoding.com)
* @date Created in 2019-07-18 15:47
* @version 1.0
* @since 1.8
*/