com.foxinmy.weixin4j.token
Class PerTicketManager

java.lang.Object
  extended by com.foxinmy.weixin4j.token.TicketManager
      extended by com.foxinmy.weixin4j.token.PerTicketManager

public class PerTicketManager
extends TicketManager

第三方应用永久授权码的存取

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)

Constructor Summary
PerTicketManager(String authAppId, String thirdId, String thirdSecret, CacheStorager<Token> cacheStorager)
           
 
Method Summary
 String getAuthAppId()
           
 String getCacheKey()
          获取永久授权码的key
 
Methods inherited from class com.foxinmy.weixin4j.token.TicketManager
cachingTicket, getAccessTicket, getCacheStorager, getThirdId, getThirdSecret, getTicket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerTicketManager

public PerTicketManager(String authAppId,
                        String thirdId,
                        String thirdSecret,
                        CacheStorager<Token> cacheStorager)
Method Detail

getCacheKey

public String getCacheKey()
获取永久授权码的key

Overrides:
getCacheKey in class TicketManager
Returns:

getAuthAppId

public String getAuthAppId()


Copyright © 2014–2017. All rights reserved.