{ "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 } } ], "composer_lock_sha256": "b1376d21c517d700bc48b196e9dc2b30257caf25774e315ff9d1bf8a2411241a", "request_notes": { "malformed-json": "raw { with Content-Type application/json", "top-json-array": "raw []", "top-json-null": "raw null", "empty-json-body": "zero bytes with Content-Type application/json", "form-scalar-then-array": "grant_type=bogus&grant_type[]=client_credentials", "form-array-then-scalar": "grant_type[]=client_credentials&grant_type=bogus", "top-json-number": "raw 42", "top-json-nonempty-array": "raw [\"bogus\"]", "body-client-id-u2003": "valid fixture client ID surrounded by U+2003 in a form field", "basic-client-id-u2003": "valid fixture client ID surrounded by U+2003 in HTTP Basic username", "body-client-secret-u2003": "valid fixture client secret surrounded by U+2003 in a form field" } }