Package com.foxinmy.weixin4j.qy.suite
Class WeixinSuitePreCodeCreator
- java.lang.Object
-
- com.foxinmy.weixin4j.token.TokenCreator
-
- com.foxinmy.weixin4j.qy.suite.WeixinSuitePreCodeCreator
-
- All Implemented Interfaces:
com.foxinmy.weixin4j.cache.CacheCreator<com.foxinmy.weixin4j.model.Token>
public class WeixinSuitePreCodeCreator extends com.foxinmy.weixin4j.token.TokenCreator
微信企业号应用套件预授权码创建- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
-
获取应用套件预授权码,
Token
-
-
Constructor Summary
Constructors Constructor Description WeixinSuitePreCodeCreator(com.foxinmy.weixin4j.token.TokenManager suiteTokenManager, String suiteId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.foxinmy.weixin4j.model.Token
create()
String
name()
String
uniqueid()
-
-
-
Constructor Detail
-
WeixinSuitePreCodeCreator
public WeixinSuitePreCodeCreator(com.foxinmy.weixin4j.token.TokenManager suiteTokenManager, String suiteId)
- Parameters:
suiteTokenManager
- 应用套件的tokensuiteId
- 应用套件ID
-
-
Method Detail
-
name
public String name()
- Specified by:
name
in classcom.foxinmy.weixin4j.token.TokenCreator
-
uniqueid
public String uniqueid()
- Specified by:
uniqueid
in classcom.foxinmy.weixin4j.token.TokenCreator
-
create
public com.foxinmy.weixin4j.model.Token create() throws com.foxinmy.weixin4j.exception.WeixinException
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
-