Package com.twitter.clientlib.api
Class ApiCommon
- java.lang.Object
-
- com.twitter.clientlib.api.ApiCommon
-
- Direct Known Subclasses:
BookmarksApi,ComplianceApi,GeneralApi,ListsApi,SpacesApi,TweetsApi,UsersApi
public class ApiCommon extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ApiClientlocalVarApiClient
-
Constructor Summary
Constructors Constructor Description ApiCommon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisOAUth2AutoRefreshToken()protected String[]reduceAuthNames(String[] localVarAuthNames)protected com.github.scribejava.core.model.OAuth2AccessTokenrefreshToken()voidsetClient(ApiClient apiClient)
-
-
-
Field Detail
-
localVarApiClient
protected ApiClient localVarApiClient
-
-
Method Detail
-
setClient
public void setClient(ApiClient apiClient)
-
refreshToken
protected com.github.scribejava.core.model.OAuth2AccessToken refreshToken() throws ApiException- Throws:
ApiException
-
isOAUth2AutoRefreshToken
protected boolean isOAUth2AutoRefreshToken()
-
-