This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 6dbb8ba Deploy to GitHub pages
6dbb8ba is described below
commit 6dbb8ba1ea909b2ff1bbe3201cc962ca5a78247a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 1 08:33:36 2020 +0000
Deploy to GitHub pages
---
apisix/admin-api.html | 3 ++-
apisix/admin-api/index.html | 3 ++-
apisix/zh-cn/admin-api.html | 3 ++-
apisix/zh-cn/admin-api/index.html | 3 ++-
downloads.html | 2 +-
downloads/index.html | 2 +-
6 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/apisix/admin-api.html b/apisix/admin-api.html
index 3c9c20e..10a15a6 100644
--- a/apisix/admin-api.html
+++ b/apisix/admin-api.html
@@ -463,7 +463,7 @@ After successful execution, upstream nodes will not retain
the original data, an
"desc": "hello world", # Consumer desc
}
</code></pre>
-<p>The binding authentication and authorization plug-in is a bit special. When
it needs to be used in conjunction with the consumer, it needs to provide user
name, password and other information; on the other hand, when it is bound with
route / service, it does not require any parameters. Because at this time, it
is based on the user request data to infer which consumer the user corresponds
to.</p>
+<p>The binding authentication plug-in is a bit special. When it needs to be
used in conjunction with the consumer, it needs to provide user name, password
and other information; on the other hand, when it is bound with route /
service, it does not require any parameters. Because at this time, it is based
on the user request data to infer which consumer the user corresponds to.</p>
<p>Example:</p>
<pre><code class="hljs css language-shell"><span
class="hljs-meta">$</span><span class="bash"> curl
http://127.0.0.1:9080/apisix/admin/consumers -H <span
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X PUT
-i -d <span class="hljs-string">'</span></span>
{
@@ -485,6 +485,7 @@ Date: Thu, 26 Dec 2019 08:17:49 GMT
{"node":{"value":{"username":"jack","plugins":{"key-auth":{"key":"auth-one"},"limit-count":{"time_window":60,"count":2,"rejected_code":503,"key":"remote_addr","policy":"local"}}},"createdIndex":64,"key":"\/apisix\/consumers\/jack","modifiedIndex":64},"prevNode":{"value":"{\"username\":\"jack\",\"plugins\":{\"key-auth\":{\"key\":\"auth-one\"},\"limit-count\":{\"time_window\":60,\"count\":2,\"rejected_code\":503,\"key\":\"remote_addr\",\"policy\":\"local\"}}}","createdIndex":63,"key":"\/ap
[...]
</code></pre>
+<p>Since <code>v2.2</code>, we can bind multiple authentication plugins to the
same consumer.</p>
<blockquote>
<p>Response Parameters</p>
</blockquote>
diff --git a/apisix/admin-api/index.html b/apisix/admin-api/index.html
index 3c9c20e..10a15a6 100644
--- a/apisix/admin-api/index.html
+++ b/apisix/admin-api/index.html
@@ -463,7 +463,7 @@ After successful execution, upstream nodes will not retain
the original data, an
"desc": "hello world", # Consumer desc
}
</code></pre>
-<p>The binding authentication and authorization plug-in is a bit special. When
it needs to be used in conjunction with the consumer, it needs to provide user
name, password and other information; on the other hand, when it is bound with
route / service, it does not require any parameters. Because at this time, it
is based on the user request data to infer which consumer the user corresponds
to.</p>
+<p>The binding authentication plug-in is a bit special. When it needs to be
used in conjunction with the consumer, it needs to provide user name, password
and other information; on the other hand, when it is bound with route /
service, it does not require any parameters. Because at this time, it is based
on the user request data to infer which consumer the user corresponds to.</p>
<p>Example:</p>
<pre><code class="hljs css language-shell"><span
class="hljs-meta">$</span><span class="bash"> curl
http://127.0.0.1:9080/apisix/admin/consumers -H <span
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X PUT
-i -d <span class="hljs-string">'</span></span>
{
@@ -485,6 +485,7 @@ Date: Thu, 26 Dec 2019 08:17:49 GMT
{"node":{"value":{"username":"jack","plugins":{"key-auth":{"key":"auth-one"},"limit-count":{"time_window":60,"count":2,"rejected_code":503,"key":"remote_addr","policy":"local"}}},"createdIndex":64,"key":"\/apisix\/consumers\/jack","modifiedIndex":64},"prevNode":{"value":"{\"username\":\"jack\",\"plugins\":{\"key-auth\":{\"key\":\"auth-one\"},\"limit-count\":{\"time_window\":60,\"count\":2,\"rejected_code\":503,\"key\":\"remote_addr\",\"policy\":\"local\"}}}","createdIndex":63,"key":"\/ap
[...]
</code></pre>
+<p>Since <code>v2.2</code>, we can bind multiple authentication plugins to the
same consumer.</p>
<blockquote>
<p>Response Parameters</p>
</blockquote>
diff --git a/apisix/zh-cn/admin-api.html b/apisix/zh-cn/admin-api.html
index 0cef7ba..45f5cf4 100644
--- a/apisix/zh-cn/admin-api.html
+++ b/apisix/zh-cn/admin-api.html
@@ -474,7 +474,7 @@ HTTP/1.1 200 OK
"desc": "hello world", # consumer 描述
}
</code></pre>
-<p>绑定认证授权插件有些特别,当它需要与 consumer 联合使用时,需要提供用户名、密码等信息;另一方面,当它与 route/service
绑定时,是不需要任何参数的。因为这时候是根据用户请求数据来反向推出用户对应的是哪个 consumer</p>
+<p>绑定认证插件有些特别,当它需要与 consumer 联合使用时,需要提供用户名、密码等信息;另一方面,当它与 route/service
绑定时,是不需要任何参数的。因为这时候是根据用户请求数据来反向推出用户对应的是哪个 consumer</p>
<p>示例:</p>
<pre><code class="hljs css language-shell"><span
class="hljs-meta">#</span><span class="bash"> 创建 Consumer ,指定认证插件 key-auth
,并开启特定插件 <span class="hljs-built_in">limit</span>-count</span>
<span class="hljs-meta">$</span><span class="bash"> curl
http://127.0.0.1:9080/apisix/admin/consumers -H <span
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X PUT
-i -d <span class="hljs-string">'</span></span>
@@ -498,6 +498,7 @@ Date: Thu, 26 Dec 2019 08:17:49 GMT
{"node":{"value":{"username":"jack","plugins":{"key-auth":{"key":"auth-one"},"limit-count":{"time_window":60,"count":2,"rejected_code":503,"key":"remote_addr","policy":"local"}}},"createdIndex":64,"key":"\/apisix\/consumers\/jack","modifiedIndex":64},"prevNode":{"value":"{\"username\":\"jack\",\"plugins\":{\"key-auth\":{\"key\":\"auth-one\"},\"limit-count\":{\"time_window\":60,\"count\":2,\"rejected_code\":503,\"key\":\"remote_addr\",\"policy\":\"local\"}}}","createdIndex":63,"key":"\/ap
[...]
</code></pre>
+<p>从 <code>v2.2</code> 版本之后,同一个 consumer 可以绑定多个认证插件。</p>
<blockquote>
<p>应答参数</p>
</blockquote>
diff --git a/apisix/zh-cn/admin-api/index.html
b/apisix/zh-cn/admin-api/index.html
index 0cef7ba..45f5cf4 100644
--- a/apisix/zh-cn/admin-api/index.html
+++ b/apisix/zh-cn/admin-api/index.html
@@ -474,7 +474,7 @@ HTTP/1.1 200 OK
"desc": "hello world", # consumer 描述
}
</code></pre>
-<p>绑定认证授权插件有些特别,当它需要与 consumer 联合使用时,需要提供用户名、密码等信息;另一方面,当它与 route/service
绑定时,是不需要任何参数的。因为这时候是根据用户请求数据来反向推出用户对应的是哪个 consumer</p>
+<p>绑定认证插件有些特别,当它需要与 consumer 联合使用时,需要提供用户名、密码等信息;另一方面,当它与 route/service
绑定时,是不需要任何参数的。因为这时候是根据用户请求数据来反向推出用户对应的是哪个 consumer</p>
<p>示例:</p>
<pre><code class="hljs css language-shell"><span
class="hljs-meta">#</span><span class="bash"> 创建 Consumer ,指定认证插件 key-auth
,并开启特定插件 <span class="hljs-built_in">limit</span>-count</span>
<span class="hljs-meta">$</span><span class="bash"> curl
http://127.0.0.1:9080/apisix/admin/consumers -H <span
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X PUT
-i -d <span class="hljs-string">'</span></span>
@@ -498,6 +498,7 @@ Date: Thu, 26 Dec 2019 08:17:49 GMT
{"node":{"value":{"username":"jack","plugins":{"key-auth":{"key":"auth-one"},"limit-count":{"time_window":60,"count":2,"rejected_code":503,"key":"remote_addr","policy":"local"}}},"createdIndex":64,"key":"\/apisix\/consumers\/jack","modifiedIndex":64},"prevNode":{"value":"{\"username\":\"jack\",\"plugins\":{\"key-auth\":{\"key\":\"auth-one\"},\"limit-count\":{\"time_window\":60,\"count\":2,\"rejected_code\":503,\"key\":\"remote_addr\",\"policy\":\"local\"}}}","createdIndex":63,"key":"\/ap
[...]
</code></pre>
+<p>从 <code>v2.2</code> 版本之后,同一个 consumer 可以绑定多个认证插件。</p>
<blockquote>
<p>应答参数</p>
</blockquote>
diff --git a/downloads.html b/downloads.html
index 2c8d92f..488fb9f 100644
--- a/downloads.html
+++ b/downloads.html
@@ -13,7 +13,7 @@
<tr><th>Version</th><th>Release Date</th><th>Downloads</th></tr>
</thead>
<tbody>
-<tr><td>2.0</td><td>27/10/2020</td><td><a
href="https://www.apache.org/dyn/closer.cgi/apisix/2.0/apache-apisix-2.0-src.tgz">source</a>
(<a
href="https://downloads.apache.org/apisix/2.0/apache-apisix-2.0-src.tgz.asc">asc</a>
<a
href="https://downloads.apache.org/apisix/2.0/apache-apisix-2.0-src.tgz.sha512">sha512</a>)</td></tr>
+<tr><td>2.1</td><td>01/12/2020</td><td><a
href="https://www.apache.org/dyn/closer.cgi/apisix/2.1/apache-apisix-2.1-src.tgz">source</a>
(<a
href="https://downloads.apache.org/apisix/2.1/apache-apisix-2.1-src.tgz.asc">asc</a>
<a
href="https://downloads.apache.org/apisix/2.1/apache-apisix-2.1-src.tgz.sha512">sha512</a>)</td></tr>
</tbody>
</table>
<h2><a class="anchor" aria-hidden="true" id="apisix-dashboard"></a><a
href="#apisix-dashboard" aria-hidden="true" class="hash-link"><svg
class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0
0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5
0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2
3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4
9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2. [...]
diff --git a/downloads/index.html b/downloads/index.html
index 2c8d92f..488fb9f 100644
--- a/downloads/index.html
+++ b/downloads/index.html
@@ -13,7 +13,7 @@
<tr><th>Version</th><th>Release Date</th><th>Downloads</th></tr>
</thead>
<tbody>
-<tr><td>2.0</td><td>27/10/2020</td><td><a
href="https://www.apache.org/dyn/closer.cgi/apisix/2.0/apache-apisix-2.0-src.tgz">source</a>
(<a
href="https://downloads.apache.org/apisix/2.0/apache-apisix-2.0-src.tgz.asc">asc</a>
<a
href="https://downloads.apache.org/apisix/2.0/apache-apisix-2.0-src.tgz.sha512">sha512</a>)</td></tr>
+<tr><td>2.1</td><td>01/12/2020</td><td><a
href="https://www.apache.org/dyn/closer.cgi/apisix/2.1/apache-apisix-2.1-src.tgz">source</a>
(<a
href="https://downloads.apache.org/apisix/2.1/apache-apisix-2.1-src.tgz.asc">asc</a>
<a
href="https://downloads.apache.org/apisix/2.1/apache-apisix-2.1-src.tgz.sha512">sha512</a>)</td></tr>
</tbody>
</table>
<h2><a class="anchor" aria-hidden="true" id="apisix-dashboard"></a><a
href="#apisix-dashboard" aria-hidden="true" class="hash-link"><svg
class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0
0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5
0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2
3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4
9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2. [...]