public class DownStreamTokenApi extends AbstractTokenApi
| Modifier and Type | Field and Description |
|---|---|
private static DownStreamAccessTokenApi |
DOWNSTREAM_TOKEN_API |
| Constructor and Description |
|---|
DownStreamTokenApi(WeComTokenCacheable wecomCacheable,
DownStreamDetails agentDetails)
Instantiates a new Token api.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
doGetToken(AgentDetails agentDetails)
Do get token string.
|
clearToken, getAgentDetails, getToken, getWecomCacheableprivate static final DownStreamAccessTokenApi DOWNSTREAM_TOKEN_API
public DownStreamTokenApi(WeComTokenCacheable wecomCacheable, DownStreamDetails agentDetails)
wecomCacheable - the wecom cacheableagentDetails - the agent detailsprotected String doGetToken(AgentDetails agentDetails)
AbstractTokenApidoGetToken in class AbstractTokenApiagentDetails - the agent detailsCopyright © 2025. All rights reserved.