lib/TheTwelve/Foursquare/AuthenticationGateway.php
public function getAuthenticationUri()
    {

        if (!$this->canBuildAuthenticationUri()) {
            throw new \RuntimeException(
            	'Cannot build authentication uri, dependencies are missing'
            );
        }

        $uriParams = array(
            'client_id' => $this->clientId,
            'response_type' => 'code',
            'redirect_uri' => $this->redirectUri,
        );

        return $this->authorizeUri . '?' . http_build_query($uriParams);

    }
public function getAuthenticationUri()
    {

        if (!$this->canBuildAuthenticationUri()) {
            throw new \RuntimeException(
            	'Cannot build authentication uri, dependencies are missing'
            );
        }

        $uriParams = array(
            'client_id' => $this->clientId,
            'response_type' => 'code',
            'redirect_uri' => $this->redirectUri,
        );

        return $this->authorizeUri . '?' . http_build_query($uriParams);

    }
public function getAuthenticationUri ( ) { if ( ! $ this -> canBuildAuthenticationUri ( ) ) { throw new \ RuntimeException ( 'Cannot build authentication uri, dependencies are missing' ) ; } $ uriParams = array ( 'client_id' => $ this -> clientId , 'response_type' => 'code' , 'redirect_uri' => $ this -> redirectUri , ) ; return $ this -> authorizeUri . '?' . http_build_query ( $ uriParams ) ; }
build the foursquare authentication uri that users are
forwarded to for authentication
@see https://developer.foursquare.com/overview/auth.html
@return string
build the foursquare authentication uri that users are forwarded to for authentication