Skip navigation links
A B C D E F G H I L M O P Q R S T U V W 

A

AbstractAuthWeChatEnterpriseRequest - Class in me.zhyd.oauth.request
企业微信登录父类
AbstractAuthWeChatEnterpriseRequest(AuthConfig, AuthSource) - Constructor for class me.zhyd.oauth.request.AbstractAuthWeChatEnterpriseRequest
 
AbstractAuthWeChatEnterpriseRequest(AuthConfig, AuthSource, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AbstractAuthWeChatEnterpriseRequest
 
accessToken() - Method in interface me.zhyd.oauth.config.AuthSource
获取accessToken的api
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AbstractAuthWeChatEnterpriseRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthCodingRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthOschinaRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthToutiaoRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
返回获取accessToken的url
accessTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
返回获取accessToken的url
appendIfNotContain(String, String, String) - Static method in class me.zhyd.oauth.utils.StringUtils
如果给定字符串str中不包含appendStr,则在str后追加appendStr; 如果已包含appendStr,则在str后追加otherwise
AuthAlipayRequest - Class in me.zhyd.oauth.request
支付宝登录
AuthAlipayRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthAlipayRequest
 
AuthAlipayRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthAlipayRequest
 
AuthAlipayRequest(AuthConfig, AuthStateCache, String, Integer) - Constructor for class me.zhyd.oauth.request.AuthAlipayRequest
 
AuthAliyunRequest - Class in me.zhyd.oauth.request
阿里云登录
AuthAliyunRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthAliyunRequest
 
AuthAliyunRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthAliyunRequest
 
AuthBaiduRequest - Class in me.zhyd.oauth.request
百度账号登录
AuthBaiduRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthBaiduRequest
 
AuthBaiduRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthBaiduRequest
 
AuthBaiduScope - Enum in me.zhyd.oauth.enums.scope
边度平台 OAuth 授权范围
AuthCache - Interface in me.zhyd.oauth.cache
JustAuth缓存,用来缓存State
AuthCacheConfig - Class in me.zhyd.oauth.cache
AuthCache配置类
AuthCacheConfig() - Constructor for class me.zhyd.oauth.cache.AuthCacheConfig
 
AuthCacheScheduler - Enum in me.zhyd.oauth.cache
缓存调度器
AuthCallback - Class in me.zhyd.oauth.model
授权回调时的参数类
AuthCallback() - Constructor for class me.zhyd.oauth.model.AuthCallback
 
AuthChecker - Class in me.zhyd.oauth.utils
授权配置类的校验器
AuthChecker() - Constructor for class me.zhyd.oauth.utils.AuthChecker
 
AuthCodingRequest - Class in me.zhyd.oauth.request
Cooding登录
AuthCodingRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthCodingRequest
 
AuthCodingRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthCodingRequest
 
AuthCodingScope - Enum in me.zhyd.oauth.enums.scope
Coding平台 OAuth 授权范围
AuthConfig - Class in me.zhyd.oauth.config
JustAuth配置类
AuthConfig() - Constructor for class me.zhyd.oauth.config.AuthConfig
 
AuthCsdnRequest - Class in me.zhyd.oauth.request
Deprecated.
AuthCsdnRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthCsdnRequest
Deprecated.
 
AuthCsdnRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthCsdnRequest
Deprecated.
 
AuthDefaultCache - Class in me.zhyd.oauth.cache
默认的缓存实现
AuthDefaultCache() - Constructor for class me.zhyd.oauth.cache.AuthDefaultCache
 
AuthDefaultRequest - Class in me.zhyd.oauth.request
默认的request处理类
AuthDefaultRequest(AuthConfig, AuthSource) - Constructor for class me.zhyd.oauth.request.AuthDefaultRequest
 
AuthDefaultRequest(AuthConfig, AuthSource, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthDefaultRequest
 
AuthDefaultSource - Enum in me.zhyd.oauth.config
JustAuth内置的各api需要的url, 用枚举类分平台类型管理
AuthDefaultStateCache - Enum in me.zhyd.oauth.cache
默认的state缓存实现
AuthDingTalkRequest - Class in me.zhyd.oauth.request
钉钉登录
AuthDingTalkRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthDingTalkRequest
 
AuthDingTalkRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthDingTalkRequest
 
AuthDouyinRequest - Class in me.zhyd.oauth.request
抖音登录
AuthDouyinRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthDouyinRequest
 
AuthDouyinRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthDouyinRequest
 
AuthElemeRequest - Class in me.zhyd.oauth.request
饿了么
AuthElemeRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthElemeRequest
 
AuthElemeRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthElemeRequest
 
AuthException - Exception in me.zhyd.oauth.exception
JustAuth通用异常类
AuthException(String) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(String, AuthSource) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(int, String) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(AuthResponseStatus) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(int, String, AuthSource) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(AuthResponseStatus, AuthSource) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(String, Throwable) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthException(Throwable) - Constructor for exception me.zhyd.oauth.exception.AuthException
 
AuthFacebookRequest - Class in me.zhyd.oauth.request
Facebook登录
AuthFacebookRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthFacebookRequest
 
AuthFacebookRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthFacebookRequest
 
AuthFacebookScope - Enum in me.zhyd.oauth.enums.scope
Facebook 平台 OAuth 授权范围
AuthFeishuRequest - Class in me.zhyd.oauth.request
飞书平台,企业自建应用授权登录,原逻辑由 beacon 集成于 1.14.0 版,但最新的飞书 api 已修改,并且飞书平台一直为 Deprecated 状态
AuthFeishuRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthFeishuRequest
 
AuthFeishuRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthFeishuRequest
 
AuthGiteeRequest - Class in me.zhyd.oauth.request
Gitee登录
AuthGiteeRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthGiteeRequest
 
AuthGiteeRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthGiteeRequest
 
AuthGiteeScope - Enum in me.zhyd.oauth.enums.scope
Gitee 平台 OAuth 授权范围
AuthGithubRequest - Class in me.zhyd.oauth.request
Github登录
AuthGithubRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthGithubRequest
 
AuthGithubRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthGithubRequest
 
AuthGithubScope - Enum in me.zhyd.oauth.enums.scope
边度平台 OAuth 授权范围
AuthGitlabRequest - Class in me.zhyd.oauth.request
Gitlab登录
AuthGitlabRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthGitlabRequest
 
AuthGitlabRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthGitlabRequest
 
AuthGitlabScope - Enum in me.zhyd.oauth.enums.scope
Gitlab 平台 OAuth 授权范围
AuthGoogleRequest - Class in me.zhyd.oauth.request
Google登录
AuthGoogleRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthGoogleRequest
 
AuthGoogleRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthGoogleRequest
 
AuthGoogleScope - Enum in me.zhyd.oauth.enums.scope
Google 平台 OAuth 授权范围
AuthHuaweiRequest - Class in me.zhyd.oauth.request
华为授权登录
AuthHuaweiRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthHuaweiRequest
 
AuthHuaweiRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthHuaweiRequest
 
AuthHuaweiScope - Enum in me.zhyd.oauth.enums.scope
华为平台 OAuth 授权范围
AuthJdRequest - Class in me.zhyd.oauth.request
京东登录
AuthJdRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthJdRequest
 
AuthJdRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthJdRequest
 
AuthJdScope - Enum in me.zhyd.oauth.enums.scope
京东平台 OAuth 授权范围
AuthKujialeRequest - Class in me.zhyd.oauth.request
酷家乐授权登录
AuthKujialeRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthKujialeRequest
 
AuthKujialeRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthKujialeRequest
 
AuthKujialeScope - Enum in me.zhyd.oauth.enums.scope
酷家乐平台 OAuth 授权范围
AuthLinkedinRequest - Class in me.zhyd.oauth.request
领英登录
AuthLinkedinRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthLinkedinRequest
 
AuthLinkedinRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthLinkedinRequest
 
AuthLinkedinScope - Enum in me.zhyd.oauth.enums.scope
领英平台 OAuth 授权范围
AuthMeituanRequest - Class in me.zhyd.oauth.request
美团登录
AuthMeituanRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthMeituanRequest
 
AuthMeituanRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthMeituanRequest
 
AuthMicrosoftRequest - Class in me.zhyd.oauth.request
微软登录
AuthMicrosoftRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthMicrosoftRequest
 
AuthMicrosoftRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthMicrosoftRequest
 
AuthMicrosoftScope - Enum in me.zhyd.oauth.enums.scope
微软平台 OAuth 授权范围
AuthMiRequest - Class in me.zhyd.oauth.request
小米登录
AuthMiRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthMiRequest
 
AuthMiRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthMiRequest
 
AuthMiScope - Enum in me.zhyd.oauth.enums.scope
小米平台 OAuth 授权范围
authorize() - Method in interface me.zhyd.oauth.config.AuthSource
授权的api
authorize(String) - Method in class me.zhyd.oauth.request.AuthAlipayRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthBaiduRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthCodingRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize() - Method in class me.zhyd.oauth.request.AuthDefaultRequest
Deprecated.
authorize(String) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthDingTalkRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthElemeRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthFacebookRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthFeishuRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthGiteeRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthGithubRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthGitlabRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthGoogleRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthHuaweiRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthJdRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthKujialeRequest
返回带state参数的授权url,授权回调时会带上这个state 默认只向用户请求用户信息授权
authorize(String) - Method in class me.zhyd.oauth.request.AuthLinkedinRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthMeituanRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthMiRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthPinterestRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthQqRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthRenrenRequest
 
authorize() - Method in interface me.zhyd.oauth.request.AuthRequest
Deprecated.
authorize(String) - Method in interface me.zhyd.oauth.request.AuthRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthStackOverflowRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthTaobaoRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthToutiaoRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthTwitterRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthWeChatEnterpriseQrcodeRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthWeChatEnterpriseWebRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
返回带state参数的授权url,授权回调时会带上这个state
authorize(String) - Method in class me.zhyd.oauth.request.AuthWeiboRequest
 
authorize(String) - Method in class me.zhyd.oauth.request.AuthXmlyRequest
返回带state参数的授权url,授权回调时会带上这个state
AuthOschinaRequest - Class in me.zhyd.oauth.request
oschina登录
AuthOschinaRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthOschinaRequest
 
AuthOschinaRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthOschinaRequest
 
AuthPinterestRequest - Class in me.zhyd.oauth.request
Pinterest登录
AuthPinterestRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthPinterestRequest
 
AuthPinterestRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthPinterestRequest
 
AuthPinterestScope - Enum in me.zhyd.oauth.enums.scope
Pinterest 平台 OAuth 授权范围
AuthQqRequest - Class in me.zhyd.oauth.request
qq登录
AuthQqRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthQqRequest
 
AuthQqRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthQqRequest
 
AuthQqScope - Enum in me.zhyd.oauth.enums.scope
QQ 平台 OAuth 授权范围
AuthRenrenRequest - Class in me.zhyd.oauth.request
人人登录
AuthRenrenRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthRenrenRequest
 
AuthRenrenRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthRenrenRequest
 
AuthRenrenScope - Enum in me.zhyd.oauth.enums.scope
人人平台 OAuth 授权范围
AuthRequest - Interface in me.zhyd.oauth.request
JustAuth Request公共接口,所有平台的Request都需要实现该接口
AuthResponse<T> - Class in me.zhyd.oauth.model
JustAuth统一授权响应类
AuthResponse() - Constructor for class me.zhyd.oauth.model.AuthResponse
 
AuthResponseStatus - Enum in me.zhyd.oauth.enums
JustAuth通用的状态码对照表
AuthScope - Interface in me.zhyd.oauth.enums.scope
各个平台 scope 类的统一接口
AuthScopeUtils - Class in me.zhyd.oauth.utils
Scope 工具类,提供对 scope 类的统一操作
AuthScopeUtils() - Constructor for class me.zhyd.oauth.utils.AuthScopeUtils
 
AuthSource - Interface in me.zhyd.oauth.config
OAuth平台的API地址的统一接口,提供以下方法: 1) AuthSource.authorize(): 获取授权url.
AuthStackOverflowRequest - Class in me.zhyd.oauth.request
Stack Overflow登录
AuthStackOverflowRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthStackOverflowRequest
 
AuthStackOverflowRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthStackOverflowRequest
 
AuthStackoverflowScope - Enum in me.zhyd.oauth.enums.scope
Stackoverflow 平台 OAuth 授权范围
AuthStateCache - Interface in me.zhyd.oauth.cache
State缓存接口,方便用户扩展
authStateCache - Variable in class me.zhyd.oauth.request.AuthDefaultRequest
 
AuthStateUtils - Class in me.zhyd.oauth.utils
AuthState工具类,默认只提供一个创建随机uuid的方法
AuthStateUtils() - Constructor for class me.zhyd.oauth.utils.AuthStateUtils
 
AuthTaobaoRequest - Class in me.zhyd.oauth.request
淘宝登录
AuthTaobaoRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthTaobaoRequest
 
AuthTaobaoRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthTaobaoRequest
 
AuthTeambitionRequest - Class in me.zhyd.oauth.request
Teambition授权登录
AuthTeambitionRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthTeambitionRequest
 
AuthTeambitionRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthTeambitionRequest
 
AuthToken - Class in me.zhyd.oauth.model
授权所需的token
AuthToken() - Constructor for class me.zhyd.oauth.model.AuthToken
 
AuthToutiaoErrorCode - Enum in me.zhyd.oauth.enums
今日头条授权登录时的异常状态码
AuthToutiaoRequest - Class in me.zhyd.oauth.request
今日头条登录
AuthToutiaoRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthToutiaoRequest
 
AuthToutiaoRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthToutiaoRequest
 
AuthTwitterRequest - Class in me.zhyd.oauth.request
Twitter登录
AuthTwitterRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthTwitterRequest
 
AuthTwitterRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthTwitterRequest
 
AuthUser - Class in me.zhyd.oauth.model
授权成功后的用户信息,根据授权平台的不同,获取的数据完整性也不同
AuthUser() - Constructor for class me.zhyd.oauth.model.AuthUser
 
AuthUserGender - Enum in me.zhyd.oauth.enums
用户性别
AuthWeChatEnterpriseQrcodeRequest - Class in me.zhyd.oauth.request
企业微信二维码登录
AuthWeChatEnterpriseQrcodeRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthWeChatEnterpriseQrcodeRequest
 
AuthWeChatEnterpriseQrcodeRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthWeChatEnterpriseQrcodeRequest
 
AuthWeChatEnterpriseWebRequest - Class in me.zhyd.oauth.request
企业微信网页登录
AuthWeChatEnterpriseWebRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthWeChatEnterpriseWebRequest
 
AuthWeChatEnterpriseWebRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthWeChatEnterpriseWebRequest
 
AuthWeChatEnterpriseWebScope - Enum in me.zhyd.oauth.enums.scope
企业自建应用授权范围
AuthWeChatMpRequest - Class in me.zhyd.oauth.request
微信公众平台登录
AuthWeChatMpRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthWeChatMpRequest
 
AuthWeChatMpRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthWeChatMpRequest
 
AuthWechatMpScope - Enum in me.zhyd.oauth.enums.scope
微信公众平台 OAuth 授权范围
AuthWeChatOpenRequest - Class in me.zhyd.oauth.request
微信开放平台登录
AuthWeChatOpenRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthWeChatOpenRequest
 
AuthWeChatOpenRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthWeChatOpenRequest
 
AuthWeiboRequest - Class in me.zhyd.oauth.request
微博登录
AuthWeiboRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthWeiboRequest
 
AuthWeiboRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthWeiboRequest
 
AuthWeiboScope - Enum in me.zhyd.oauth.enums.scope
微博平台 OAuth 授权范围
AuthXmlyRequest - Class in me.zhyd.oauth.request
喜马拉雅登录
AuthXmlyRequest(AuthConfig) - Constructor for class me.zhyd.oauth.request.AuthXmlyRequest
 
AuthXmlyRequest(AuthConfig, AuthStateCache) - Constructor for class me.zhyd.oauth.request.AuthXmlyRequest
 

B

Base64Utils - Class in me.zhyd.oauth.utils
Base64编码
Base64Utils() - Constructor for class me.zhyd.oauth.utils.Base64Utils
 
build() - Method in class me.zhyd.oauth.utils.UrlBuilder
构造url
build(boolean) - Method in class me.zhyd.oauth.utils.UrlBuilder
构造url
bytes(CharSequence, Charset) - Static method in class me.zhyd.oauth.utils.StringUtils
编码字符串

C

cache(String, String) - Method in enum me.zhyd.oauth.cache.AuthDefaultStateCache
存入缓存
cache(String, String, long) - Method in enum me.zhyd.oauth.cache.AuthDefaultStateCache
存入缓存
cache(String, String) - Method in interface me.zhyd.oauth.cache.AuthStateCache
存入缓存
cache(String, String, long) - Method in interface me.zhyd.oauth.cache.AuthStateCache
存入缓存
checkCode(AuthSource, AuthCallback) - Static method in class me.zhyd.oauth.utils.AuthChecker
校验回调传回的code
checkConfig(AuthConfig, AuthSource) - Static method in class me.zhyd.oauth.utils.AuthChecker
检查配置合法性。针对部分平台, 对redirect uri有特定要求。一般来说redirect uri都是http://,而对于facebook平台, redirect uri 必须是https的链接
checkState(String, AuthSource, AuthStateCache) - Static method in class me.zhyd.oauth.utils.AuthChecker
校验回调传回的state,为空或者不存在
config - Variable in class me.zhyd.oauth.request.AuthDefaultRequest
 
containsKey(String) - Method in interface me.zhyd.oauth.cache.AuthCache
是否存在key,如果对应key的value值已过期,也返回false
containsKey(String) - Method in class me.zhyd.oauth.cache.AuthDefaultCache
是否存在key,如果对应key的value值已过期,也返回false
containsKey(String) - Method in enum me.zhyd.oauth.cache.AuthDefaultStateCache
是否存在key,如果对应key的value值已过期,也返回false
containsKey(String) - Method in interface me.zhyd.oauth.cache.AuthStateCache
是否存在key,如果对应key的value值已过期,也返回false
createState() - Static method in class me.zhyd.oauth.utils.AuthStateUtils
生成随机state,采用https://github.com/lets-mica/mica的UUID工具

D

debug(String) - Static method in class me.zhyd.oauth.log.Log
 
debug(String, Throwable) - Static method in class me.zhyd.oauth.log.Log
 
doGetAuthorizationCode(String) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
通用的 authorizationCode 协议
doGetRevoke(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
通用的post形式的取消授权方法
doGetUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
通用的 用户信息
doPostAuthorizationCode(String) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
通用的 authorizationCode 协议
doPostRevoke(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
Deprecated.
doPostUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
Deprecated.

E

encode(byte[], boolean) - Static method in class me.zhyd.oauth.utils.Base64Utils
编码为Base64,非URL安全的
encode(CharSequence) - Static method in class me.zhyd.oauth.utils.Base64Utils
base64编码
encode(CharSequence, Charset) - Static method in class me.zhyd.oauth.utils.Base64Utils
base64编码
encode(byte[]) - Static method in class me.zhyd.oauth.utils.Base64Utils
base64编码
encode(byte[], boolean, boolean) - Static method in class me.zhyd.oauth.utils.Base64Utils
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encodeUrlSafe(byte[], boolean) - Static method in class me.zhyd.oauth.utils.Base64Utils
编码为Base64,URL安全的
encodeUrlSafe(CharSequence) - Static method in class me.zhyd.oauth.utils.Base64Utils
base64编码,URL安全
encodeUrlSafe(CharSequence, Charset) - Static method in class me.zhyd.oauth.utils.Base64Utils
base64编码,URL安全的
encodeUrlSafe(byte[]) - Static method in class me.zhyd.oauth.utils.Base64Utils
base64编码,URL安全的
error(String) - Static method in class me.zhyd.oauth.log.Log
 
error(String, Throwable) - Static method in class me.zhyd.oauth.log.Log
 

F

fromBaseUrl(String) - Static method in class me.zhyd.oauth.utils.UrlBuilder
 

G

generateDingTalkSignature(String, String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
生成钉钉请求的Signature
generateElemeSignature(String, String, long, String, String, Map<String, Object>) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
生成饿了么请求的Signature
generateJdSignature(String, Map<String, Object>) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
生成京东宙斯平台的签名字符串 宙斯签名规则过程如下: 将所有请求参数按照字母先后顺序排列,例如将access_token,app_key,method,timestamp,v 排序为access_token,app_key,method,timestamp,v 1.把所有参数名和参数值进行拼接,例如:access_tokenxxxapp_keyxxxmethodxxxxxxtimestampxxxxxxvx 2.把appSecret夹在字符串的两端,例如:appSecret+XXXX+appSecret 3.使用MD5进行加密,再转化成大写 link: http://open.jd.com/home/home#/doc/common?listId=890 link: https://github.com/pingjiang/jd-open-api-sdk-src/blob/master/src/main/java/com/jd/open/api/sdk/DefaultJdClient.java
generateNonce(int) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
Generate nonce with given length
generateTwitterSignature(Map<String, String>, String, String, String, String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
Generate Twitter signature https://developer.twitter.com/en/docs/basics/authentication/guides/creating-a-signature
generateXmlySignature(Map<String, String>, String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
喜马拉雅签名算法 https://open.ximalaya.com/doc/detailApi?categoryId=6&articleId=69
get(String) - Method in interface me.zhyd.oauth.cache.AuthCache
获取缓存
get(String) - Method in class me.zhyd.oauth.cache.AuthDefaultCache
获取缓存
get(String) - Method in enum me.zhyd.oauth.cache.AuthDefaultStateCache
获取缓存内容
get(String) - Method in interface me.zhyd.oauth.cache.AuthStateCache
获取缓存内容
get(String) - Method in class me.zhyd.oauth.utils.HttpUtils
GET 请求
get(String, Map<String, String>, HttpHeader, boolean) - Method in class me.zhyd.oauth.utils.HttpUtils
GET 请求
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AbstractAuthWeChatEnterpriseRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthAlipayRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthAliyunRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthBaiduRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthCodingRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthCsdnRequest
Deprecated.
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
获取access token
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthDingTalkRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthElemeRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthFacebookRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthFeishuRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthGiteeRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthGithubRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthGitlabRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthGoogleRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthHuaweiRequest
获取access token
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthJdRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthKujialeRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthLinkedinRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthMeituanRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthMiRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthOschinaRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthPinterestRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthQqRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthRenrenRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthStackOverflowRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthTaobaoRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthTeambitionRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthToutiaoRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthTwitterRequest
Convert request token to access token https://developer.twitter.com/en/docs/twitter-for-websites/log-in-with-twitter/guides/implementing-sign-in-with-twitter
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
微信的特殊性,此时返回的信息同时包含 openid 和 access_token
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
微信的特殊性,此时返回的信息同时包含 openid 和 access_token
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthWeiboRequest
 
getAccessToken(AuthCallback) - Method in class me.zhyd.oauth.request.AuthXmlyRequest
获取access token
getAdminDirectoryScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
 
getCalendarScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
View And manage user's calendars in Google Calendar.
getDefaultScopes(AuthScope[]) - Static method in class me.zhyd.oauth.utils.AuthScopeUtils
获取 AuthScope 数组中所有的被标记为 default 的 scope
getDriveScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
List, download, create, move, edit, share and search all of user's documents and files in Google Drive.
getErrorCode(int) - Static method in enum me.zhyd.oauth.enums.AuthToutiaoErrorCode
 
getErrorCode() - Method in exception me.zhyd.oauth.exception.AuthException
 
getErrorMsg() - Method in exception me.zhyd.oauth.exception.AuthException
 
getGmailScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
View And manage user's mail in Gmail.
getGoogleAnalyticsScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
View And manage user's Google Analytics.
getLocalIp() - Static method in class me.zhyd.oauth.utils.IpUtils
获取IP
getName() - Method in interface me.zhyd.oauth.config.AuthSource
获取Source的字符串名字
getOidcScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
Used for OIDC authorization and certification
getPeopleScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
View And manage user's detail and Google Contacts.
getPhotosLibraryScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
View and manage user's photo library.
getReadOnlyParams() - Method in class me.zhyd.oauth.utils.UrlBuilder
只读的参数Map
getRealGender(String) - Static method in enum me.zhyd.oauth.enums.AuthUserGender
获取用户的实际性别,常规网站
getRealState(String) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
获取state,如果为空, 则默认取当前日期的时间戳
getRequestToken() - Method in class me.zhyd.oauth.request.AuthTwitterRequest
Obtaining a request token https://developer.twitter.com/en/docs/twitter-for-websites/log-in-with-twitter/guides/implementing-sign-in-with-twitter
getScope() - Method in interface me.zhyd.oauth.enums.scope.AuthScope
获取字符串 scope,对应为各平台实际使用的 scope
getScopes(String, boolean, List<String>) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
获取以 separator分割过后的 scope 信息
getScopes(AuthScope...) - Static method in class me.zhyd.oauth.utils.AuthScopeUtils
AuthScope 数组中获取实际的 scope 字符串
getTimestamp() - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
Get current timestamp
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AbstractAuthWeChatEnterpriseRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthAlipayRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthAliyunRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthBaiduRequest
https://openapi.baidu.com/rest/2.0/passport/users/getInfo?access_token=121.c86e87cc0828cc1dabb8faee540531d4.YsUIAWvYbgqVni1VhkgKgyLh8nEyELbDOEZs_OA.OgDgmA https://openapi.baidu.com/rest/2.0/passport/users/getInfo?access_token=121.2907d9facf9fb97adf7287fa75496eda.Y3NSjR3-3HKt1RgT0HEl7GgxRXT5gOOVdngXezY.OcC_7g 新旧应用返回的用户信息不一致
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthCodingRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthCsdnRequest
Deprecated.
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
使用token换取用户信息
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthDingTalkRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthElemeRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthFacebookRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthFeishuRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthGiteeRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthGithubRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthGitlabRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthGoogleRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthHuaweiRequest
使用token换取用户信息
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthJdRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthKujialeRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthLinkedinRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthMeituanRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthMiRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthOschinaRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthPinterestRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthQqRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthRenrenRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthStackOverflowRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthTaobaoRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthTeambitionRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthToutiaoRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthTwitterRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeiboRequest
 
getUserInfo(AuthToken) - Method in class me.zhyd.oauth.request.AuthXmlyRequest
使用token换取用户信息
getUUID() - Static method in class me.zhyd.oauth.utils.UuidUtils
生成uuid,采用 jdk 9 的形式,优化性能 copy from mica:https://github.com/lets-mica/mica/blob/master/mica-core/src/main/java/net/dreamlu/mica/core/utils/StringUtil.java#L335
getWechatRealGender(String) - Static method in enum me.zhyd.oauth.enums.AuthUserGender
获取微信平台用户的实际性别,0表示未定义,1表示男性,2表示女性
getYouTubeScopes() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
View And manage user's videos, activity and playlists.
GlobalAuthUtils - Class in me.zhyd.oauth.utils
全局的工具类
GlobalAuthUtils() - Constructor for class me.zhyd.oauth.utils.GlobalAuthUtils
 

H

HttpUtils - Class in me.zhyd.oauth.utils
HttpUtil 工具,统一处理 http 请求,方便对 simple-http 做定制
HttpUtils(HttpConfig) - Constructor for class me.zhyd.oauth.utils.HttpUtils
 
HttpUtils() - Constructor for class me.zhyd.oauth.utils.HttpUtils
 

I

IpUtils - Class in me.zhyd.oauth.utils
获取IP的工具类
IpUtils() - Constructor for class me.zhyd.oauth.utils.IpUtils
 
isDefault() - Method in interface me.zhyd.oauth.enums.scope.AuthScope
判断当前 scope 是否为各平台默认启用的
isEmpty(String) - Static method in class me.zhyd.oauth.utils.StringUtils
 
isHttpProtocol(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
是否为http协议
isHttpsProtocol(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
是否为https协议
isLocalHost(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
是否为本地主机(域名)
isNotEmpty(String) - Static method in class me.zhyd.oauth.utils.StringUtils
 
isSupportedAuth(AuthConfig, AuthSource) - Static method in class me.zhyd.oauth.utils.AuthChecker
是否支持第三方登录

L

Log - Class in me.zhyd.oauth.log
针对JustAuth提供的轻量级的日志打印工具
Log() - Constructor for class me.zhyd.oauth.log.Log
 
Log.Level - Enum in me.zhyd.oauth.log
日志级别
login(AuthCallback) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
统一的登录入口。当通过AuthDefaultRequest.authorize(String)授权成功后,会跳转到调用方的相关回调方法中 方法的入参可以使用AuthCallbackAuthCallback类中封装好了OAuth2授权回调所需要的参数
login(AuthCallback) - Method in interface me.zhyd.oauth.request.AuthRequest
第三方登录

M

md5(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
MD5加密
me.zhyd.oauth - package me.zhyd.oauth
JustAuth,如你所见,它仅仅是一个第三方授权登录的工具类库,它可以让我们脱离繁琐的第三方登录SDK,让登录变得So easy!
me.zhyd.oauth.cache - package me.zhyd.oauth.cache
JustAuth 缓存实现, 提供基础的基于ConcurrentHashMap + ScheduledExecutorService 实现的定时缓存。 同时对外暴露AuthStateCache接口,可进行对缓存实现的自定义。
me.zhyd.oauth.config - package me.zhyd.oauth.config
JustAuth 核心配置相关,包括AuthConfigAuthSource
me.zhyd.oauth.enums - package me.zhyd.oauth.enums
提供一些必要的枚举类
me.zhyd.oauth.enums.scope - package me.zhyd.oauth.enums.scope
各个平台的授权范围
me.zhyd.oauth.exception - package me.zhyd.oauth.exception
JustAuth专用异常封装
me.zhyd.oauth.log - package me.zhyd.oauth.log
针对JustAuth简单封装的日志打印工具,可用过Log.Config开关日志和指定日志级别
me.zhyd.oauth.model - package me.zhyd.oauth.model
JustAuth核心模型类,封装了用户、token、响应和callback等实体类
me.zhyd.oauth.request - package me.zhyd.oauth.request
JustAuth核心组件,所有授权登录都是基于request实现
me.zhyd.oauth.utils - package me.zhyd.oauth.utils
提供一些简单的工具和校验等

O

ok() - Method in class me.zhyd.oauth.model.AuthResponse
是否请求成功

P

parseMapToString(Map<String, String>, boolean) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
map转字符串,转换后的字符串格式为 xxx=xxx&xxx=xxx
parseStringToMap(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
string字符串转map,str格式为 xxx=xxx&xxx=xxx
post(String) - Method in class me.zhyd.oauth.utils.HttpUtils
POST 请求
post(String, String) - Method in class me.zhyd.oauth.utils.HttpUtils
POST 请求
post(String, String, HttpHeader) - Method in class me.zhyd.oauth.utils.HttpUtils
POST 请求
post(String, Map<String, String>, boolean) - Method in class me.zhyd.oauth.utils.HttpUtils
POST 请求
post(String, Map<String, String>, HttpHeader, boolean) - Method in class me.zhyd.oauth.utils.HttpUtils
POST 请求
pruneCache() - Method in interface me.zhyd.oauth.cache.AuthCache
清理过期的缓存
pruneCache() - Method in class me.zhyd.oauth.cache.AuthDefaultCache
清理过期的缓存

Q

queryParam(String, Object) - Method in class me.zhyd.oauth.utils.UrlBuilder
添加参数

R

refresh() - Method in interface me.zhyd.oauth.config.AuthSource
刷新授权的api
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthAlipayRequest
刷新access token (续期)
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthBaiduRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthElemeRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthFeishuRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthHuaweiRequest
刷新access token (续期)
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthJdRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthKujialeRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthMeituanRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
刷新access token (续期)
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthMiRequest
刷新access token (续期)
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthQqRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthRenrenRequest
 
refresh(AuthToken) - Method in interface me.zhyd.oauth.request.AuthRequest
刷新access token (续期)
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthTeambitionRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
 
refresh(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
 
refreshTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
返回获取accessToken的url
refreshTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
返回获取accessToken的url
refreshTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
返回获取accessToken的url
refreshTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
返回获取userInfo的url
refreshTokenUrl(String) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
返回获取userInfo的url
revoke() - Method in interface me.zhyd.oauth.config.AuthSource
取消授权的api
revoke(AuthToken) - Method in class me.zhyd.oauth.request.AuthBaiduRequest
 
revoke(AuthToken) - Method in interface me.zhyd.oauth.request.AuthRequest
撤销授权
revoke(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeiboRequest
 
revokeUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
返回获取revoke authorization的url

S

schedule(Runnable, long) - Method in enum me.zhyd.oauth.cache.AuthCacheScheduler
 
schedulePrune - Static variable in class me.zhyd.oauth.cache.AuthCacheConfig
是否开启定时AuthDefaultCache.pruneCache()的任务
schedulePrune(long) - Method in class me.zhyd.oauth.cache.AuthDefaultCache
定时清理
set(String, String) - Method in interface me.zhyd.oauth.cache.AuthCache
设置缓存
set(String, String, long) - Method in interface me.zhyd.oauth.cache.AuthCache
设置缓存,指定过期时间
set(String, String) - Method in class me.zhyd.oauth.cache.AuthDefaultCache
设置缓存
set(String, String, long) - Method in class me.zhyd.oauth.cache.AuthDefaultCache
设置缓存
shutdown() - Method in enum me.zhyd.oauth.cache.AuthCacheScheduler
 
source - Variable in class me.zhyd.oauth.request.AuthDefaultRequest
 
str(byte[], Charset) - Static method in class me.zhyd.oauth.utils.StringUtils
解码字节码
StringUtils - Class in me.zhyd.oauth.utils
 
StringUtils() - Constructor for class me.zhyd.oauth.utils.StringUtils
 

T

timeout - Static variable in class me.zhyd.oauth.cache.AuthCacheConfig
默认缓存过期时间:3分钟 鉴于授权过程中,根据个人的操作习惯,或者授权平台的不同(google等),每个授权流程的耗时也有差异,不过单个授权流程一般不会太长 本缓存工具默认的过期时间设置为3分钟,即程序默认认为3分钟内的授权有效,超过3分钟则默认失效,失效后删除

U

UrlBuilder - Class in me.zhyd.oauth.utils
构造URL
urlDecode(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
解码
urlEncode(String) - Static method in class me.zhyd.oauth.utils.GlobalAuthUtils
编码
userInfo() - Method in interface me.zhyd.oauth.config.AuthSource
获取用户信息的api
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AbstractAuthWeChatEnterpriseRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthCodingRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthDefaultRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthDingTalkRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthDouyinRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthFacebookRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthGoogleRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthHuaweiRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthLinkedinRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthMicrosoftRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthMiRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthOschinaRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthPinterestRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthQqRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthRenrenRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthToutiaoRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthTwitterRequest
 
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeChatMpRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeChatOpenRequest
返回获取userInfo的url
userInfoUrl(AuthToken) - Method in class me.zhyd.oauth.request.AuthWeiboRequest
返回获取userInfo的url
UuidUtils - Class in me.zhyd.oauth.utils
高性能的创建UUID的工具类,https://github.com/lets-mica/mica
UuidUtils() - Constructor for class me.zhyd.oauth.utils.UuidUtils
 

V

valueOf(String) - Static method in enum me.zhyd.oauth.cache.AuthCacheScheduler
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.cache.AuthDefaultStateCache
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.config.AuthDefaultSource
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.AuthResponseStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.AuthToutiaoErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.AuthUserGender
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthBaiduScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthCodingScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthFacebookScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthGiteeScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthGithubScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthGitlabScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthHuaweiScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthJdScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthKujialeScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthLinkedinScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthMicrosoftScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthMiScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthPinterestScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthQqScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthRenrenScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthStackoverflowScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthWeChatEnterpriseWebScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthWechatMpScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.enums.scope.AuthWeiboScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.zhyd.oauth.log.Log.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.zhyd.oauth.cache.AuthCacheScheduler
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.cache.AuthDefaultStateCache
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.config.AuthDefaultSource
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.AuthResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.AuthToutiaoErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.AuthUserGender
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthBaiduScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthCodingScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthFacebookScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthGiteeScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthGithubScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthGitlabScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthGoogleScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthHuaweiScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthJdScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthKujialeScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthLinkedinScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthMicrosoftScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthMiScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthPinterestScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthQqScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthRenrenScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthStackoverflowScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthWeChatEnterpriseWebScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthWechatMpScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.enums.scope.AuthWeiboScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.zhyd.oauth.log.Log.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String) - Static method in class me.zhyd.oauth.log.Log
 
warn(String, Throwable) - Static method in class me.zhyd.oauth.log.Log
 
A B C D E F G H I L M O P Q R S T U V W 
Skip navigation links

Copyright © 2021. All rights reserved.