Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tejima
Created October 2, 2010 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tejima/607712 to your computer and use it in GitHub Desktop.
Save tejima/607712 to your computer and use it in GitHub Desktop.
$this->tokenRecord = $this->getTokenTable()->findByKeyString($token->key);
if ($this->tokenRecord)
{
//$this->tokenRecord->setCallbackUrl($request->getParameter('oauth_callback', 'oob'));
$this->tokenRecord->setCallbackUrl($authRequest->get_parameter('oauth_callback'));
$this->tokenRecord->setIsActive(false);
$this->tokenRecord->save();
}
@tejima
Copy link
Author

tejima commented Oct 2, 2010

$request->getParameter では oauthのパラメータは受けられない。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment