Skip to content

Instantly share code, notes, and snippets.

@des1roer
Created November 23, 2022 03:52
Show Gist options
  • Save des1roer/b7240dfcb299c7d91881f7908b92cbe8 to your computer and use it in GitHub Desktop.
Save des1roer/b7240dfcb299c7d91881f7908b92cbe8 to your computer and use it in GitHub Desktop.
/var/www/vendor/league/oauth2-client/src/Provider/AbstractProvider.php:626:
object(GuzzleHttp\Psr7\Response)[541]
private 'reasonPhrase' => string 'Unauthorized' (length=12)
private 'statusCode' => int 401
private 'headers' =>
array (size=7)
'Referrer-Policy' =>
array (size=1)
0 => string 'no-referrer' (length=11)
'Strict-Transport-Security' =>
array (size=1)
0 => string 'max-age=31536000; includeSubDomains' (length=35)
'X-Content-Type-Options' =>
array (size=1)
0 => string 'nosniff' (length=7)
'WWW-Authenticate' =>
array (size=1)
0 => string 'Bearer realm="master", error="invalid_token", error_description="Token verification failed"' (length=91)
'X-XSS-Protection' =>
array (size=1)
0 => string '1; mode=block' (length=13)
'Content-Type' =>
array (size=1)
0 => string 'application/octet-stream' (length=24)
'content-length' =>
array (size=1)
0 => string '0' (length=1)
private 'headerNames' =>
array (size=7)
'referrer-policy' => string 'Referrer-Policy' (length=15)
'strict-transport-security' => string 'Strict-Transport-Security' (length=25)
'x-content-type-options' => string 'X-Content-Type-Options' (length=22)
'www-authenticate' => string 'WWW-Authenticate' (length=16)
'x-xss-protection' => string 'X-XSS-Protection' (length=16)
'content-type' => string 'Content-Type' (length=12)
'content-length' => string 'content-length' (length=14)
private 'protocol' => string '1.1' (length=3)
private 'stream' =>
object(GuzzleHttp\Psr7\Stream)[544]
private 'stream' => resource(652, stream)
private 'size' => int 0
private 'seekable' => boolean true
private 'readable' => boolean true
private 'writable' => boolean true
private 'uri' => string 'php://temp' (length=10)
private 'customMetadata' =>
array (size=0)
empty
-------------
/var/www/vendor/league/oauth2-client/src/Provider/AbstractProvider.php:626:
object(GuzzleHttp\Psr7\Request)[530]
private 'method' => string 'GET' (length=3)
private 'requestTarget' => null
private 'uri' =>
object(GuzzleHttp\Psr7\Uri)[532]
private 'scheme' => string 'http' (length=4)
private 'userInfo' => string '' (length=0)
private 'host' => string 'kc_app' (length=6)
private 'port' => int 8080
private 'path' => string '/realms/master/protocol/openid-connect/userinfo' (length=47)
private 'query' => string '' (length=0)
private 'fragment' => string '' (length=0)
private 'headers' =>
array (size=2)
'Host' =>
array (size=1)
0 => string 'kc_app:8080' (length=11)
'Authorization' =>
array (size=1)
0 => string 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJGY2VCUGpKakdWTDFoYngyS2x1bkNGandmTGJxR3ZLUVJYc2lDZnBCUE9jIn0.eyJleHAiOjE2NjkxNzU1MjksImlhdCI6MTY2OTE3NTQ2OSwiYXV0aF90aW1lIjoxNjY5MTczNDg0LCJqdGkiOiJmMWE1NzBkZi1hOTJmLTRhYjUtYjdkNy00ZTg3MjcwNGVjMDkiLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwOTAvcmVhbG1zL21hc3RlciIsImF1ZCI6WyJtYXN0ZXItcmVhbG0iLCJhY2NvdW50Il0sInN1YiI6ImU2N2RiN2ZmLWIxZWQtNGJiMy1iYzA5LTE5NTdiNjZjYTBmMCIsInR5cCI6IkJlYXJlciIsImF6cCI6InNhbWUiLCJzZXNzaW9uX3N0YXRlIjoiMzNhMWI0MmYtNjg3OS00YzU2LWI2Y2ItM'... (length=1802)
private 'headerNames' =>
array (size=2)
'authorization' => string 'Authorization' (length=13)
'host' => string 'Host' (length=4)
private 'protocol' => string '1.1' (length=3)
private 'stream' =>
object(GuzzleHttp\Psr7\Stream)[540]
private 'stream' => resource(650, stream)
private 'size' => int 0
private 'seekable' => boolean true
private 'readable' => boolean true
private 'writable' => boolean true
private 'uri' => string 'php://temp' (length=10)
private 'customMetadata' =>
array (size=0)
empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment