public interface WxCpTpConfigStorage
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
autoRefreshToken()
是否自动刷新token
|
void |
expireSuiteAccessToken()
强制将suite access token过期掉.
|
void |
expireSuiteTicket()
强制将suite ticket过期掉.
|
String |
getAesKey() |
ApacheHttpClientBuilder |
getApacheHttpClientBuilder()
http client builder.
|
String |
getApiUrl(String path)
读取企业微信 API Url.
|
String |
getCorpId() |
String |
getCorpSecret() |
long |
getExpiresTime() |
String |
getHttpProxyHost() |
String |
getHttpProxyPassword() |
int |
getHttpProxyPort() |
String |
getHttpProxyUsername() |
String |
getSuiteAccessToken() |
String |
getSuiteId() |
String |
getSuiteSecret() |
String |
getSuiteTicket() |
File |
getTmpDirFile() |
String |
getToken() |
boolean |
isSuiteAccessTokenExpired() |
boolean |
isSuiteTicketExpired() |
void |
setBaseApiUrl(String baseUrl)
设置企业微信服务器 baseUrl.
|
void |
updateSuiteAccessToken(String suiteAccessToken,
int expiresIn) |
void |
updateSuiteAccessToken(WxAccessToken suiteAccessToken) |
void |
updateSuiteTicket(String suiteTicket,
int expiresInSeconds)
应该是线程安全的.
|
void setBaseApiUrl(String baseUrl)
baseUrl - 企业微信服务器 UrlString getSuiteAccessToken()
boolean isSuiteAccessTokenExpired()
void expireSuiteAccessToken()
void updateSuiteAccessToken(WxAccessToken suiteAccessToken)
void updateSuiteAccessToken(String suiteAccessToken, int expiresIn)
String getSuiteTicket()
boolean isSuiteTicketExpired()
void expireSuiteTicket()
void updateSuiteTicket(String suiteTicket, int expiresInSeconds)
String getCorpId()
String getCorpSecret()
String getSuiteId()
String getSuiteSecret()
String getToken()
String getAesKey()
long getExpiresTime()
String getHttpProxyHost()
int getHttpProxyPort()
String getHttpProxyUsername()
String getHttpProxyPassword()
File getTmpDirFile()
ApacheHttpClientBuilder getApacheHttpClientBuilder()
boolean autoRefreshToken()
Copyright © 2020. All rights reserved.