Skip to content

Commit e7a52eb

Browse files
authored
Merge pull request #32632 from my-git9/authentication-0
[zh] Update authentication.md
2 parents a5f3bec + 1905b25 commit e7a52eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/reference/access-authn-authz/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ token,user,uid,"group1,group2,group3"
233233
234234
When using bearer token authentication from an http client, the API
235235
server expects an `Authorization` header with a value of `Bearer
236-
THETOKEN`. The bearer token must be a character sequence that can be
236+
<token>`. The bearer token must be a character sequence that can be
237237
put in an HTTP header value using no more than the encoding and
238238
quoting facilities of HTTP. For example: if the bearer token is
239239
`31ada4fd-adec-460c-809a-9e56ceb75269` then it would appear in an HTTP
@@ -242,7 +242,7 @@ header as shown below.
242242
#### 在请求中放入持有者令牌 {#putting-a-bearer-token-in-a-request}
243243

244244
当使用持有者令牌来对某 HTTP 客户端执行身份认证时,API 服务器希望看到
245-
一个名为 `Authorization` 的 HTTP 头,其值格式为 `Bearer THETOKEN`
245+
一个名为 `Authorization` 的 HTTP 头,其值格式为 `Bearer <token>`
246246
持有者令牌必须是一个可以放入 HTTP 头部值字段的字符序列,至多可使用
247247
HTTP 的编码和引用机制。
248248
例如:如果持有者令牌为 `31ada4fd-adec-460c-809a-9e56ceb75269`,则其

0 commit comments

Comments
 (0)