public class AuthTeambitionRequest extends AuthDefaultRequest
authStateCache, config, source| 构造器和说明 |
|---|
AuthTeambitionRequest(AuthConfig config) |
AuthTeambitionRequest(AuthConfig config,
AuthStateCache authStateCache) |
| 限定符和类型 | 方法和说明 |
|---|---|
AuthToken |
getAccessToken(AuthCallback authCallback)
获取access token
|
AuthUser |
getUserInfo(AuthToken authToken)
使用token换取用户信息
|
AuthResponse<AuthToken> |
refresh(AuthToken oldToken)
刷新access token (续期)
|
accessTokenUrl, authorize, authorize, checkCode, checkConfig, 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)
public AuthToken getAccessToken(AuthCallback authCallback)
AuthRequestauthCallback - 回调返回的参数AuthDefaultRequest.authorize(),
AuthDefaultRequest.authorize(String)public AuthUser getUserInfo(AuthToken authToken)
AuthRequestauthToken - token信息AuthRequest.getAccessToken(AuthCallback)public AuthResponse<AuthToken> refresh(AuthToken oldToken)
AuthRequestoldToken - 登录成功后返回的Token信息Copyright © 2024. All rights reserved.