Package com.foxinmy.weixin4j.token
Class PerTicketManager
- java.lang.Object
-
- com.foxinmy.weixin4j.token.TicketManager
-
- com.foxinmy.weixin4j.token.PerTicketManager
-
public class PerTicketManager extends TicketManager
第三方应用永久授权码的存取- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description PerTicketManager(String authAppId, String thirdId, String thirdSecret, CacheStorager<Token> cacheStorager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthAppId()
String
getCacheKey()
获取永久授权码的key-
Methods inherited from class com.foxinmy.weixin4j.token.TicketManager
cachingTicket, getAccessTicket, getCacheStorager, getThirdId, getThirdSecret, getTicket
-
-
-
-
Constructor Detail
-
PerTicketManager
public PerTicketManager(String authAppId, String thirdId, String thirdSecret, CacheStorager<Token> cacheStorager)
-
-
Method Detail
-
getCacheKey
public String getCacheKey()
获取永久授权码的key- Overrides:
getCacheKey
in classTicketManager
- Returns:
-
getAuthAppId
public String getAuthAppId()
-
-