src/AuthorizationServer.php
public function completeAuthorizationRequest(AuthorizationRequest $authRequest, ResponseInterface $response)
    {
        return $this->enabledGrantTypes[$authRequest->getGrantTypeId()]
            ->completeAuthorizationRequest($authRequest)
            ->generateHttpResponse($response);
    }
public function completeAuthorizationRequest(AuthorizationRequest $authRequest, ResponseInterface $response)
    {
        return $this->enabledGrantTypes[$authRequest->getGrantTypeId()]
            ->completeAuthorizationRequest($authRequest)
            ->generateHttpResponse($response);
    }
public function completeAuthorizationRequest ( AuthorizationRequest $ authRequest , ResponseInterface $ response ) { return $ this -> enabledGrantTypes [ $ authRequest -> getGrantTypeId ( ) ] -> completeAuthorizationRequest ( $ authRequest ) -> generateHttpResponse ( $ response ) ; }
Complete an authorization request

@param AuthorizationRequest $authRequest
@param ResponseInterface    $response

@return ResponseInterface
Complete an authorization request