public function wrapAccessToken($uri, $name, $password, $scope)
    {
        $method = Resources::HTTP_POST;
        $headers = [];
        $queryParams = [];
        $postParameters = [];
        $statusCode = Resources::STATUS_OK;

        $postParameters = $this->addPostParameter(
            $postParameters,
            Resources::WRAP_NAME,
            $name
        );

        $postParameters = $this->addPostParameter(
            $postParameters,
            Resources::WRAP_PASSWORD,
            $password
        );

        $postParameters = $this->addPostParameter(
            $postParameters,
            Resources::WRAP_SCOPE,
            $scope
        );

        $this->setUri($uri);

        $response = $this->sendHttp(
            $method,
            $headers,
            $queryParams,
            $postParameters,
            Resources::EMPTY_STRING,
            $statusCode
        );

        return WrapAccessTokenResult::create($response->getBody());
    }