public static String initAuthData(final String appKey, final String appSecret,
                                      final List<AuthParamData> paramDataList,
                                      final List<AuthPathData> pathDataList) throws IOException {
        AppAuthData appAuthData = new AppAuthData();
        appAuthData.setEnabled(true);
        appAuthData.setOpen(true);
        appAuthData.setAppKey(appKey);
        appAuthData.setAppSecret(appSecret);
        appAuthData.setParamDataList(paramDataList);
        appAuthData.setPathDataList(pathDataList);
        return HttpHelper.INSTANCE.postGateway("/shenyu/auth/saveOrUpdate", appAuthData, String.class);
    }
Init auth data.

@param appKey the appKey
@param appSecret the appSecret
@param paramDataList the paramDataList
@param pathDataList the pathDataList
@return the response string
@throws IOException the io exception
shenyu-integrated-test/shenyu-integrated-test-common/src/main/java/org/apache/shenyu/integratedtest/common/AbstractPluginDataInit.java