3 namespace Friendica\Security\OAuth1;
7 // access tokens and request tokens
17 * secret = the token secret
22 function __construct($key, $secret)
25 $this->secret = $secret;
29 * generates the basic string serialization of a token that a server
30 * would respond to request_token and access_token calls with
34 return "oauth_token=" .
35 OAuthUtil::urlencode_rfc3986($this->key) .
36 "&oauth_token_secret=" .
37 OAuthUtil::urlencode_rfc3986($this->secret);
42 return $this->to_string();