Package | Description |
---|---|
me.zhyd.oauth.request |
JustAuth核心组件,所有授权登录都是基于
request 实现 |
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) |
AuthToken |
AuthTwitterRequest.getRequestToken()
Obtaining a request token
https://developer.twitter.com/en/docs/twitter-for-websites/log-in-with-twitter/guides/implementing-sign-in-with-twitter
|
Modifier and Type | Method and Description |
---|---|
protected String |
AuthDefaultRequest.doGetRevoke(AuthToken authToken)
通用的post形式的取消授权方法
|
protected String |
AuthWeChatEnterpriseThirdQrcodeRequest.doGetUserInfo(AuthToken authToken) |
protected String |
AuthDefaultRequest.doGetUserInfo(AuthToken authToken)
通用的 用户信息
|
protected String |
AuthDefaultRequest.doPostRevoke(AuthToken authToken)
Deprecated.
|
protected String |
AuthDefaultRequest.doPostUserInfo(AuthToken authToken)
Deprecated.
|
protected AuthUser |
AuthBaiduRequest.getUserInfo(AuthToken authToken)
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
新旧应用返回的用户信息不一致
|
protected AuthUser |
AuthCodingRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthLinkedinRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthMiRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthQqRequest.getUserInfo(AuthToken authToken) |
AuthUser |
AuthKujialeRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthCsdnRequest.getUserInfo(AuthToken authToken)
Deprecated.
|
protected AuthUser |
AuthElemeRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthOschinaRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthHuaweiRequest.getUserInfo(AuthToken authToken)
使用token换取用户信息
|
protected AuthUser |
AuthAliyunRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthRenrenRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthJdRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthFacebookRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthLineRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AbstractAuthWeChatEnterpriseRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AbstractAuthDingtalkRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthMeituanRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthTaobaoRequest.getUserInfo(AuthToken authToken) |
AuthUser |
AuthXmlyRequest.getUserInfo(AuthToken authToken)
使用token换取用户信息
|
protected AuthUser |
AuthGoogleRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthWeChatEnterpriseThirdQrcodeRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthPinterestRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthAmazonRequest.getUserInfo(AuthToken authToken)
https://developer.amazon.com/zh/docs/login-with-amazon/obtain-customer-profile.html#call-profile-endpoint
|
protected AuthUser |
AuthTeambitionRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthMicrosoftRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthProginnRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthSlackRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthWeChatMpRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthFeishuRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthWeiboRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthStackOverflowRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthToutiaoRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthOktaRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthTwitterRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthWeChatOpenRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthAlipayRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthGithubRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthGitlabRequest.getUserInfo(AuthToken authToken) |
protected abstract AuthUser |
AuthDefaultRequest.getUserInfo(AuthToken authToken)
使用token换取用户信息
|
protected AuthUser |
AuthGiteeRequest.getUserInfo(AuthToken authToken) |
protected AuthUser |
AuthDouyinRequest.getUserInfo(AuthToken authToken) |
AuthResponse |
AuthBaiduRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthMiRequest.refresh(AuthToken authToken)
刷新access token (续期)
|
AuthResponse |
AuthQqRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthKujialeRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthElemeRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthHuaweiRequest.refresh(AuthToken authToken)
刷新access token (续期)
|
AuthResponse |
AuthRenrenRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthJdRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthLineRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthMeituanRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthTaobaoRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthAmazonRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthTeambitionRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthMicrosoftRequest.refresh(AuthToken authToken)
刷新access token (续期)
|
AuthResponse |
AuthWeChatMpRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthFeishuRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthOktaRequest.refresh(AuthToken authToken) |
AuthResponse |
AuthWeChatOpenRequest.refresh(AuthToken oldToken) |
AuthResponse |
AuthAlipayRequest.refresh(AuthToken authToken)
刷新access token (续期)
|
AuthResponse |
AuthDouyinRequest.refresh(AuthToken oldToken) |
default AuthResponse |
AuthRequest.refresh(AuthToken authToken)
刷新access token (续期)
|
AuthResponse |
AuthBaiduRequest.revoke(AuthToken authToken) |
AuthResponse |
AuthLineRequest.revoke(AuthToken authToken) |
AuthResponse |
AuthSlackRequest.revoke(AuthToken authToken) |
AuthResponse |
AuthWeiboRequest.revoke(AuthToken authToken) |
AuthResponse |
AuthOktaRequest.revoke(AuthToken authToken) |
default AuthResponse |
AuthRequest.revoke(AuthToken authToken)
撤销授权
|
protected String |
AuthOktaRequest.revokeUrl(AuthToken authToken) |
protected String |
AuthDefaultRequest.revokeUrl(AuthToken authToken)
返回获取revoke authorization的url
|
String |
AuthCodingRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthLinkedinRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthMiRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthQqRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthOschinaRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthHuaweiRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthRenrenRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthFacebookRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
String |
AuthLineRequest.userInfoUrl(AuthToken authToken) |
protected String |
AbstractAuthWeChatEnterpriseRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AbstractAuthDingtalkRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthGoogleRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthWeChatEnterpriseThirdQrcodeRequest.userInfoUrl(AuthToken authToken) |
protected String |
AuthPinterestRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthAmazonRequest.userInfoUrl(AuthToken authToken) |
protected String |
AuthMicrosoftRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
String |
AuthSlackRequest.userInfoUrl(AuthToken authToken) |
protected String |
AuthWeChatMpRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthWeiboRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthToutiaoRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
String |
AuthOktaRequest.userInfoUrl(AuthToken authToken) |
protected String |
AuthTwitterRequest.userInfoUrl(AuthToken authToken) |
protected String |
AuthWeChatOpenRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthDefaultRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
protected String |
AuthDouyinRequest.userInfoUrl(AuthToken authToken)
返回获取userInfo的url
|
Copyright © 2021. All rights reserved.