function OAuthToken::to_string in OAuth 1.0 6
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthToken::to_string()
- 7.3 lib/OAuth.php \OAuthToken::to_string()
generates the basic string serialization of a token that a server would respond to request_token and access_token calls with
1 call to OAuthToken::to_string()
File
- ./
OAuth.php, line 39
Class
Code
function to_string() {
/*{{{*/
return "oauth_token=" . OAuthUtil::urlencodeRFC3986($this->key) . "&oauth_token_secret=" . OAuthUtil::urlencodeRFC3986($this->secret);
}