The client accesses protected resources by presenting the access token to the resource server.
Return
Logout
array(2) {
["error_description"]=>
string(37) "The provided access token is expired."
["error"]=>
string(15) "invalid_request"
}
array(7) {
["attributes"]=>
object(Symfony\Component\HttpFoundation\ParameterBag)#577 (1) {
["parameters":protected]=>
array(3) {
["_controller"]=>
string(47) "authbucket_oauth2.oauth2_controller:debugAction"
["_route"]=>
string(18) "api_resource_model"
["_route_params"]=>
array(0) {
}
}
}
["request"]=>
object(Symfony\Component\HttpFoundation\ParameterBag)#575 (1) {
["parameters":protected]=>
array(0) {
}
}
["query"]=>
object(Symfony\Component\HttpFoundation\ParameterBag)#576 (1) {
["parameters":protected]=>
array(0) {
}
}
["server"]=>
object(Symfony\Component\HttpFoundation\ServerBag)#580 (1) {
["parameters":protected]=>
array(17) {
["SERVER_NAME"]=>
string(9) "localhost"
["SERVER_PORT"]=>
int(80)
["HTTP_HOST"]=>
string(9) "localhost"
["HTTP_USER_AGENT"]=>
string(18) "Symfony BrowserKit"
["HTTP_ACCEPT"]=>
string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
["HTTP_ACCEPT_LANGUAGE"]=>
string(14) "en-us,en;q=0.5"
["HTTP_ACCEPT_CHARSET"]=>
string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
["REMOTE_ADDR"]=>
string(9) "127.0.0.1"
["SCRIPT_NAME"]=>
string(0) ""
["SCRIPT_FILENAME"]=>
string(0) ""
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["REQUEST_TIME"]=>
int(1524268454)
["HTTP_Authorization"]=>
string(39) "Bearer fef146eed3da0a2b3cfbc39790c74c3d"
["PATH_INFO"]=>
string(0) ""
["REQUEST_METHOD"]=>
string(3) "GET"
["REQUEST_URI"]=>
string(19) "/api/resource/model"
["QUERY_STRING"]=>
string(0) ""
}
}
["files"]=>
object(Symfony\Component\HttpFoundation\FileBag)#579 (1) {
["parameters":protected]=>
array(0) {
}
}
["cookies"]=>
object(Symfony\Component\HttpFoundation\ParameterBag)#578 (1) {
["parameters":protected]=>
array(0) {
}
}
["headers"]=>
object(Symfony\Component\HttpFoundation\HeaderBag)#581 (2) {
["headers":protected]=>
array(7) {
["host"]=>
array(1) {
[0]=>
string(9) "localhost"
}
["user-agent"]=>
array(1) {
[0]=>
string(18) "Symfony BrowserKit"
}
["accept"]=>
array(1) {
[0]=>
string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}
["accept-language"]=>
array(1) {
[0]=>
string(14) "en-us,en;q=0.5"
}
["accept-charset"]=>
array(1) {
[0]=>
string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
}
["authorization"]=>
array(1) {
[0]=>
string(39) "Bearer fef146eed3da0a2b3cfbc39790c74c3d"
}
["x-php-ob-level"]=>
array(1) {
[0]=>
int(1)
}
}
["cacheControl":protected]=>
array(0) {
}
}
}