| Package | Description |
|---|---|
| cn.felord.mp.retrofit |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTokenApi
The type Token api.
|
class |
AccessTokenApi
获取 access_token
|
| Modifier and Type | Field and Description |
|---|---|
private TokenApi |
TokenInterceptor.tokenApi |
| Modifier and Type | Method and Description |
|---|---|
static <T extends TokenApi> |
WechatMpRetrofitFactory.create(T tokenApi,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level)
带TokenApi拦截器的Retrofit客户端
|
| Modifier and Type | Method and Description |
|---|---|
private static okhttp3.OkHttpClient |
WechatMpRetrofitFactory.okHttpClient(TokenApi tokenApi,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level) |
| Constructor and Description |
|---|
TokenInterceptor(TokenApi tokenApi)
Instantiates a new Token interceptor.
|
Copyright © 2024. All rights reserved.