Revokes a token.
public static revokeToken ( string $token, string $revoke_all = false ) : response | ||
$token | string | A token to be revoked |
$revoke_all | string | |
Результат | response | object |
function testRevokeToken() { $this->assertObjectHasAttribute("aux_token", $this->token_response); \YandexMoney\API::revokeToken($this->token_response->aux_token); }