public function fetchRequestToken(&$request)
    {
        $this->getVersion($request);
        
        $consumer = $this->getConsumer($request);
        
        // no token required for the initial token request
        $token = null;
        
        $this->checkSignature($request, $consumer, $token);
        
        // Rev A change
        $callback = $request->getParameter('oauth_callback');
        $new_token = $this->data_store->newRequestToken($consumer, $callback);
        
        return $new_token;
    }
public function fetchRequestToken(&$request)
    {
        $this->getVersion($request);
        
        $consumer = $this->getConsumer($request);
        
        // no token required for the initial token request
        $token = null;
        
        $this->checkSignature($request, $consumer, $token);
        
        // Rev A change
        $callback = $request->getParameter('oauth_callback');
        $new_token = $this->data_store->newRequestToken($consumer, $callback);
        
        return $new_token;
    }
public function fetchRequestToken ( & $ request ) { $ this -> getVersion ( $ request ) ; $ consumer = $ this -> getConsumer ( $ request ) ; // no token required for the initial token request $ token = null ; $ this -> checkSignature ( $ request , $ consumer , $ token ) ; // Rev A change $ callback = $ request -> getParameter ( 'oauth_callback' ) ; $ new_token = $ this -> data_store -> newRequestToken ( $ consumer , $ callback ) ; return $ new_token ; }
Process a request_token request

@param OAuthRequest $request

@return mixed Returns the request token on success.
Process a request_token request