public class AuthAliyunRequest extends AuthDefaultRequest
authStateCache, config, source
Constructor and Description |
---|
AuthAliyunRequest(AuthConfig config) |
AuthAliyunRequest(AuthConfig config,
AuthStateCache authStateCache) |
Modifier and Type | Method and Description |
---|---|
protected AuthToken |
getAccessToken(AuthCallback authCallback)
获取access token
|
protected AuthUser |
getUserInfo(AuthToken authToken)
使用token换取用户信息
|
accessTokenUrl, authorize, authorize, doGetAuthorizationCode, doGetRevoke, doGetUserInfo, doPostAuthorizationCode, doPostRevoke, doPostUserInfo, getRealState, getScopes, login, refreshTokenUrl, revokeUrl, userInfoUrl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
refresh, revoke
public AuthAliyunRequest(AuthConfig config)
public AuthAliyunRequest(AuthConfig config, AuthStateCache authStateCache)
protected AuthToken getAccessToken(AuthCallback authCallback)
AuthDefaultRequest
getAccessToken
in class AuthDefaultRequest
authCallback
- 授权成功后的回调参数AuthDefaultRequest.authorize()
,
AuthDefaultRequest.authorize(String)
protected AuthUser getUserInfo(AuthToken authToken)
AuthDefaultRequest
getUserInfo
in class AuthDefaultRequest
authToken
- token信息AuthDefaultRequest.getAccessToken(AuthCallback)
Copyright © 2021. All rights reserved.