public function getAuthorizationUrl($temporaryIdentifier)
    {
        // Somebody can pass through an instance of temporary
        // credentials and we'll extract the identifier from there.
        if ($temporaryIdentifier instanceof TemporaryCredentials) {
            $temporaryIdentifier = $temporaryIdentifier->getIdentifier();
        }

        $parameters = array('oauth_token' => $temporaryIdentifier);

        $url = $this->urlAuthorization();
        $queryString = http_build_query($parameters);

        return $this->buildUrl($url, $queryString);
    }
public function getAuthorizationUrl($temporaryIdentifier)
    {
        // Somebody can pass through an instance of temporary
        // credentials and we'll extract the identifier from there.
        if ($temporaryIdentifier instanceof TemporaryCredentials) {
            $temporaryIdentifier = $temporaryIdentifier->getIdentifier();
        }

        $parameters = array('oauth_token' => $temporaryIdentifier);

        $url = $this->urlAuthorization();
        $queryString = http_build_query($parameters);

        return $this->buildUrl($url, $queryString);
    }
public function getAuthorizationUrl ( $ temporaryIdentifier ) { // Somebody can pass through an instance of temporary // credentials and we'll extract the identifier from there. if ( $ temporaryIdentifier instanceof TemporaryCredentials ) { $ temporaryIdentifier = $ temporaryIdentifier -> getIdentifier ( ) ; } $ parameters = array ( 'oauth_token' => $ temporaryIdentifier ) ; $ url = $ this -> urlAuthorization ( ) ; $ queryString = http_build_query ( $ parameters ) ; return $ this -> buildUrl ( $ url , $ queryString ) ; }
Get the authorization URL by passing in the temporary credentials
identifier or an object instance.

@param TemporaryCredentials|string $temporaryIdentifier

@return string
Get the authorization URL by passing in the temporary credentials identifier or an object instance .