Skip to content

Commit 53bc196

Browse files
committed
capitalize resources
1 parent ec334f2 commit 53bc196

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/en/latest/plugins/basic-auth.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords:
66
- Plugin
77
- Basic Auth
88
- basic-auth
9-
description: The basic-auth plugin adds basic access authentication for Consumers to authenticate themselves before being able to access Upstream resources.
9+
description: The basic-auth Plugin adds basic access authentication for Consumers to authenticate themselves before being able to access Upstream resources.
1010
---
1111

1212
<!--
@@ -34,7 +34,7 @@ description: The basic-auth plugin adds basic access authentication for Consumer
3434

3535
## Description
3636

37-
The `basic-auth` plugin adds [basic access authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) for [Consumers](../terminology/consumer.md) to authenticate themselves before being able to access Upstream resources.
37+
The `basic-auth` Plugin adds [basic access authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) for [Consumers](../terminology/consumer.md) to authenticate themselves before being able to access Upstream resources.
3838

3939
When a Consumer is successfully authenticated, APISIX adds additional headers, such as `X-Consumer-Username`, `X-Credential-Indentifier`, and other Consumer custom headers if configured, to the request, before proxying it to the Upstream service. The Upstream service will be able to differentiate between consumers and implement additional logics as needed. If any of these values is not available, the corresponding header will not be added.
4040

@@ -58,7 +58,7 @@ For Route:
5858

5959
## Examples
6060

61-
The examples below demonstrate how you can work with the `basic-auth` plugin for different scenarios.
61+
The examples below demonstrate how you can work with the `basic-auth` Plugin for different scenarios.
6262

6363
:::note
6464

@@ -411,7 +411,7 @@ You should see an `HTTP/1.1 200 OK` response with the `X-Consumer-Custom-Id` sim
411411

412412
The following example demonstrates how you can configure different rate limiting policies by regular and anonymous consumers, where the anonymous Consumer does not need to authenticate and has less quotas.
413413

414-
Create a regular Consumer `johndoe` and configure the `limit-count` plugin to allow for a quota of 3 within a 30-second window:
414+
Create a regular Consumer `johndoe` and configure the `limit-count` Plugin to allow for a quota of 3 within a 30-second window:
415415

416416
```shell
417417
curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
@@ -444,7 +444,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers/johndoe/credentials" -X PUT \
444444
}'
445445
```
446446

447-
Create an anonymous user `anonymous` and configure the `limit-count` plugin to allow for a quota of 1 within a 30-second window:
447+
Create an anonymous user `anonymous` and configure the `limit-count` Plugin to allow for a quota of 1 within a 30-second window:
448448

449449
```shell
450450
curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
@@ -461,7 +461,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
461461
}'
462462
```
463463

464-
Create a Route and configure the `basic-auth` plugin to accept anonymous Consumer `anonymous` from bypassing the authentication:
464+
Create a Route and configure the `basic-auth` Plugin to accept anonymous Consumer `anonymous` from bypassing the authentication:
465465

466466
```shell
467467
curl "http://127.0.0.1:9180/apisix/admin/routes" -X PUT \

0 commit comments

Comments
 (0)