public function OAuthStoreSQL::deleteConsumerRequestToken in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStoreSQL.php \OAuthStoreSQL::deleteConsumerRequestToken()
- 7.2 lib/oauth-php/library/store/OAuthStoreSQL.php \OAuthStoreSQL::deleteConsumerRequestToken()
- 7.3 lib/oauth-php/library/store/OAuthStoreSQL.php \OAuthStoreSQL::deleteConsumerRequestToken()
- 7.4 lib/oauth-php/library/store/OAuthStoreSQL.php \OAuthStoreSQL::deleteConsumerRequestToken()
- 7.5 lib/oauth-php/library/store/OAuthStoreSQL.php \OAuthStoreSQL::deleteConsumerRequestToken()
* Delete a consumer token. The token must be a request or authorized token. * *
Parameters
string token:
Overrides OAuthStoreAbstract::deleteConsumerRequestToken
File
- lib/
oauth-php/ library/ store/ OAuthStoreSQL.php, line 1281
Class
Code
public function deleteConsumerRequestToken($token) {
$this
->query('
DELETE FROM oauth_server_token
WHERE ost_token = \'%s\'
AND ost_token_type = \'request\'
', $token);
}