|
@@ -22,13 +22,15 @@ public interface WxMpConfigStorage {
|
|
|
|
|
|
/**
|
|
|
* Is use stable access token api
|
|
|
- * @Link https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/getStableAccessToken.html
|
|
|
+ *
|
|
|
* @return the boolean
|
|
|
+ * @link https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/getStableAccessToken.html
|
|
|
*/
|
|
|
boolean isStableAccessToken();
|
|
|
|
|
|
/**
|
|
|
* Set use stable access token api
|
|
|
+ *
|
|
|
* @param useStableAccessToken true is use, false is not
|
|
|
*/
|
|
|
void useStableAccessToken(boolean useStableAccessToken);
|
|
@@ -154,10 +156,29 @@ public interface WxMpConfigStorage {
|
|
|
* Gets oauth 2 redirect uri.
|
|
|
*
|
|
|
* @return the oauth 2 redirect uri
|
|
|
+ * @deprecated This method is deprecated due to incorrect naming convention.
|
|
|
+ * Use {@link #getOauth2RedirectUrl()} instead.
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
String getOauth2redirectUri();
|
|
|
|
|
|
/**
|
|
|
+ * Gets OAuth 2.0 redirect Url
|
|
|
+ *
|
|
|
+ * @return the OAuth 2.0 redirect Url
|
|
|
+ * @author <a href="https://gitee.com/pengles">Peng Les</a>
|
|
|
+ */
|
|
|
+ String getOauth2RedirectUrl();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Gets QR connect redirect Url
|
|
|
+ *
|
|
|
+ * @return the QR connect redirect Url
|
|
|
+ * @author <a href="https://gitee.com/pengles">Peng Les</a>
|
|
|
+ */
|
|
|
+ String getQrConnectRedirectUrl();
|
|
|
+
|
|
|
+ /**
|
|
|
* Gets http proxy host.
|
|
|
*
|
|
|
* @return the http proxy host
|