src/PersonalAccessTokenFactory.php
protected function dispatchRequestToAuthorizationServer(ServerRequest $request)
    {
        return json_decode($this->server->respondToAccessTokenRequest(
            $request, new Response
        )->getBody()->__toString(), true);
    }
protected function dispatchRequestToAuthorizationServer(ServerRequest $request)
    {
        return json_decode($this->server->respondToAccessTokenRequest(
            $request, new Response
        )->getBody()->__toString(), true);
    }
protected function dispatchRequestToAuthorizationServer ( ServerRequest $ request ) { return json_decode ( $ this -> server -> respondToAccessTokenRequest ( $ request , new Response ) -> getBody ( ) -> __toString ( ) , true ) ; }
Dispatch the given request to the authorization server.

@param  \Zend\Diactoros\ServerRequest  $request
@return array
Dispatch the given request to the authorization server .