Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
justauth
JustAuth
提交
0e24f060
J
JustAuth
项目概览
justauth
/
JustAuth
接近 1 年 前同步成功
通知
361
Star
15209
Fork
2709
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
JustAuth
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0e24f060
编写于
3月 29, 2019
作者:
智布道
👁
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
💡
修改注释,提到中央仓库中
上级
eb200c7f
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
5 addition
and
56 deletion
+5
-56
src/main/java/me/zhyd/oauth/config/AuthConfig.java
src/main/java/me/zhyd/oauth/config/AuthConfig.java
+0
-2
src/main/java/me/zhyd/oauth/consts/ApiUrl.java
src/main/java/me/zhyd/oauth/consts/ApiUrl.java
+0
-2
src/main/java/me/zhyd/oauth/exception/AuthException.java
src/main/java/me/zhyd/oauth/exception/AuthException.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthBaiduErrorCode.java
src/main/java/me/zhyd/oauth/model/AuthBaiduErrorCode.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthDingTalkErrorCode.java
src/main/java/me/zhyd/oauth/model/AuthDingTalkErrorCode.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthResponse.java
src/main/java/me/zhyd/oauth/model/AuthResponse.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthSource.java
src/main/java/me/zhyd/oauth/model/AuthSource.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthToken.java
src/main/java/me/zhyd/oauth/model/AuthToken.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthUser.java
src/main/java/me/zhyd/oauth/model/AuthUser.java
+0
-2
src/main/java/me/zhyd/oauth/model/AuthUserGender.java
src/main/java/me/zhyd/oauth/model/AuthUserGender.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthAlipayRequest.java
src/main/java/me/zhyd/oauth/request/AuthAlipayRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java
src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthCodingRequest.java
src/main/java/me/zhyd/oauth/request/AuthCodingRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthCsdnRequest.java
src/main/java/me/zhyd/oauth/request/AuthCsdnRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java
src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthGiteeRequest.java
src/main/java/me/zhyd/oauth/request/AuthGiteeRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthGithubRequest.java
src/main/java/me/zhyd/oauth/request/AuthGithubRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthOschinaRequest.java
src/main/java/me/zhyd/oauth/request/AuthOschinaRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthRequest.java
src/main/java/me/zhyd/oauth/request/AuthRequest.java
+4
-2
src/main/java/me/zhyd/oauth/request/AuthTencentCloudRequest.java
...n/java/me/zhyd/oauth/request/AuthTencentCloudRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/AuthWeiboRequest.java
src/main/java/me/zhyd/oauth/request/AuthWeiboRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/BaseAuthRequest.java
src/main/java/me/zhyd/oauth/request/BaseAuthRequest.java
+0
-2
src/main/java/me/zhyd/oauth/request/ResponseStatus.java
src/main/java/me/zhyd/oauth/request/ResponseStatus.java
+0
-2
src/main/java/me/zhyd/oauth/utils/AuthConfigChecker.java
src/main/java/me/zhyd/oauth/utils/AuthConfigChecker.java
+1
-2
src/main/java/me/zhyd/oauth/utils/IpUtils.java
src/main/java/me/zhyd/oauth/utils/IpUtils.java
+0
-2
src/main/java/me/zhyd/oauth/utils/StringUtils.java
src/main/java/me/zhyd/oauth/utils/StringUtils.java
+0
-2
src/main/java/me/zhyd/oauth/utils/UrlBuilder.java
src/main/java/me/zhyd/oauth/utils/UrlBuilder.java
+0
-2
src/test/java/me/zhyd/oauth/AuthRequestTest.java
src/test/java/me/zhyd/oauth/AuthRequestTest.java
+0
-2
未找到文件。
src/main/java/me/zhyd/oauth/config/AuthConfig.java
浏览文件 @
0e24f060
...
@@ -8,8 +8,6 @@ import lombok.NoArgsConstructor;
...
@@ -8,8 +8,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 14:03
* @since 1.8
* @since 1.8
*/
*/
@Getter
@Getter
...
...
src/main/java/me/zhyd/oauth/consts/ApiUrl.java
浏览文件 @
0e24f060
...
@@ -8,8 +8,6 @@ import me.zhyd.oauth.request.ResponseStatus;
...
@@ -8,8 +8,6 @@ import me.zhyd.oauth.request.ResponseStatus;
*
*
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/24 21:20
* @since 1.0
* @since 1.0
*/
*/
public
enum
ApiUrl
{
public
enum
ApiUrl
{
...
...
src/main/java/me/zhyd/oauth/exception/AuthException.java
浏览文件 @
0e24f060
...
@@ -5,8 +5,6 @@ import me.zhyd.oauth.request.ResponseStatus;
...
@@ -5,8 +5,6 @@ import me.zhyd.oauth.request.ResponseStatus;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 16:05
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthException
extends
RuntimeException
{
public
class
AuthException
extends
RuntimeException
{
...
...
src/main/java/me/zhyd/oauth/model/AuthBaiduErrorCode.java
浏览文件 @
0e24f060
...
@@ -5,8 +5,6 @@ import me.zhyd.oauth.utils.StringUtils;
...
@@ -5,8 +5,6 @@ import me.zhyd.oauth.utils.StringUtils;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/19 19:13
* @since 1.8
* @since 1.8
*/
*/
public
enum
AuthBaiduErrorCode
{
public
enum
AuthBaiduErrorCode
{
...
...
src/main/java/me/zhyd/oauth/model/AuthDingTalkErrorCode.java
浏览文件 @
0e24f060
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.model;
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.model;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/19 9:42
* @since 1.8
* @since 1.8
*/
*/
public
enum
AuthDingTalkErrorCode
{
public
enum
AuthDingTalkErrorCode
{
...
...
src/main/java/me/zhyd/oauth/model/AuthResponse.java
浏览文件 @
0e24f060
...
@@ -7,8 +7,6 @@ import me.zhyd.oauth.request.ResponseStatus;
...
@@ -7,8 +7,6 @@ import me.zhyd.oauth.request.ResponseStatus;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 15:43
* @since 1.8
* @since 1.8
*/
*/
@Builder
@Builder
...
...
src/main/java/me/zhyd/oauth/model/AuthSource.java
浏览文件 @
0e24f060
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.model;
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.model;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 13:52
* @since 1.8
* @since 1.8
*/
*/
public
enum
AuthSource
{
public
enum
AuthSource
{
...
...
src/main/java/me/zhyd/oauth/model/AuthToken.java
浏览文件 @
0e24f060
...
@@ -6,8 +6,6 @@ import lombok.Data;
...
@@ -6,8 +6,6 @@ import lombok.Data;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 15:43
* @since 1.8
* @since 1.8
*/
*/
@Data
@Data
...
...
src/main/java/me/zhyd/oauth/model/AuthUser.java
浏览文件 @
0e24f060
...
@@ -6,8 +6,6 @@ import lombok.Data;
...
@@ -6,8 +6,6 @@ import lombok.Data;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 13:47
* @since 1.8
* @since 1.8
*/
*/
@Builder
@Builder
...
...
src/main/java/me/zhyd/oauth/model/AuthUserGender.java
浏览文件 @
0e24f060
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.model;
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.model;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 17:24
* @since 1.8
* @since 1.8
*/
*/
public
enum
AuthUserGender
{
public
enum
AuthUserGender
{
...
...
src/main/java/me/zhyd/oauth/request/AuthAlipayRequest.java
浏览文件 @
0e24f060
...
@@ -18,8 +18,6 @@ import me.zhyd.oauth.utils.StringUtils;
...
@@ -18,8 +18,6 @@ import me.zhyd.oauth.utils.StringUtils;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/3/25 22:48
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthAlipayRequest
extends
BaseAuthRequest
{
public
class
AuthAlipayRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java
浏览文件 @
0e24f060
...
@@ -11,8 +11,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -11,8 +11,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/19 18:43
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthBaiduRequest
extends
BaseAuthRequest
{
public
class
AuthBaiduRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthCodingRequest.java
浏览文件 @
0e24f060
...
@@ -13,8 +13,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -13,8 +13,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/23 15:48
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthCodingRequest
extends
BaseAuthRequest
{
public
class
AuthCodingRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthCsdnRequest.java
浏览文件 @
0e24f060
...
@@ -12,8 +12,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -12,8 +12,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/23 15:00
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthCsdnRequest
extends
BaseAuthRequest
{
public
class
AuthCsdnRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java
浏览文件 @
0e24f060
...
@@ -17,8 +17,6 @@ import java.util.Objects;
...
@@ -17,8 +17,6 @@ import java.util.Objects;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/18 18:43
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthDingTalkRequest
extends
BaseAuthRequest
{
public
class
AuthDingTalkRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthGiteeRequest.java
浏览文件 @
0e24f060
...
@@ -12,8 +12,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -12,8 +12,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 16:31
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthGiteeRequest
extends
BaseAuthRequest
{
public
class
AuthGiteeRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthGithubRequest.java
浏览文件 @
0e24f060
...
@@ -15,8 +15,6 @@ import java.util.Map;
...
@@ -15,8 +15,6 @@ import java.util.Map;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 16:31
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthGithubRequest
extends
BaseAuthRequest
{
public
class
AuthGithubRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthOschinaRequest.java
浏览文件 @
0e24f060
...
@@ -13,8 +13,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -13,8 +13,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/23 15:48
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthOschinaRequest
extends
BaseAuthRequest
{
public
class
AuthOschinaRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthRequest.java
浏览文件 @
0e24f060
...
@@ -6,14 +6,14 @@ import me.zhyd.oauth.model.AuthResponse;
...
@@ -6,14 +6,14 @@ import me.zhyd.oauth.model.AuthResponse;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 15:45
* @since 1.8
* @since 1.8
*/
*/
public
interface
AuthRequest
{
public
interface
AuthRequest
{
/**
/**
* 返回认证url,可自行跳转页面
* 返回认证url,可自行跳转页面
*
* @return 返回授权地址
*/
*/
default
String
authorize
()
{
default
String
authorize
()
{
throw
new
AuthException
(
ResponseStatus
.
NOT_IMPLEMENTED
);
throw
new
AuthException
(
ResponseStatus
.
NOT_IMPLEMENTED
);
...
@@ -33,6 +33,7 @@ public interface AuthRequest {
...
@@ -33,6 +33,7 @@ public interface AuthRequest {
* 撤销授权
* 撤销授权
*
*
* @param accessToken 登录成功后返回的accessToken
* @param accessToken 登录成功后返回的accessToken
* @return AuthResponse
*/
*/
default
AuthResponse
revoke
(
String
accessToken
)
{
default
AuthResponse
revoke
(
String
accessToken
)
{
throw
new
AuthException
(
ResponseStatus
.
NOT_IMPLEMENTED
);
throw
new
AuthException
(
ResponseStatus
.
NOT_IMPLEMENTED
);
...
@@ -42,6 +43,7 @@ public interface AuthRequest {
...
@@ -42,6 +43,7 @@ public interface AuthRequest {
* 刷新access token (续期)
* 刷新access token (续期)
*
*
* @param accessToken 登录成功后返回的accessToken
* @param accessToken 登录成功后返回的accessToken
* @return AuthResponse
*/
*/
default
AuthResponse
refresh
(
String
accessToken
)
{
default
AuthResponse
refresh
(
String
accessToken
)
{
throw
new
AuthException
(
ResponseStatus
.
NOT_IMPLEMENTED
);
throw
new
AuthException
(
ResponseStatus
.
NOT_IMPLEMENTED
);
...
...
src/main/java/me/zhyd/oauth/request/AuthTencentCloudRequest.java
浏览文件 @
0e24f060
...
@@ -13,8 +13,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -13,8 +13,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/23 15:48
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthTencentCloudRequest
extends
BaseAuthRequest
{
public
class
AuthTencentCloudRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/AuthWeiboRequest.java
浏览文件 @
0e24f060
...
@@ -17,8 +17,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -17,8 +17,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 16:31
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthWeiboRequest
extends
BaseAuthRequest
{
public
class
AuthWeiboRequest
extends
BaseAuthRequest
{
...
...
src/main/java/me/zhyd/oauth/request/BaseAuthRequest.java
浏览文件 @
0e24f060
...
@@ -12,8 +12,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
...
@@ -12,8 +12,6 @@ import me.zhyd.oauth.utils.UrlBuilder;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/18 13:11
* @since 1.8
* @since 1.8
*/
*/
@Data
@Data
...
...
src/main/java/me/zhyd/oauth/request/ResponseStatus.java
浏览文件 @
0e24f060
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.request;
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.request;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 16:37
* @since 1.8
* @since 1.8
*/
*/
public
enum
ResponseStatus
{
public
enum
ResponseStatus
{
...
...
src/main/java/me/zhyd/oauth/utils/AuthConfigChecker.java
浏览文件 @
0e24f060
...
@@ -5,8 +5,6 @@ import me.zhyd.oauth.config.AuthConfig;
...
@@ -5,8 +5,6 @@ import me.zhyd.oauth.config.AuthConfig;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 15:46
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthConfigChecker
{
public
class
AuthConfigChecker
{
...
@@ -14,6 +12,7 @@ public class AuthConfigChecker {
...
@@ -14,6 +12,7 @@ public class AuthConfigChecker {
/**
/**
* 是否支持第三方登录
* 是否支持第三方登录
*
*
* @param config config
* @return true or false
* @return true or false
*/
*/
public
static
boolean
isSupportedAuth
(
AuthConfig
config
)
{
public
static
boolean
isSupportedAuth
(
AuthConfig
config
)
{
...
...
src/main/java/me/zhyd/oauth/utils/IpUtils.java
浏览文件 @
0e24f060
...
@@ -8,8 +8,6 @@ import java.net.UnknownHostException;
...
@@ -8,8 +8,6 @@ import java.net.UnknownHostException;
*
*
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 16:31
* @since 1.0
* @since 1.0
*/
*/
public
class
IpUtils
{
public
class
IpUtils
{
...
...
src/main/java/me/zhyd/oauth/utils/StringUtils.java
浏览文件 @
0e24f060
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.utils;
...
@@ -3,8 +3,6 @@ package me.zhyd.oauth.utils;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 15:48
* @since 1.8
* @since 1.8
*/
*/
public
class
StringUtils
{
public
class
StringUtils
{
...
...
src/main/java/me/zhyd/oauth/utils/UrlBuilder.java
浏览文件 @
0e24f060
...
@@ -9,8 +9,6 @@ import java.text.MessageFormat;
...
@@ -9,8 +9,6 @@ import java.text.MessageFormat;
*
*
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/1/31 12:26
* @since 1.0
* @since 1.0
*/
*/
public
class
UrlBuilder
{
public
class
UrlBuilder
{
...
...
src/test/java/me/zhyd/oauth/AuthRequestTest.java
浏览文件 @
0e24f060
...
@@ -7,8 +7,6 @@ import org.junit.Test;
...
@@ -7,8 +7,6 @@ import org.junit.Test;
/**
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @version 1.0
* @version 1.0
* @website https://www.zhyd.me
* @date 2019/2/18 13:10
* @since 1.8
* @since 1.8
*/
*/
public
class
AuthRequestTest
{
public
class
AuthRequestTest
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录