Skip to content

Commit

Permalink
Update 5.1 token_type is case insensitive
Browse files Browse the repository at this point in the history
token_type is case insensitive 应该是大小写不敏感的
  • Loading branch information
petergithub committed May 14, 2016
1 parent 08d45a2 commit eccce85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Section05/5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- access_token
必需的。授权服务器颁发的访问令牌。
- token_type
必需的。如[7.1](../Section07/7.1.md)节所述的颁发的令牌的类型。值是大小写敏感的
必需的。如[7.1](../Section07/7.1.md)节所述的颁发的令牌的类型。值是大小写不敏感的
- expires_in
推荐的。以秒为单位的访问令牌生命周期。例如,值“3600”表示访问令牌将在从生成响应时的1小时后到期。如果省略,则授权服务器应该通过其他方式提供过期时间,或者记录默认值。
- refresh_token
Expand All @@ -30,4 +30,4 @@
客户端必须忽略响应中不能识别的值的名称。令牌和从授权服务器接收到的值的大小未定义。客户端应该避免对值的大小做假设。授权服务器应记录其发放的任何值的大小。

[RFC4627]:http://tools.ietf.org/html/rfc4627 "JSON"
[RFC2616]:http://tools.ietf.org/html/rfc2616 "HTTP/1/1"
[RFC2616]:http://tools.ietf.org/html/rfc2616 "HTTP/1/1"

0 comments on commit eccce85

Please sign in to comment.