Example #1
0
 /**
  * Initiate OAuth handshake and redirect user to OAuth server to authorize
  * the app.
  */
 protected function handleInitiate()
 {
     list($next, $token) = $this->oauth->initiate();
     $_SESSION[self::REQEST_KEY] = "{$token->key}:{$token->secret}";
     $this->redirect($next);
 }