public class WxOpenComponentServiceImpl extends Object implements WxOpenComponentService
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
log |
API_AUTHORIZER_TOKEN_URL, API_COMPONENT_TOKEN_URL, API_CREATE_PREAUTHCODE_URL, API_GET_AUTHORIZER_INFO_URL, API_GET_AUTHORIZER_OPTION_URL, API_QUERY_AUTH_URL, API_SET_AUTHORIZER_OPTION_URL, COMPONENT_LOGIN_PAGE_URL, CONNECT_OAUTH2_AUTHORIZE_URL, MINIAPP_JSCODE_2_SESSION, OAUTH2_ACCESS_TOKEN_URL, OAUTH2_REFRESH_TOKEN_URL| 构造器和说明 |
|---|
WxOpenComponentServiceImpl(WxOpenService wxOpenService) |
public WxOpenComponentServiceImpl(WxOpenService wxOpenService)
public WxMpService getWxMpServiceByAppid(String appId)
getWxMpServiceByAppid 在接口中 WxOpenComponentServicepublic WxMaService getWxMaServiceByAppid(String appId)
getWxMaServiceByAppid 在接口中 WxOpenComponentServicepublic WxOpenService getWxOpenService()
public WxOpenConfigStorage getWxOpenConfigStorage()
getWxOpenConfigStorage 在接口中 WxOpenComponentServicepublic boolean checkSignature(String timestamp, String nonce, String signature)
checkSignature 在接口中 WxOpenComponentServicepublic String getComponentAccessToken(boolean forceRefresh) throws WxErrorException
getComponentAccessToken 在接口中 WxOpenComponentServiceWxErrorExceptionpublic String getPreAuthUrl(String redirectURI) throws WxErrorException
WxOpenComponentServicegetPreAuthUrl 在接口中 WxOpenComponentServiceWxErrorExceptionpublic String route(WxOpenXmlMessage wxMessage) throws WxErrorException
route 在接口中 WxOpenComponentServiceWxErrorExceptionpublic WxOpenQueryAuthResult getQueryAuth(String authorizationCode) throws WxErrorException
WxOpenComponentServicegetQueryAuth 在接口中 WxOpenComponentServiceWxErrorExceptionpublic WxOpenAuthorizerInfoResult getAuthorizerInfo(String authorizerAppid) throws WxErrorException
WxOpenComponentServicegetAuthorizerInfo 在接口中 WxOpenComponentServiceWxErrorExceptionpublic WxOpenAuthorizerOptionResult getAuthorizerOption(String authorizerAppid, String optionName) throws WxErrorException
WxOpenComponentServicegetAuthorizerOption 在接口中 WxOpenComponentServiceWxErrorExceptionpublic void setAuthorizerOption(String authorizerAppid, String optionName, String optionValue) throws WxErrorException
WxOpenComponentServicesetAuthorizerOption 在接口中 WxOpenComponentServiceWxErrorExceptionpublic String getAuthorizerAccessToken(String appId, boolean forceRefresh) throws WxErrorException
getAuthorizerAccessToken 在接口中 WxOpenComponentServiceWxErrorExceptionpublic WxMpOAuth2AccessToken oauth2getAccessToken(String appId, String code) throws WxErrorException
oauth2getAccessToken 在接口中 WxOpenComponentServiceWxErrorExceptionpublic boolean checkSignature(String appid, String timestamp, String nonce, String signature)
checkSignature 在接口中 WxOpenComponentServicepublic WxMpOAuth2AccessToken oauth2refreshAccessToken(String appId, String refreshToken) throws WxErrorException
oauth2refreshAccessToken 在接口中 WxOpenComponentServiceWxErrorExceptionpublic String oauth2buildAuthorizationUrl(String appId, String redirectURI, String scope, String state)
public WxMaJscode2SessionResult miniappJscode2Session(String appid, String jsCode, String appId) throws WxErrorException
miniappJscode2Session 在接口中 WxOpenComponentServiceWxErrorExceptionCopyright © 2018. All rights reserved.