public interface WxOpenComponentService
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
API_AUTHORIZER_TOKEN_URL |
static String |
API_COMPONENT_TOKEN_URL |
static String |
API_CREATE_PREAUTHCODE_URL |
static String |
API_GET_AUTHORIZER_INFO_URL |
static String |
API_GET_AUTHORIZER_OPTION_URL |
static String |
API_QUERY_AUTH_URL |
static String |
API_SET_AUTHORIZER_OPTION_URL |
static String |
COMPONENT_LOGIN_PAGE_URL |
static String |
CONNECT_OAUTH2_AUTHORIZE_URL |
static String |
MINIAPP_JSCODE_2_SESSION |
static String |
OAUTH2_ACCESS_TOKEN_URL
用code换取oauth2的access token
|
static String |
OAUTH2_REFRESH_TOKEN_URL
刷新oauth2的access token
|
static final String OAUTH2_ACCESS_TOKEN_URL
static final String OAUTH2_REFRESH_TOKEN_URL
WxMpService getWxMpServiceByAppid(String appid)
WxMaService getWxMaServiceByAppid(String appid)
WxOpenConfigStorage getWxOpenConfigStorage()
String getComponentAccessToken(boolean forceRefresh) throws WxErrorException
WxErrorExceptionString getPreAuthUrl(String redirectURI) throws WxErrorException
WxErrorExceptionString route(WxOpenXmlMessage wxMessage) throws WxErrorException
WxErrorExceptionWxOpenQueryAuthResult getQueryAuth(String authorizationCode) throws WxErrorException
WxErrorExceptionWxOpenAuthorizerInfoResult getAuthorizerInfo(String authorizerAppid) throws WxErrorException
WxErrorExceptionWxOpenAuthorizerOptionResult getAuthorizerOption(String authorizerAppid, String optionName) throws WxErrorException
WxErrorExceptionvoid setAuthorizerOption(String authorizerAppid, String optionName, String optionValue) throws WxErrorException
WxErrorExceptionString getAuthorizerAccessToken(String appid, boolean forceRefresh) throws WxErrorException
WxErrorExceptionWxMpOAuth2AccessToken oauth2getAccessToken(String appid, String code) throws WxErrorException
WxErrorExceptionboolean checkSignature(String appId, String timestamp, String nonce, String signature)
WxMpOAuth2AccessToken oauth2refreshAccessToken(String appid, String refreshToken) throws WxErrorException
WxErrorExceptionString oauth2buildAuthorizationUrl(String appid, String redirectURI, String scope, String state)
WxMaJscode2SessionResult miniappJscode2Session(String appid, String jsCode, String appId) throws WxErrorException
WxErrorExceptionCopyright © 2018. All rights reserved.