Skip to content

Instantly share code, notes, and snippets.

@tejima
Created Oct 2, 2010
Embed
What would you like to do?
$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