tangled
alpha
login
or
join now
veryroundbird.house
/
smallbird-social
7
fork
atom
friendship ended with social-app. php is my new best friend
7
fork
atom
overview
issues
pulls
pipelines
remove print_r stuff
veryroundbird.house
4 months ago
8b0becde
7bc4ee49
-3
1 changed file
expand all
collapse all
unified
split
vendor
chillerlan
php-oauth
src
Core
PARTrait.php
-3
vendor/chillerlan/php-oauth/src/Core/PARTrait.php
···
35
35
public function getParRequestUri(array $body):UriInterface{
36
36
// send the request with the same method and parameters as the token requests
37
37
// @link https://datatracker.ietf.org/doc/html/rfc9126#name-request
38
38
-
print_r($this->parAuthorizationURL);
39
38
$response = $this->sendAccessTokenRequest($this->parAuthorizationURL, $body);
40
39
$status = $response->getStatusCode();
41
40
$json = MessageUtil::decodeJSON($response, true);
42
42
-
print_r($body);
43
43
-
print_r($json);
44
41
45
42
// something went horribly wrong
46
43
if($status !== 200){