Package me.zhyd.oauth.request
Class AuthAliyunRequest
java.lang.Object
me.zhyd.oauth.request.AuthDefaultRequest
me.zhyd.oauth.request.AuthAliyunRequest
- All Implemented Interfaces:
AuthRequest
阿里云登录
- Since:
- 1.15.5
- Author:
- snippet0809 (https://github.com/snippet0809)
-
Field Summary
Fields inherited from class me.zhyd.oauth.request.AuthDefaultRequest
authStateCache, config, source -
Constructor Summary
ConstructorsConstructorDescriptionAuthAliyunRequest(AuthConfig config) AuthAliyunRequest(AuthConfig config, AuthStateCache authStateCache) -
Method Summary
Modifier and TypeMethodDescriptiongetAccessToken(AuthCallback authCallback) 获取access tokengetUserInfo(AuthToken authToken) 使用token换取用户信息Methods inherited from class me.zhyd.oauth.request.AuthDefaultRequest
accessTokenUrl, authorize, authorize, checkCode, checkConfig, doGetAuthorizationCode, doGetRevoke, doGetUserInfo, doPostAuthorizationCode, doPostRevoke, doPostUserInfo, getRealState, getScopes, login, refreshTokenUrl, responseError, revokeUrl, userInfoUrlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.zhyd.oauth.request.AuthRequest
refresh, revoke
-
Constructor Details
-
AuthAliyunRequest
-
AuthAliyunRequest
-
-
Method Details
-
getAccessToken
Description copied from interface:AuthRequest获取access token- Parameters:
authCallback- 授权成功后的回调参数- Returns:
- token
- See Also:
-
getUserInfo
Description copied from interface:AuthRequest使用token换取用户信息- Parameters:
authToken- token信息- Returns:
- 用户信息
- See Also:
-