public function OAuthStorePostgreSQL::deleteConsumerRequestToken in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::deleteConsumerRequestToken()
- 7.3 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::deleteConsumerRequestToken()
- 7.4 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::deleteConsumerRequestToken()
- 7.5 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::deleteConsumerRequestToken()
- 7.6 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::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/ OAuthStorePostgreSQL.php, line 1282
Class
Code
public function deleteConsumerRequestToken($token) {
$this
->query('
DELETE FROM oauth_server_token
WHERE ost_token = \'%s\'
AND ost_token_type = \'request\'
', $token);
}