me.chanjar.weixin.cp.api

## 接口 WxCpConfigStorage

所有已知实现类:
  WxCpInMemoryConfigStorage, WxCpJedisConfigStorage

    public interface WxCpConfigStorage

微信客户端配置存储

作者:
  Daniel Qian

### 方法概要

方法
`void` `expireAccessToken()` 强制将access token过期掉
`void` `expireJsapiTicket()` 强制将jsapi ticket过期掉
`String` `getAccessToken()`
`String` `getAesKey()`
`Integer` `getAgentId()`
`ApacheHttpClientBuilder` `getApacheHttpClientBuilder()` http client builder
`String` `getCorpId()`
`String` `getCorpSecret()`
`long` `getExpiresTime()`
`String` `getHttpProxyHost()`
`String` `getHttpProxyPassword()`
`int` `getHttpProxyPort()`
`String` `getHttpProxyUsername()`
`String` `getJsapiTicket()`
`String` `getOauth2redirectUri()`
`File` `getTmpDirFile()`
`String` `getToken()`
`boolean` `isAccessTokenExpired()`
`boolean` `isJsapiTicketExpired()`
`void` `updateAccessToken(String accessToken, int expiresIn)`
`void` `updateAccessToken(WxAccessToken accessToken)`
`void` `updateJsapiTicket(String jsapiTicket, int expiresInSeconds)` 应该是线程安全的

### 方法详细资料

#### getAccessToken

    String getAccessToken()

#### isAccessTokenExpired

    boolean isAccessTokenExpired()

#### expireAccessToken

    void expireAccessToken()

强制将access token过期掉

#### updateAccessToken

    void updateAccessToken(WxAccessToken accessToken)

#### updateAccessToken

    void updateAccessToken(String accessToken,
                         int expiresIn)

#### getJsapiTicket

    String getJsapiTicket()

#### isJsapiTicketExpired

    boolean isJsapiTicketExpired()

#### expireJsapiTicket

    void expireJsapiTicket()

强制将jsapi ticket过期掉

#### updateJsapiTicket

    void updateJsapiTicket(String jsapiTicket,
                         int expiresInSeconds)

应该是线程安全的

参数:
  `jsapiTicket` -

#### getCorpId

    String getCorpId()

#### getCorpSecret

    String getCorpSecret()

#### getAgentId

    Integer getAgentId()

#### getToken

    String getToken()

#### getAesKey

    String getAesKey()

#### getExpiresTime

    long getExpiresTime()

#### getOauth2redirectUri

    String getOauth2redirectUri()

#### getHttpProxyHost

    String getHttpProxyHost()

#### getHttpProxyPort

    int getHttpProxyPort()

#### getHttpProxyUsername

    String getHttpProxyUsername()

#### getHttpProxyPassword

    String getHttpProxyPassword()

#### getTmpDirFile

    File getTmpDirFile()

#### getApacheHttpClientBuilder

    ApacheHttpClientBuilder getApacheHttpClientBuilder()

http client builder

返回:
  ApacheHttpClientBuilder