Skip to content

Commit e9406f3

Browse files
committed
fix references to JSON
1 parent 99a01c9 commit e9406f3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

draft-ietf-oauth-v2-1.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ normative:
3535
RFC5234:
3636
RFC6749:
3737
RFC6750:
38-
RFC7159:
3938
RFC7235:
4039
RFC7521:
4140
RFC7523:
@@ -1282,9 +1281,9 @@ authentication failed or is invalid, the authorization server returns
12821281
an error response as described in {{token-error-response}}.
12831282

12841283
The authorization server issues an access token and optional refresh
1285-
token by creating an HTTP response content using the `application/json`
1286-
media type as defined by {{RFC8259}} with the following parameters
1287-
and an HTTP 200 (OK) status code:
1284+
token by creating an HTTP response according to {{json-serialization}},
1285+
using the `application/json` media type as defined by {{RFC8259}},
1286+
with the following parameters and an HTTP 200 (OK) status code:
12881287

12891288
"access_token":
12901289
: REQUIRED. The access token issued by the authorization server.
@@ -3790,7 +3789,7 @@ Parameters and their values are Form Serialized by adding the parameter names an
37903789

37913790
## JSON Serialization {#json-serialization}
37923791

3793-
The parameters are serialized into a JSON {{RFC7159}} object structure by adding each parameter at the highest structure level. Parameter names and string values are represented as JSON strings. Numerical values are represented as JSON numbers. Boolean values are represented as JSON booleans. Omitted parameters and parameters with no value SHOULD be omitted from the object and not represented by a JSON null value, unless otherwise specified. A parameter MAY have a JSON object or a JSON array as its value. The order of parameters does not matter and can vary.
3792+
The parameters are serialized into a JSON {{RFC8259}} object structure by adding each parameter at the highest structure level. Parameter names and string values are represented as JSON strings. Numerical values are represented as JSON numbers. Boolean values are represented as JSON booleans. Omitted parameters and parameters with no value SHOULD be omitted from the object and not represented by a JSON null value, unless otherwise specified. A parameter MAY have a JSON object or a JSON array as its value. The order of parameters does not matter and can vary.
37943793

37953794
# Extensions {#extensions}
37963795

0 commit comments

Comments
 (0)