Package | Description |
---|---|
me.zhyd.oauth.request |
JustAuth核心组件,所有授权登录都是基于
request 实现 |
me.zhyd.oauth.utils |
提供一些简单的工具和校验等
|
Modifier and Type | Method and Description |
---|---|
protected AuthToken |
AuthBaiduRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthCodingRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthLinkedinRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthMiRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthQqRequest.getAccessToken(AuthCallback authCallback) |
AuthToken |
AuthKujialeRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthCsdnRequest.getAccessToken(AuthCallback authCallback)
Deprecated.
|
protected AuthToken |
AuthElemeRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthOschinaRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthHuaweiRequest.getAccessToken(AuthCallback authCallback)
获取access token
|
protected AuthToken |
AuthAliyunRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthRenrenRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthJdRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthFacebookRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthLineRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AbstractAuthWeChatEnterpriseRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AbstractAuthDingtalkRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthMeituanRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthTaobaoRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthXmlyRequest.getAccessToken(AuthCallback authCallback)
获取access token
|
protected AuthToken |
AuthGoogleRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthWeChatEnterpriseThirdQrcodeRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthPinterestRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthAmazonRequest.getAccessToken(AuthCallback authCallback)
https://developer.amazon.com/zh/docs/login-with-amazon/authorization-code-grant.html#access-token-request
|
protected AuthToken |
AuthTeambitionRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthMicrosoftRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthProginnRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthSlackRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthWeChatMpRequest.getAccessToken(AuthCallback authCallback)
微信的特殊性,此时返回的信息同时包含 openid 和 access_token
|
protected AuthToken |
AuthFeishuRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthWeiboRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthStackOverflowRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthToutiaoRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthOktaRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthTwitterRequest.getAccessToken(AuthCallback authCallback)
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
|
protected AuthToken |
AuthWeChatOpenRequest.getAccessToken(AuthCallback authCallback)
微信的特殊性,此时返回的信息同时包含 openid 和 access_token
|
protected AuthToken |
AuthAlipayRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthGithubRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthGitlabRequest.getAccessToken(AuthCallback authCallback) |
protected abstract AuthToken |
AuthDefaultRequest.getAccessToken(AuthCallback authCallback)
获取access token
|
protected AuthToken |
AuthGiteeRequest.getAccessToken(AuthCallback authCallback) |
protected AuthToken |
AuthDouyinRequest.getAccessToken(AuthCallback authCallback) |
AuthResponse |
AuthWeChatEnterpriseThirdQrcodeRequest.login(AuthCallback authCallback) |
AuthResponse |
AuthDefaultRequest.login(AuthCallback authCallback)
统一的登录入口。当通过
AuthDefaultRequest.authorize(String) 授权成功后,会跳转到调用方的相关回调方法中
方法的入参可以使用AuthCallback ,AuthCallback 类中封装好了OAuth2授权回调所需要的参数 |
default AuthResponse |
AuthRequest.login(AuthCallback authCallback)
第三方登录
|
Modifier and Type | Method and Description |
---|---|
static void |
AuthChecker.checkCode(AuthSource source,
AuthCallback callback)
校验回调传回的code
|
Copyright © 2021. All rights reserved.