lib/TheTwelve/Foursquare/EndpointGateway.php
public function makeAuthenticatedApiRequest($resource, array $params = array(), $method = 'GET')
    {

        $this->assertHasActiveUser();
        $params['oauth_token'] = $this->token;
        return $this->makeApiRequest($resource, $params, $method);

    }
public function makeAuthenticatedApiRequest($resource, array $params = array(), $method = 'GET')
    {

        $this->assertHasActiveUser();
        $params['oauth_token'] = $this->token;
        return $this->makeApiRequest($resource, $params, $method);

    }
public function makeAuthenticatedApiRequest ( $ resource , array $ params = array ( ) , $ method = 'GET' ) { $ this -> assertHasActiveUser ( ) ; $ params [ 'oauth_token' ] = $ this -> token ; return $ this -> makeApiRequest ( $ resource , $ params , $ method ) ; }
make an authenticated request to the api
@param string $resource
@param array $params
@param string $method
@return stdClass
make an authenticated request to the api