🍻 add package-info

This commit is contained in:
yadong.zhang 2019-08-07 10:54:36 +08:00
parent 4d8411e978
commit b466dd8de3
10 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,5 @@
/**
* JustAuth 缓存实现 提供基础的基于ConcurrentHashMap + ScheduledExecutorService 实现的定时缓存
* 同时对外暴露{@code AuthStateCache}接口可进行对缓存实现的自定义
*/
package me.zhyd.oauth.cache;

View File

@ -0,0 +1,4 @@
/**
* JustAuth 核心配置相关包括{@code AuthConfig}{@code AuthSource}
*/
package me.zhyd.oauth.config;

View File

@ -0,0 +1,4 @@
/**
* 提供一些必要的枚举类
*/
package me.zhyd.oauth.enums;

View File

@ -0,0 +1,4 @@
/**
* JustAuth专用异常封装
*/
package me.zhyd.oauth.exception;

View File

@ -0,0 +1,4 @@
/**
* 针对JustAuth简单封装的日志打印工具可用过{@link me.zhyd.oauth.log.Log.Config}开关日志和指定日志级别
*/
package me.zhyd.oauth.log;

View File

@ -0,0 +1,4 @@
/**
* JustAuth核心模型类封装了用户token响应和callback等实体类
*/
package me.zhyd.oauth.model;

View File

@ -0,0 +1,8 @@
/**
* JustAuth如你所见它仅仅是一个第三方授权登录的工具类库它可以让我们脱离繁琐的第三方登录SDK让登录变得So easy!
* <p>
* 史上最全的整合第三方登录的开源库目前已支持GithubGitee微博钉钉百度Coding腾讯云开发者平台OSChina
* 支付宝QQ微信淘宝GoogleFacebook抖音领英小米微软今日头条TeambitionStackOverflowPinterest
* 人人华为和企业微信等第三方平台的授权登录 Login, so easy!
*/
package me.zhyd.oauth;

View File

@ -1,12 +1,20 @@
package me.zhyd.oauth.request;
import me.zhyd.oauth.enums.AuthResponseStatus;
import me.zhyd.oauth.exception.AuthException;
import me.zhyd.oauth.model.AuthCallback;
import me.zhyd.oauth.model.AuthResponse;
import me.zhyd.oauth.enums.AuthResponseStatus;
import me.zhyd.oauth.model.AuthToken;
/**
* JustAuth {@code Request}公共接口所有平台的{@code Request}都需要实现该接口
* <p>
* {@link AuthRequest#authorize()}
* {@link AuthRequest#authorize(String)}
* {@link AuthRequest#login(AuthCallback)}
* {@link AuthRequest#revoke(AuthToken)}
* {@link AuthRequest#refresh(AuthToken)}
*
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @since 1.8
*/

View File

@ -0,0 +1,4 @@
/**
* JustAuth核心组件所有授权登录都是基于{@code request}实现
*/
package me.zhyd.oauth.request;

View File

@ -0,0 +1,4 @@
/**
* 提供一些简单的工具和校验等
*/
package me.zhyd.oauth.utils;