189 lines
5.5 KiB
JSON
189 lines
5.5 KiB
JSON
{
|
|
"upstream_commit": "3516c776a1fcbd83d234efc007e3a49807d6ed91",
|
|
"php": "8.4.27",
|
|
"results": [
|
|
{
|
|
"case": "malformed-json",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "59"
|
|
},
|
|
"body": {
|
|
"message": "Bad request."
|
|
}
|
|
},
|
|
{
|
|
"case": "top-json-array",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "58"
|
|
},
|
|
"body": {
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "The authorization grant type is not supported by the authorization server.",
|
|
"hint": "Check that all required parameters have been provided"
|
|
}
|
|
},
|
|
{
|
|
"case": "top-json-null",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "57"
|
|
},
|
|
"body": {
|
|
"message": "Bad request."
|
|
}
|
|
},
|
|
{
|
|
"case": "empty-json-body",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "56"
|
|
},
|
|
"body": {
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "The authorization grant type is not supported by the authorization server.",
|
|
"hint": "Check that all required parameters have been provided"
|
|
}
|
|
},
|
|
{
|
|
"case": "form-scalar-then-array",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "55"
|
|
},
|
|
"body": {
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "The authorization grant type is not supported by the authorization server.",
|
|
"hint": "Check that all required parameters have been provided"
|
|
}
|
|
},
|
|
{
|
|
"case": "form-array-then-scalar",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "54"
|
|
},
|
|
"body": {
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "The authorization grant type is not supported by the authorization server.",
|
|
"hint": "Check that all required parameters have been provided"
|
|
}
|
|
},
|
|
{
|
|
"case": "top-json-number",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "53"
|
|
},
|
|
"body": {
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "The authorization grant type is not supported by the authorization server.",
|
|
"hint": "Check that all required parameters have been provided"
|
|
}
|
|
},
|
|
{
|
|
"case": "top-json-nonempty-array",
|
|
"status": 400,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "52"
|
|
},
|
|
"body": {
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "The authorization grant type is not supported by the authorization server.",
|
|
"hint": "Check that all required parameters have been provided"
|
|
}
|
|
},
|
|
{
|
|
"case": "body-client-id-u2003",
|
|
"status": 200,
|
|
"headers": {
|
|
"Content-Type": "application/json; charset=UTF-8",
|
|
"Cache-Control": "no-store, private",
|
|
"Pragma": "no-cache",
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "51"
|
|
},
|
|
"body": {
|
|
"token_type": "Bearer",
|
|
"expires_in": 31536000,
|
|
"access_token_present": true
|
|
}
|
|
},
|
|
{
|
|
"case": "basic-client-id-u2003",
|
|
"status": 401,
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Cache-Control": "no-cache, private",
|
|
"Pragma": null,
|
|
"WWW-Authenticate": "Basic realm=\"OAuth\"",
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "50"
|
|
},
|
|
"body": {
|
|
"error": "invalid_client",
|
|
"error_description": "Client authentication failed"
|
|
}
|
|
},
|
|
{
|
|
"case": "body-client-secret-u2003",
|
|
"status": 200,
|
|
"headers": {
|
|
"Content-Type": "application/json; charset=UTF-8",
|
|
"Cache-Control": "no-store, private",
|
|
"Pragma": "no-cache",
|
|
"WWW-Authenticate": null,
|
|
"X-RateLimit-Limit": "60",
|
|
"X-RateLimit-Remaining": "49"
|
|
},
|
|
"body": {
|
|
"token_type": "Bearer",
|
|
"expires_in": 31536000,
|
|
"access_token_present": true
|
|
}
|
|
}
|
|
]
|
|
}
|