| Server IP : 193.239.44.106 / Your IP : 216.73.216.199 Web Server : Apache System : Linux web5 6.18.41-1 #1 SMP PREEMPT_DYNAMIC Fri Jul 31 10:41:42 CEST 2026 x86_64 User : ( 10117) PHP Version : 8.2.32 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/virtualki/259324/wp-content/plugins/updraftplus/vendor/eher/oauth/src/Eher/OAuth/ |
Upload File : |
<?php
namespace Eher\OAuth;
class Token {
// access tokens and request tokens
public $key;
public $secret;
/**
* key = the token
* secret = the token secret
*/
function __construct($key, $secret) {
$this->key = $key;
$this->secret = $secret;
}
/**
* generates the basic string serialization of a token that a server
* would respond to request_token and access_token calls with
*/
function to_string() {
return "oauth_token=" .
Util::urlencode_rfc3986($this->key) .
"&oauth_token_secret=" .
Util::urlencode_rfc3986($this->secret);
}
function __toString() {
return $this->to_string();
}
}