Skip to content

Commit

Permalink
Update 2.3.1.md
Browse files Browse the repository at this point in the history
修改client_secret翻译“秘密”为“秘钥”
  • Loading branch information
wstack-essence committed Jan 23, 2015
1 parent 72ded3d commit 535b728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Section02/2.3.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- client_id
必需的。如[2.2](2.2.md)节所述的注册过程中颁发给客户端的客户端标识。
- client_secret
必需的。客户端秘密。 客户端可以忽略该参数若客户端秘密是一个空字符串
必需的。客户端秘钥。 客户端可以忽略该参数若客户端秘钥是一个空字符串

使用这两个参数在请求正文中包含客户端凭据是不被建议的,应该限于不能直接采用HTTP基本身份验证方案(或其他基于密码的HTTP身份验证方案)的客户端。参数只能在请求正文中传送,不能包含在请求URI中。

Expand All @@ -23,4 +23,4 @@

由于该客户端身份验证方法包含密码,授权服务器必须保护所有使用到密码的端点免受暴力攻击。

[RFC2617]: http://tools.ietf.org/html/rfc2617 "HTTP身份验证:基本和摘要访问权限身份验证"
[RFC2617]: http://tools.ietf.org/html/rfc2617 "HTTP身份验证:基本和摘要访问权限身份验证"

0 comments on commit 535b728

Please sign in to comment.