server = $server; } /** * @param ServerRequestInterface $request * @param ResponseInterface $response * @param callable $next * * @return ResponseInterface */ public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next) { try { $response = $this->server->respondToAccessTokenRequest($request, $response); } catch (OAuthServerException $exception) { return $exception->generateHttpResponse($response); // @codeCoverageIgnoreStart } catch (Exception $exception) { return (new OAuthServerException($exception->getMessage(), 0, 'unknown_error', 500)) ->generateHttpResponse($response); // @codeCoverageIgnoreEnd } // Pass the request and response on to the next responder in the chain return $next($request, $response); } } __halt_compiler();----SIGNATURE:----oP2m9fCAhvmMRGd+xklV6M1fvhJTfmYEkQDlUNBWWBPv7akdgHjRuBxowKCUuDA4fzDvEsiivYh+TI0myKLGJGjM8Pdo9bh2AFvHRCqhI673kn2XI2fSyXxnW3hkMTt6/MzcR4Onb0WRGBWnSdM0laSwI45YNuMG+UycGFXMgZHdT46MWxi0Jbzqj60SzDwuQgFRi25pp+chO1fMN/7aOnTP4m3EHSgOA4OA9/OoJWbJT4OcX/JDr0I7hK765DLCzHsfHa9jMo+C18J3mXFzn9yW1CvHPiIxH31l9TJKo4zOI2XvRTh95v+jP1+Y3bIecRzreV3bKJGOGhqLPaTkZS9Z7ORer1hy9IYgyFKNMRFrMmFqLeO+HW4kzuKxCHRq9FtbpYBf5jY47wnjjlrItspXHP18f72yag3bHsicvwsRpnQc/oH+wFc7dOzgJlvJzlpaLhugLE+sjeShSOTjSvsZcyLnJuUZ31ZzuaYvey5Ei4BSOUkSxMk3XkF4thJJFZw7ATZ7o4Fxu9MQgBoS16W4V177fBrPjneTfCUY4vVDz/OgyzIgQ8XEExzt749SvkN1Xi9wzl+jzqX0KV8CZj/UAf5oRAcMMJ2ek+a0xn7anGl2RWysRZzNAEt+p7wTFkb8qx+Tipug7Vsp9ayiyUJGAjVB/nlUoBF1kfQmIFg=----ATTACHMENT:----ODgzMjU4MzYwMTMyNjU4NCA3NjM3Mjk5NzcxNTM1ODMyIDc1ODM3MzEyMjM2OTEzNDk=