public class SdkTicketApi extends Object
| Modifier and Type | Field and Description |
|---|---|
private AgentDetails |
agentDetails |
private static AlternativeJdkIdGenerator |
ID_GENERATOR |
private JsApi |
jsApi |
private static String |
SIGNATURE_FORMATTER |
private WeComAgentTicketCacheable |
weComAgentTicketCacheable |
| Constructor and Description |
|---|
SdkTicketApi(WorkWeChatApiClient workWeChatApiClient,
WeComAgentTicketCacheable weComAgentTicketCacheable) |
| Modifier and Type | Method and Description |
|---|---|
AgentConfigResponse |
agentTicket(String url)
Agent ticket js ticket response.
|
CorpConfigResponse |
corpTicket(String url)
Corp ticket js ticket response.
|
private JSignatureResponse |
sha1(String ticket,
String url) |
private static final String SIGNATURE_FORMATTER
private static final AlternativeJdkIdGenerator ID_GENERATOR
private final AgentDetails agentDetails
private final JsApi jsApi
private final WeComAgentTicketCacheable weComAgentTicketCacheable
SdkTicketApi(WorkWeChatApiClient workWeChatApiClient, WeComAgentTicketCacheable weComAgentTicketCacheable)
public CorpConfigResponse corpTicket(String url)
url - the urlpublic AgentConfigResponse agentTicket(String url)
url - the urlprivate JSignatureResponse sha1(String ticket, String url)
Copyright © 2023. All rights reserved.