public class AuthTeambitionRequest extends AuthDefaultRequest
authStateCache, config, source| Constructor and Description |
|---|
AuthTeambitionRequest(AuthConfig config) |
AuthTeambitionRequest(AuthConfig config,
AuthStateCache authStateCache) |
| Modifier and Type | Method and Description |
|---|---|
protected AuthToken |
getAccessToken(AuthCallback authCallback)
获取access token
|
protected AuthUser |
getUserInfo(AuthToken authToken)
使用token换取用户信息
|
AuthResponse |
refresh(AuthToken oldToken)
刷新access token (续期)
|
accessTokenUrl, authorize, authorize, doGetAuthorizationCode, doGetRevoke, doGetUserInfo, doPostAuthorizationCode, doPostRevoke, doPostUserInfo, getRealState, getScopes, login, refreshTokenUrl, revokeUrl, userInfoUrlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrevokepublic AuthTeambitionRequest(AuthConfig config)
public AuthTeambitionRequest(AuthConfig config, AuthStateCache authStateCache)
protected AuthToken getAccessToken(AuthCallback authCallback)
AuthDefaultRequestgetAccessToken in class AuthDefaultRequestauthCallback - 回调返回的参数AuthDefaultRequest.authorize(),
AuthDefaultRequest.authorize(String)protected AuthUser getUserInfo(AuthToken authToken)
AuthDefaultRequestgetUserInfo in class AuthDefaultRequestauthToken - token信息AuthDefaultRequest.getAccessToken(AuthCallback)public AuthResponse refresh(AuthToken oldToken)
AuthRequestoldToken - 登录成功后返回的Token信息Copyright © 2021. All rights reserved.