Example #1
0
 /**
  * Process request for temporary (initiative) token
  */
 public function initiateToken()
 {
     try {
         $this->_processRequest(self::REQUEST_INITIATE);
         $response = $this->_token->toString() . '&oauth_callback_confirmed=true';
     } catch (Exception $e) {
         $response = $this->reportProblem($e);
     }
     $this->_getResponse()->setBody($response);
 }